1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/security/manager/pki/resources/content/exceptionDialog.xul Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,91 @@ 1.4 +<?xml version="1.0"?> 1.5 +<!-- This Source Code Form is subject to the terms of the Mozilla Public 1.6 + - License, v. 2.0. If a copy of the MPL was not distributed with this 1.7 + - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> 1.8 + 1.9 +<?xml-stylesheet href="chrome://global/skin/" type="text/css"?> 1.10 + 1.11 +<!DOCTYPE dialog SYSTEM "chrome://pippki/locale/certManager.dtd"> 1.12 + 1.13 +<dialog id="exceptiondialog" 1.14 + windowtype="mozilla:exceptiondialog" 1.15 + xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" 1.16 + title="&exceptionMgr.title;" 1.17 + buttons="cancel,extra1,extra2" 1.18 + buttonlabelextra1="&exceptionMgr.exceptionButton.label;" 1.19 + buttonaccesskeyextra1="&exceptionMgr.exceptionButton.accesskey;" 1.20 + style="width: 500px; height: 480px;" 1.21 + onload="initExceptionDialog();" 1.22 + ondialogextra1="addException();" 1.23 + ondialogextra2="checkCert();" 1.24 + persist="screenX screenY width height" 1.25 + defaultButton="extra2"> 1.26 + 1.27 + <stringbundleset id="stringbundleset"> 1.28 + <stringbundle id="pippki_bundle" src="chrome://pippki/locale/pippki.properties"/> 1.29 + <stringbundle id="brand_bundle" src="chrome://branding/locale/brand.properties"/> 1.30 + </stringbundleset> 1.31 + 1.32 + <script type="application/javascript" src="chrome://pippki/content/pippki.js"/> 1.33 + <script type="application/javascript" src="chrome://pippki/content/exceptionDialog.js"/> 1.34 + 1.35 + <hbox> 1.36 + <vbox> 1.37 +#ifdef MOZ_WIDGET_GTK 1.38 + <image src="moz-icon://stock/gtk-dialog-warning?size=dialog"/> 1.39 +#else 1.40 + <image src="chrome://global/skin/icons/warning-large.png"/> 1.41 +#endif 1.42 + <spacer flex="1"/> 1.43 + </vbox> 1.44 + <vbox flex="1"> 1.45 + <!-- Note that because of the styling, there must be no whitespace within 1.46 + the description tags --> 1.47 + <description id="warningText" 1.48 + style="white-space: pre-wrap"/> 1.49 + <description id="warningSupplemental" 1.50 + style="font-weight: bold; white-space: pre-wrap;" 1.51 + >&exceptionMgr.supplementalWarning;</description> 1.52 + </vbox> 1.53 + </hbox> 1.54 + 1.55 + <groupbox id="locationGroupBox"> 1.56 + <caption label="&exceptionMgr.certlocation.caption2;"/> 1.57 + <hbox align="center"> 1.58 + <label control="locationTextBox" value="&exceptionMgr.certlocation.url;"/> 1.59 + <textbox id="locationTextBox" flex="1" oninput="handleTextChange();" 1.60 + value="https://" class="uri-element"/> 1.61 + <button id="checkCertButton" disabled="true" dlgtype="extra2" 1.62 + accesskey="&exceptionMgr.certlocation.accesskey;" 1.63 + label="&exceptionMgr.certlocation.download;"/> 1.64 + </hbox> 1.65 + </groupbox> 1.66 + 1.67 + <groupbox id="certStatusGroupBox" flex="1"> 1.68 + <caption label="&exceptionMgr.certstatus.caption;"/> 1.69 + <vbox style="overflow: auto;" flex="1"> 1.70 + <hbox> 1.71 + <description id="headerDescription" style="white-space: pre-wrap;" 1.72 + flex="1"/> 1.73 + <vbox> 1.74 + <button id="viewCertButton" label="&exceptionMgr.certstatus.viewCert;" 1.75 + accesskey="&exceptionMgr.certstatus.accesskey;" 1.76 + disabled="true" oncommand="viewCertButtonClick();"/> 1.77 + </vbox> 1.78 + </hbox> 1.79 + <description id="statusDescription" 1.80 + style="font-weight: bold; padding-bottom: 1em;"/> 1.81 + <description id="statusLongDescription" style="white-space: pre-wrap;"/> 1.82 + <description id="status2Description" 1.83 + style="font-weight: bold; padding-bottom: 1em;"/> 1.84 + <description id="status2LongDescription" style="white-space: pre-wrap;"/> 1.85 + <description id="status3Description" 1.86 + style="font-weight: bold; padding-bottom: 1em;"/> 1.87 + <description id="status3LongDescription" style="white-space: pre-wrap;"/> 1.88 + <spacer flex="1"/> 1.89 + </vbox> 1.90 + <checkbox id="permanent" disabled="true" 1.91 + label="&exceptionMgr.permanent.label;" 1.92 + accesskey="&exceptionMgr.permanent.accesskey;"/> 1.93 + </groupbox> 1.94 +</dialog>