|
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/. --> |
|
5 |
|
6 <?xml-stylesheet href="chrome://global/skin/" type="text/css"?> |
|
7 |
|
8 <!DOCTYPE dialog SYSTEM "chrome://pippki/locale/certManager.dtd"> |
|
9 |
|
10 <dialog id="exceptiondialog" |
|
11 windowtype="mozilla:exceptiondialog" |
|
12 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" |
|
13 title="&exceptionMgr.title;" |
|
14 buttons="cancel,extra1,extra2" |
|
15 buttonlabelextra1="&exceptionMgr.exceptionButton.label;" |
|
16 buttonaccesskeyextra1="&exceptionMgr.exceptionButton.accesskey;" |
|
17 style="width: 500px; height: 480px;" |
|
18 onload="initExceptionDialog();" |
|
19 ondialogextra1="addException();" |
|
20 ondialogextra2="checkCert();" |
|
21 persist="screenX screenY width height" |
|
22 defaultButton="extra2"> |
|
23 |
|
24 <stringbundleset id="stringbundleset"> |
|
25 <stringbundle id="pippki_bundle" src="chrome://pippki/locale/pippki.properties"/> |
|
26 <stringbundle id="brand_bundle" src="chrome://branding/locale/brand.properties"/> |
|
27 </stringbundleset> |
|
28 |
|
29 <script type="application/javascript" src="chrome://pippki/content/pippki.js"/> |
|
30 <script type="application/javascript" src="chrome://pippki/content/exceptionDialog.js"/> |
|
31 |
|
32 <hbox> |
|
33 <vbox> |
|
34 #ifdef MOZ_WIDGET_GTK |
|
35 <image src="moz-icon://stock/gtk-dialog-warning?size=dialog"/> |
|
36 #else |
|
37 <image src="chrome://global/skin/icons/warning-large.png"/> |
|
38 #endif |
|
39 <spacer flex="1"/> |
|
40 </vbox> |
|
41 <vbox flex="1"> |
|
42 <!-- Note that because of the styling, there must be no whitespace within |
|
43 the description tags --> |
|
44 <description id="warningText" |
|
45 style="white-space: pre-wrap"/> |
|
46 <description id="warningSupplemental" |
|
47 style="font-weight: bold; white-space: pre-wrap;" |
|
48 >&exceptionMgr.supplementalWarning;</description> |
|
49 </vbox> |
|
50 </hbox> |
|
51 |
|
52 <groupbox id="locationGroupBox"> |
|
53 <caption label="&exceptionMgr.certlocation.caption2;"/> |
|
54 <hbox align="center"> |
|
55 <label control="locationTextBox" value="&exceptionMgr.certlocation.url;"/> |
|
56 <textbox id="locationTextBox" flex="1" oninput="handleTextChange();" |
|
57 value="https://" class="uri-element"/> |
|
58 <button id="checkCertButton" disabled="true" dlgtype="extra2" |
|
59 accesskey="&exceptionMgr.certlocation.accesskey;" |
|
60 label="&exceptionMgr.certlocation.download;"/> |
|
61 </hbox> |
|
62 </groupbox> |
|
63 |
|
64 <groupbox id="certStatusGroupBox" flex="1"> |
|
65 <caption label="&exceptionMgr.certstatus.caption;"/> |
|
66 <vbox style="overflow: auto;" flex="1"> |
|
67 <hbox> |
|
68 <description id="headerDescription" style="white-space: pre-wrap;" |
|
69 flex="1"/> |
|
70 <vbox> |
|
71 <button id="viewCertButton" label="&exceptionMgr.certstatus.viewCert;" |
|
72 accesskey="&exceptionMgr.certstatus.accesskey;" |
|
73 disabled="true" oncommand="viewCertButtonClick();"/> |
|
74 </vbox> |
|
75 </hbox> |
|
76 <description id="statusDescription" |
|
77 style="font-weight: bold; padding-bottom: 1em;"/> |
|
78 <description id="statusLongDescription" style="white-space: pre-wrap;"/> |
|
79 <description id="status2Description" |
|
80 style="font-weight: bold; padding-bottom: 1em;"/> |
|
81 <description id="status2LongDescription" style="white-space: pre-wrap;"/> |
|
82 <description id="status3Description" |
|
83 style="font-weight: bold; padding-bottom: 1em;"/> |
|
84 <description id="status3LongDescription" style="white-space: pre-wrap;"/> |
|
85 <spacer flex="1"/> |
|
86 </vbox> |
|
87 <checkbox id="permanent" disabled="true" |
|
88 label="&exceptionMgr.permanent.label;" |
|
89 accesskey="&exceptionMgr.permanent.accesskey;"/> |
|
90 </groupbox> |
|
91 </dialog> |