1
0
Fork 0
firefox/toolkit/components/alerts/alert.xhtml
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

73 lines
2 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: resource:; img-src chrome: resource: https: ?>
<!DOCTYPE window>
<window
id="alertNotification"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
windowtype="alert:alert"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
role="alert"
pack="start"
hidechrome="true"
>
<linkset>
<xhtml:link
rel="stylesheet"
href="chrome://global/content/alerts/alert.css"
/>
<xhtml:link rel="stylesheet" href="chrome://global/skin/alert.css" />
<xhtml:link rel="localization" href="toolkit/global/alert.ftl" />
</linkset>
<script src="chrome://global/content/alerts/alert.js" />
<vbox id="alertBox">
<box id="alertTitleBox">
<label id="alertTitleLabel" class="alertTitle" crop="end" />
<vbox>
<toolbarbutton
class="close-icon"
id="alert-close"
data-l10n-id="alert-close"
/>
</vbox>
</box>
<box>
<hbox
id="alertImageBox"
class="alertImageBox"
align="center"
pack="center"
>
<image id="alertImage" />
</hbox>
<vbox id="alertTextBox" class="alertTextBox">
<label id="alertTextLabel" class="alertText" />
<spacer flex="1" />
<box id="alertFooter">
<label id="alertSourceLabel" class="alertSource" />
<button
type="menu"
id="alertSettings"
data-l10n-id="alert-settings-title"
>
<menupopup position="after_end">
<menuitem id="doNotDisturbMenuItem" />
<menuseparator />
<menuitem id="disableForOriginMenuItem" />
<menuitem id="openSettingsMenuItem" />
</menupopup>
</button>
</box>
</vbox>
</box>
</vbox>
</window>