Files
tubestation/security/manager/pki/resources/content/exceptionDialog.xhtml
Emilio Cobos Álvarez f088656bc3 Bug 1965779 - Remove GTK iconSize / iconState from icon URI. r=stransky,settings-reviewers
Icon state is now unused (and wasn't used anyhow). Icon sizes are
hardcoded in GTK as per: https://docs.gtk.org/gtk3/enum.IconSize.html

So we can migrate the few usages left to the actual sizes, and remove
the supporting code.

Differential Revision: https://phabricator.services.mozilla.com/D248866
2025-05-12 19:10:42 +00:00

90 lines
2.9 KiB
HTML

<?xml version="1.0"?>
<!-- This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
<?csp default-src chrome:; img-src chrome: moz-icon:; ?>
<!DOCTYPE window>
<window windowtype="mozilla:exceptiondialog"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns:html="http://www.w3.org/1999/xhtml"
data-l10n-id="exception-mgr">
<dialog id="exceptiondialog"
buttonidextra1="exception-mgr-extra-button"
buttons="cancel,extra1,extra2"
defaultButton="extra2">
<linkset>
<html:link rel="stylesheet" href="chrome://global/skin/global.css" />
<html:link
rel="stylesheet"
href="chrome://pippki/content/exceptionDialog.css"
/>
<html:link rel="localization" href="branding/brand.ftl"/>
<html:link rel="localization" href="security/certificates/certManager.ftl"/>
</linkset>
<script src="chrome://global/content/globalOverlay.js"/>
<script src="chrome://global/content/editMenuOverlay.js"/>
<script src="chrome://pippki/content/exceptionDialog.js"/>
<hbox>
<vbox>
#ifdef MOZ_WIDGET_GTK
<image src="moz-icon://stock/gtk-dialog-warning?size=48"/>
#else
<image src="chrome://global/skin/icons/warning-large.png"/>
#endif
<spacer flex="1"/>
</vbox>
<vbox flex="1">
<!-- Note that because of the styling, there must be no whitespace within
the description tags -->
<description id="warningText"/>
<description id="warningSupplemental"
data-l10n-id="exception-mgr-supplemental-warning"/>
</vbox>
</hbox>
<hbox align="center">
<label control="locationTextBox"
id="certLocationLabel"
data-l10n-id="exception-mgr-cert-location-url"/>
<html:input id="locationTextBox"
value="https://"
class="uri-element"/>
<button id="checkCertButton"
disabled="true"
dlgtype="extra2"
data-l10n-id="exception-mgr-cert-location-download"/>
</hbox>
<hbox align="center">
<description id="headerDescription"
flex="1"/>
<button id="viewCertButton"
data-l10n-id="exception-mgr-cert-status-view-cert"
disabled="true"/>
</hbox>
<description id="statusDescription"
class="description"/>
<description id="statusLongDescription"
class="longDescription"/>
<description id="status2Description"
class="description"/>
<description id="status2LongDescription"
class="longDescription"/>
<description id="status3Description"
class="description"/>
<description id="status3LongDescription"
class="longDescription"/>
<checkbox id="permanent"
disabled="true"
data-l10n-id="exception-mgr-permanent"/>
</dialog>
</window>