blob: 510b3fef84431500ff0214319866cb3f0d06988c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
|
<?xml version="1.0"?>
<!-- This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
<?xml-stylesheet href="chrome://global/skin/checkbox.css" type="text/css"?>
<!DOCTYPE html [
<!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd">
%brandDTD;
<!ENTITY % removalDTD SYSTEM "chrome://messenger/locale/removeAccount.dtd">
%removalDTD;
]>
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns:html="http://www.w3.org/1999/xhtml"
width="600"
scrolling="false">
<head>
<title>&dialogTitle;</title>
<link rel="localization" href="branding/brand.ftl" />
<script defer="defer" src="chrome://messenger/content/removeAccount.js"></script>
</head>
<html:body xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<dialog id="removeAccountDialog"
buttons="accept,disclosure,cancel"
buttonlabelaccept="&removeButton.label;"
buttonaccesskeyaccept="&removeButton.accesskey;"
defaultButton="cancel"
style="width:100vw; height:100vh;">
<stringbundle id="bundle_removeAccount"
src="chrome://messenger/locale/removeAccount.properties"/>
<vbox id="removeAccountSection">
<label id="accountName"></label>
<separator class="thin"/>
<checkbox id="removeAccount"
label="&removeAccount.label;"
checked="true"
disabled="true"
accesskey="&removeAccount.accesskey;"
oncommand="enableRemove();"/>
<vbox class="indent" collapsed="true">
<description>
&removeAccount.desc;
</description>
</vbox>
<vbox id="removeDataPossibility" collapsed="false">
<checkbox id="removeData"
label="&removeData.label;"
labelChat="&removeDataChat.label;"
accesskey="&removeData.accesskey;"
accesskeyChat="&removeDataChat.accesskey;"
oncommand="enableRemove();"/>
<vbox id="removeAccountBox" class="indent" collapsed="true">
<description id="localAccount" collapsed="true">
&removeDataLocalAccount.desc;
</description>
<description id="serverAccount" collapsed="true">
&removeDataServerAccount.desc;
</description>
<description id="chatAccount" collapsed="true">
&removeDataChatAccount.desc;
</description>
<hbox align="center">
<button id="showLocalDirectory"
label="&showData.label;"
accesskey="&showData.accesskey;"
oncommand="openLocalDirectory();"/>
<label id="localDirectory" collapsed="true"/>
</hbox>
</vbox>
</vbox>
</vbox>
<vbox id="confirmationSection" align="center" pack="center" flex="1" hidden="true">
<vbox id="progress" align="center">
<label>&progressPending;</label>
<html:progress max="100"/>
</vbox>
<label id="success" hidden="true">&progressSuccess;</label>
<label id="failure" hidden="true">&progressFailure;</label>
</vbox>
</dialog>
</html:body>
</html>
|