blob: 6e90b57b1d25b6d21bdef034e7a71c3e85287a4b (
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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
|
<?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/global.css" type="text/css"?>
<?xml-stylesheet href="chrome://pippki/content/certManager.css" type="text/css"?>
<!DOCTYPE window>
<window windowtype="mozilla:certmanager"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns:html="http://www.w3.org/1999/xhtml"
data-l10n-id="certmgr-title"
onload="LoadCerts();"
persist="screenX screenY width height">
<dialog id="certmanager"
buttons="accept">
<linkset>
<html:link rel="localization" href="security/certificates/certManager.ftl"/>
</linkset>
<script src="chrome://pippki/content/pippki.js"/>
<script src="chrome://pippki/content/certManager.js"/>
<tabbox id="certmanagertabs" flex="1" persist="selectedIndex">
<tabs id="certMgrTabbox">
<tab id="mine_tab" data-l10n-id="certmgr-tab-mine"/>
<tab id="remembered_tab" data-l10n-id="certmgr-tab-remembered"/>
<tab id="others_tab" data-l10n-id="certmgr-tab-people"/>
<tab id="websites_tab" data-l10n-id="certmgr-tab-servers"/>
<tab id="ca_tab" data-l10n-id="certmgr-tab-ca" selected="true"/>
</tabs>
<tabpanels flex="1">
<vbox id="myCerts" flex="1">
<description data-l10n-id="certmgr-mine"></description>
<separator class="thin"/>
<tree id="user-tree" flex="1" enableColumnDrag="true"
onselect="mine_enableButtons()">
<treecols>
<!--
The below code may suggest that 'ordinal' is still a supported XUL
XUL attribute. It is not. This is a crutch so that we can
continue persisting the CSS -moz-box-ordinal-group attribute,
which is the appropriate replacement for the ordinal attribute
but cannot yet be easily persisted. The code that synchronizes
the attribute with the CSS lives in
toolkit/content/widget/tree.js and is specific to tree elements.
-->
<treecol id="certcol" data-l10n-id="certmgr-cert-name" primary="true"
persist="hidden width ordinal" flex="1"/>
<splitter class="tree-splitter"/>
<treecol id="tokencol" data-l10n-id="certmgr-token-name"
persist="hidden width ordinal" flex="1"/>
<splitter class="tree-splitter"/>
<treecol id="serialnumcol" data-l10n-id="certmgr-serial"
persist="hidden width ordinal" flex="1"/>
<splitter class="tree-splitter"/>
<treecol id="issuedcol" data-l10n-id="certmgr-begins-label"
hidden="true" persist="hidden width ordinal" flex="1"/>
<splitter class="tree-splitter"/>
<treecol id="expiredcol" data-l10n-id="certmgr-expires-label"
persist="hidden width ordinal" flex="1"/>
</treecols>
<treechildren ondblclick="viewCerts();"/>
</tree>
<separator class="thin"/>
<hbox>
<button id="mine_viewButton" class="normal"
data-l10n-id="certmgr-view"
disabled="true" oncommand="viewCerts();"/>
<button id="mine_backupButton" class="normal"
data-l10n-id="certmgr-backup"
disabled="true" oncommand="backupCerts();"/>
<button id="mine_backupAllButton" class="normal"
data-l10n-id="certmgr-backup-all"
oncommand="backupAllCerts();"/>
<button id="mine_restoreButton" class="normal"
data-l10n-id="certmgr-restore"
oncommand="restoreCerts();"/>
<button id="mine_deleteButton" class="normal"
data-l10n-id="certmgr-delete"
disabled="true" oncommand="deleteCerts();"/>
</hbox>
</vbox>
<vbox id="rememberedCerts" flex="1">
<description data-l10n-id="certmgr-remembered"></description>
<separator class="thin"/>
<listheader equalsize="always">
<treecol id="hostcol" data-l10n-id="certmgr-cert-host" primary="true"
persist="hidden width ordinal" flex="1"/>
<treecol id="certcol" data-l10n-id="certmgr-cert-name" primary="true"
persist="hidden width ordinal" flex="1"/>
<treecol id="serialnumcol" data-l10n-id="certmgr-serial"
persist="hidden width ordinal" flex="1"/>
</listheader>
<richlistbox id="rememberedList" flex="1" selected="false"/>
<separator class="thin"/>
<hbox>
<button id="remembered_deleteButton" class="normal"
data-l10n-id="certmgr-delete"
oncommand="rememberedDecisionsRichList.deleteSelectedRichListItem()"/>
<button id="remembered_viewButton" class="normal"
data-l10n-id="certmgr-view"
oncommand="rememberedDecisionsRichList.viewSelectedRichListItem()"/>
</hbox>
</vbox>
<vbox id="othersCerts" flex="1">
<description data-l10n-id="certmgr-people"></description>
<separator class="thin"/>
<tree id="email-tree" flex="1"
onselect="email_enableButtons()">
<treecols>
<treecol id="certcol" data-l10n-id="certmgr-cert-name" primary="true"
flex="1"/>
<splitter class="tree-splitter"/>
<treecol id="emailcol" data-l10n-id="certmgr-email"
flex="1"/>
<splitter class="tree-splitter"/>
<treecol id="expiredcol" data-l10n-id="certmgr-expires-label"
flex="1"/>
</treecols>
<treechildren flex="1" ondblclick="viewCerts();"/>
</tree>
<separator class="thin"/>
<hbox>
<button id="email_viewButton"
data-l10n-id="certmgr-view"
disabled="true" oncommand="viewCerts();"/>
<button id="email_addButton"
data-l10n-id="certmgr-restore"
oncommand="addEmailCert();"/>
<button id="email_exportButton"
data-l10n-id="certmgr-export"
disabled="true" oncommand="exportCerts();"/>
<button id="email_deleteButton"
data-l10n-id="certmgr-delete"
disabled="true" oncommand="deleteCerts();"/>
</hbox>
</vbox>
<vbox id="webCerts" flex="1">
<description data-l10n-id="certmgr-server"></description>
<separator class="thin"/>
<listheader equalsize="always">
<treecol id="sitecol" data-l10n-id="certmgr-cert-server" primary="true" flex="1"/>
<treecol id="certcol" data-l10n-id="certmgr-cert-name" flex="1"/>
<treecol id="lifetimecol" data-l10n-id="certmgr-override-lifetime" flex="1"/>
</listheader>
<richlistbox ondblclick="serverRichList.viewSelectedRichListItem();" id="serverList" flex="1" selected="false"/>
<separator class="thin"/>
<hbox>
<button id="websites_viewButton"
data-l10n-id="certmgr-view" oncommand="serverRichList.viewSelectedRichListItem();"/>
<button id="websites_exportButton"
data-l10n-id="certmgr-export" oncommand="serverRichList.exportSelectedRichListItem();"/>
<button id="websites_deleteButton"
data-l10n-id="certmgr-delete" oncommand="serverRichList.deleteSelectedRichListItem();"/>
<button id="websites_exceptionButton"
data-l10n-id="certmgr-add-exception"
oncommand="serverRichList.addException();"/>
</hbox>
</vbox>
<vbox id="CACerts" flex="1">
<description data-l10n-id="certmgr-ca"></description>
<separator class="thin"/>
<tree id="ca-tree" flex="1" enableColumnDrag="true"
onselect="ca_enableButtons()">
<treecols>
<!--
The below code may suggest that 'ordinal' is still a supported XUL
XUL attribute. It is not. This is a crutch so that we can
continue persisting the CSS -moz-box-ordinal-group attribute,
which is the appropriate replacement for the ordinal attribute
but cannot yet be easily persisted. The code that synchronizes
the attribute with the CSS lives in
toolkit/content/widget/tree.js and is specific to tree elements.
-->
<treecol id="certcol" data-l10n-id="certmgr-cert-name" primary="true"
persist="hidden width ordinal" flex="1"/>
<splitter class="tree-splitter"/>
<treecol id="tokencol" data-l10n-id="certmgr-token-name"
persist="hidden width ordinal" flex="1"/>
</treecols>
<treechildren ondblclick="viewCerts();"/>
</tree>
<separator class="thin"/>
<hbox>
<button id="ca_viewButton"
data-l10n-id="certmgr-view"
disabled="true" oncommand="viewCerts();"/>
<button id="ca_editButton"
data-l10n-id="certmgr-edit"
disabled="true" oncommand="editCerts();"/>
<button id="ca_addButton"
data-l10n-id="certmgr-restore"
oncommand="addCACerts();"/>
<button id="ca_exportButton"
data-l10n-id="certmgr-export"
disabled="true" oncommand="exportCerts();"/>
<button id="ca_deleteButton"
data-l10n-id="certmgr-delete-builtin"
disabled="true" oncommand="deleteCerts();"/>
</hbox>
</vbox>
</tabpanels>
</tabbox>
</dialog>
</window>
|