no bug - Import translations from android-l10n r=release a=l10n CLOSED TREE
[gecko.git] / security / manager / pki / resources / content / certManager.xhtml
blob194509bdd69180e424c1cdca22773693b31e8c6d
1 <?xml version="1.0"?>
2 <!-- This Source Code Form is subject to the terms of the Mozilla Public
3 - License, v. 2.0. If a copy of the MPL was not distributed with this
4 - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
6 <!DOCTYPE window>
8 <window
9 windowtype="mozilla:certmanager"
10 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
11 xmlns:html="http://www.w3.org/1999/xhtml"
12 data-l10n-id="certmgr-title"
13 onload="LoadCerts();"
14 persist="screenX screenY width height"
16 <dialog id="certmanager" buttons="accept">
17 <linkset>
18 <html:link rel="stylesheet" href="chrome://global/skin/global.css" />
19 <html:link
20 rel="stylesheet"
21 href="chrome://pippki/content/certManager.css"
24 <html:link
25 rel="localization"
26 href="security/certificates/certManager.ftl"
28 </linkset>
30 <script src="chrome://pippki/content/pippki.js" />
31 <script src="chrome://pippki/content/certManager.js" />
33 <tabbox id="certmanagertabs" flex="1" persist="selectedIndex">
34 <tabs id="certMgrTabbox">
35 <tab id="mine_tab" data-l10n-id="certmgr-tab-mine" />
36 <tab id="remembered_tab" data-l10n-id="certmgr-tab-remembered" />
37 <tab id="others_tab" data-l10n-id="certmgr-tab-people" />
38 <tab id="websites_tab" data-l10n-id="certmgr-tab-servers" />
39 <tab id="ca_tab" data-l10n-id="certmgr-tab-ca" selected="true" />
40 </tabs>
41 <tabpanels flex="1">
42 <vbox id="myCerts" flex="1">
43 <description data-l10n-id="certmgr-mine"></description>
44 <separator class="thin" />
45 <tree
46 id="user-tree"
47 flex="1"
48 enableColumnDrag="true"
49 onselect="mine_enableButtons()"
51 <treecols>
52 <!--
53 The below code may suggest that 'ordinal' is still a supported XUL
54 XUL attribute. It is not. This is a crutch so that we can
55 continue persisting the CSS order property,
56 which is the appropriate replacement for the ordinal attribute
57 but cannot yet be easily persisted. The code that synchronizes
58 the attribute with the CSS lives in
59 toolkit/content/widget/tree.js and is specific to tree elements.
60 -->
61 <treecol
62 id="certcol"
63 data-l10n-id="certmgr-cert-name"
64 primary="true"
65 persist="hidden width ordinal"
67 <splitter class="tree-splitter" />
68 <treecol
69 id="tokencol"
70 data-l10n-id="certmgr-token-name"
71 persist="hidden width ordinal"
73 <splitter class="tree-splitter" />
74 <treecol
75 id="serialnumcol"
76 data-l10n-id="certmgr-serial"
77 persist="hidden width ordinal"
79 <splitter class="tree-splitter" />
80 <treecol
81 id="issuedcol"
82 data-l10n-id="certmgr-begins-label"
83 hidden="true"
84 persist="hidden width ordinal"
86 <splitter class="tree-splitter" />
87 <treecol
88 id="expiredcol"
89 data-l10n-id="certmgr-expires-label"
90 persist="hidden width ordinal"
92 </treecols>
93 <treechildren ondblclick="viewCerts();" />
94 </tree>
96 <separator class="thin" />
98 <hbox>
99 <button
100 id="mine_viewButton"
101 class="normal"
102 data-l10n-id="certmgr-view"
103 disabled="true"
104 oncommand="viewCerts();"
106 <button
107 id="mine_backupButton"
108 class="normal"
109 data-l10n-id="certmgr-backup"
110 disabled="true"
111 oncommand="backupCerts();"
113 <button
114 id="mine_backupAllButton"
115 class="normal"
116 data-l10n-id="certmgr-backup-all"
117 oncommand="backupAllCerts();"
119 <button
120 id="mine_restoreButton"
121 class="normal"
122 data-l10n-id="certmgr-restore"
123 oncommand="restoreCerts();"
125 <button
126 id="mine_deleteButton"
127 class="normal"
128 data-l10n-id="certmgr-delete"
129 disabled="true"
130 oncommand="deleteCerts();"
132 </hbox>
133 </vbox>
134 <vbox id="rememberedCerts" flex="1">
135 <description data-l10n-id="certmgr-remembered"></description>
136 <separator class="thin" />
138 <listheader equalsize="always">
139 <treecol
140 id="hostcol"
141 data-l10n-id="certmgr-cert-host"
142 primary="true"
143 persist="hidden width ordinal"
145 <treecol
146 id="certcol"
147 data-l10n-id="certmgr-cert-name"
148 primary="true"
149 persist="hidden width ordinal"
151 <treecol
152 id="serialnumcol"
153 data-l10n-id="certmgr-serial"
154 persist="hidden width ordinal"
156 </listheader>
157 <richlistbox id="rememberedList" flex="1" selected="false" />
159 <separator class="thin" />
161 <hbox>
162 <button
163 id="remembered_deleteButton"
164 class="normal"
165 data-l10n-id="certmgr-delete"
166 oncommand="rememberedDecisionsRichList.deleteSelectedRichListItem()"
169 <button
170 id="remembered_viewButton"
171 class="normal"
172 data-l10n-id="certmgr-view"
173 oncommand="rememberedDecisionsRichList.viewSelectedRichListItem()"
175 </hbox>
176 </vbox>
177 <vbox id="othersCerts" flex="1">
178 <description data-l10n-id="certmgr-people"></description>
179 <separator class="thin" />
180 <tree id="email-tree" flex="1" onselect="email_enableButtons()">
181 <treecols>
182 <treecol
183 id="certcol"
184 data-l10n-id="certmgr-cert-name"
185 primary="true"
187 <splitter class="tree-splitter" />
188 <treecol id="emailcol" data-l10n-id="certmgr-email" />
189 <splitter class="tree-splitter" />
190 <treecol id="expiredcol" data-l10n-id="certmgr-expires-label" />
191 </treecols>
192 <treechildren flex="1" ondblclick="viewCerts();" />
193 </tree>
195 <separator class="thin" />
197 <hbox>
198 <button
199 id="email_viewButton"
200 data-l10n-id="certmgr-view"
201 disabled="true"
202 oncommand="viewCerts();"
204 <button
205 id="email_addButton"
206 data-l10n-id="certmgr-restore"
207 oncommand="addEmailCert();"
209 <button
210 id="email_exportButton"
211 data-l10n-id="certmgr-export"
212 disabled="true"
213 oncommand="exportCerts();"
215 <button
216 id="email_deleteButton"
217 data-l10n-id="certmgr-delete"
218 disabled="true"
219 oncommand="deleteCerts();"
221 </hbox>
222 </vbox>
224 <vbox id="webCerts" flex="1">
225 <description data-l10n-id="certmgr-server"></description>
226 <separator class="thin" />
228 <listheader equalsize="always">
229 <treecol
230 id="sitecol"
231 data-l10n-id="certmgr-cert-server"
232 primary="true"
234 <treecol
235 id="sha256col"
236 data-l10n-id="certmgr-fingerprint-sha-256"
238 </listheader>
239 <richlistbox
240 ondblclick="serverRichList.viewSelectedRichListItem();"
241 id="serverList"
242 flex="1"
243 selected="false"
246 <separator class="thin" />
248 <hbox>
249 <button
250 id="websites_deleteButton"
251 data-l10n-id="certmgr-delete"
252 oncommand="serverRichList.deleteSelectedRichListItem();"
254 <button
255 id="websites_exceptionButton"
256 data-l10n-id="certmgr-add-exception"
257 oncommand="serverRichList.addException();"
259 </hbox>
260 </vbox>
261 <vbox id="CACerts" flex="1">
262 <description data-l10n-id="certmgr-ca"></description>
263 <separator class="thin" />
264 <tree
265 id="ca-tree"
266 flex="1"
267 enableColumnDrag="true"
268 onselect="ca_enableButtons()"
270 <treecols>
271 <!--
272 The below code may suggest that 'ordinal' is still a supported XUL
273 XUL attribute. It is not. This is a crutch so that we can
274 continue persisting the CSS order property,
275 which is the appropriate replacement for the ordinal attribute
276 but cannot yet be easily persisted. The code that synchronizes
277 the attribute with the CSS lives in
278 toolkit/content/widget/tree.js and is specific to tree elements.
280 <treecol
281 id="certcol"
282 data-l10n-id="certmgr-cert-name"
283 primary="true"
284 persist="hidden width ordinal"
286 <splitter class="tree-splitter" />
287 <treecol
288 id="tokencol"
289 data-l10n-id="certmgr-token-name"
290 persist="hidden width ordinal"
292 </treecols>
293 <treechildren ondblclick="viewCerts();" />
294 </tree>
296 <separator class="thin" />
298 <hbox>
299 <button
300 id="ca_viewButton"
301 data-l10n-id="certmgr-view"
302 disabled="true"
303 oncommand="viewCerts();"
305 <button
306 id="ca_editButton"
307 data-l10n-id="certmgr-edit"
308 disabled="true"
309 oncommand="editCerts();"
311 <button
312 id="ca_addButton"
313 data-l10n-id="certmgr-restore"
314 oncommand="addCACerts();"
316 <button
317 id="ca_exportButton"
318 data-l10n-id="certmgr-export"
319 disabled="true"
320 oncommand="exportCerts();"
322 <button
323 id="ca_deleteButton"
324 data-l10n-id="certmgr-delete-builtin"
325 disabled="true"
326 oncommand="deleteCerts();"
328 </hbox>
329 </vbox>
330 </tabpanels>
331 </tabbox>
332 </dialog>
333 </window>