exceptionDialog.xhtml (3062B)
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 <?csp default-src chrome:; img-src chrome: moz-icon:; ?> 7 8 <!DOCTYPE window> 9 10 <window windowtype="mozilla:exceptiondialog" 11 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" 12 xmlns:html="http://www.w3.org/1999/xhtml" 13 data-l10n-id="exception-mgr"> 14 <dialog id="exceptiondialog" 15 buttonidextra1="exception-mgr-extra-button" 16 buttons="cancel,extra1,extra2" 17 defaultButton="extra2"> 18 19 <linkset> 20 <html:link rel="stylesheet" href="chrome://global/skin/global.css" /> 21 <html:link 22 rel="stylesheet" 23 href="chrome://pippki/content/exceptionDialog.css" 24 /> 25 26 <html:link rel="localization" href="branding/brand.ftl"/> 27 <html:link rel="localization" href="security/certificates/certManager.ftl"/> 28 </linkset> 29 30 <script src="chrome://global/content/globalOverlay.js"/> 31 <script src="chrome://global/content/editMenuOverlay.js"/> 32 33 <script src="chrome://pippki/content/exceptionDialog.js"/> 34 35 <hbox> 36 <vbox> 37 #ifdef MOZ_WIDGET_GTK 38 <html:img srcset="moz-icon://stock/dialog-warning?size=48 1x, moz-icon://stock/dialog-warning?size=48&scale=2 2x"/> 39 #else 40 <html:img src="chrome://global/skin/icons/warning-large.png"/> 41 #endif 42 <spacer flex="1"/> 43 </vbox> 44 <vbox flex="1"> 45 <!-- Note that because of the styling, there must be no whitespace within 46 the description tags --> 47 <description id="warningText"/> 48 <description id="warningSupplemental" 49 data-l10n-id="exception-mgr-supplemental-warning"/> 50 </vbox> 51 </hbox> 52 53 <hbox align="center"> 54 <label control="locationTextBox" 55 id="certLocationLabel" 56 data-l10n-id="exception-mgr-cert-location-url"/> 57 <html:input id="locationTextBox" 58 value="https://" 59 class="uri-element"/> 60 <button id="checkCertButton" 61 disabled="true" 62 dlgtype="extra2" 63 data-l10n-id="exception-mgr-cert-location-download"/> 64 </hbox> 65 66 <hbox align="center"> 67 <description id="headerDescription" 68 flex="1"/> 69 <button id="viewCertButton" 70 data-l10n-id="exception-mgr-cert-status-view-cert" 71 disabled="true"/> 72 </hbox> 73 <description id="statusDescription" 74 class="description"/> 75 <description id="statusLongDescription" 76 class="longDescription"/> 77 <description id="status2Description" 78 class="description"/> 79 <description id="status2LongDescription" 80 class="longDescription"/> 81 <description id="status3Description" 82 class="description"/> 83 <description id="status3LongDescription" 84 class="longDescription"/> 85 <checkbox id="permanent" 86 disabled="true" 87 data-l10n-id="exception-mgr-permanent"/> 88 </dialog> 89 </window>