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/global.css" type="text/css"?>
7<?xml-stylesheet href="chrome://pippki/content/exceptionDialog.css" type="text/css"?>
8
9<!DOCTYPE window>
10
11<window windowtype="mozilla:exceptiondialog"
12        xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
13        xmlns:html="http://www.w3.org/1999/xhtml"
14        data-l10n-id="exception-mgr"
15        onload="initExceptionDialog();">
16<dialog id="exceptiondialog"
17        buttonidextra1="exception-mgr-extra-button"
18        buttons="cancel,extra1,extra2"
19        defaultButton="extra2">
20
21  <linkset>
22    <html:link rel="localization" href="branding/brand.ftl"/>
23    <html:link rel="localization" href="security/certificates/certManager.ftl"/>
24  </linkset>
25
26  <script src="chrome://global/content/globalOverlay.js"/>
27  <script src="chrome://global/content/editMenuOverlay.js"/>
28
29  <script src="chrome://pippki/content/pippki.js"/>
30  <script 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      <description id="warningSupplemental"
46                   data-l10n-id="exception-mgr-supplemental-warning"/>
47    </vbox>
48  </hbox>
49
50  <hbox align="center">
51    <label control="locationTextBox"
52           id="certLocationLabel"
53           data-l10n-id="exception-mgr-cert-location-url"/>
54    <html:input id="locationTextBox"
55                oninput="handleTextChange();"
56                value="https://"
57                class="uri-element"/>
58    <button id="checkCertButton"
59            disabled="true"
60            dlgtype="extra2"
61            data-l10n-id="exception-mgr-cert-location-download"/>
62  </hbox>
63
64  <hbox align="center">
65    <description id="headerDescription"
66                 flex="1"/>
67    <button id="viewCertButton"
68            data-l10n-id="exception-mgr-cert-status-view-cert"
69            disabled="true"
70            oncommand="viewCertButtonClick();"/>
71  </hbox>
72  <description id="statusDescription"
73               class="description"/>
74  <description id="statusLongDescription"
75               class="longDescription"/>
76  <description id="status2Description"
77               class="description"/>
78  <description id="status2LongDescription"
79               class="longDescription"/>
80  <description id="status3Description"
81               class="description"/>
82  <description id="status3LongDescription"
83               class="longDescription"/>
84  <checkbox id="permanent"
85            disabled="true"
86            data-l10n-id="exception-mgr-permanent"/>
87</dialog>
88</window>
89