summaryrefslogtreecommitdiffstats
path: root/comm/calendar/base/content/dialogs/calendar-error-prompt.xhtml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 17:32:43 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 17:32:43 +0000
commit6bf0a5cb5034a7e684dcc3500e841785237ce2dd (patch)
treea68f146d7fa01f0134297619fbe7e33db084e0aa /comm/calendar/base/content/dialogs/calendar-error-prompt.xhtml
parentInitial commit. (diff)
downloadthunderbird-upstream.tar.xz
thunderbird-upstream.zip
Adding upstream version 1:115.7.0.upstream/1%115.7.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'comm/calendar/base/content/dialogs/calendar-error-prompt.xhtml')
-rw-r--r--comm/calendar/base/content/dialogs/calendar-error-prompt.xhtml59
1 files changed, 59 insertions, 0 deletions
diff --git a/comm/calendar/base/content/dialogs/calendar-error-prompt.xhtml b/comm/calendar/base/content/dialogs/calendar-error-prompt.xhtml
new file mode 100644
index 0000000000..8454809bd1
--- /dev/null
+++ b/comm/calendar/base/content/dialogs/calendar-error-prompt.xhtml
@@ -0,0 +1,59 @@
+<?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/. -->
+
+<?xml-stylesheet href="chrome://messenger/skin/messenger.css" type="text/css"?>
+<?xml-stylesheet href="chrome://messenger/skin/colors.css" type="text/css"?>
+<?xml-stylesheet href="chrome://messenger/skin/themeableDialog.css" type="text/css"?>
+
+<!DOCTYPE html [ <!ENTITY % dtd1 SYSTEM "chrome://calendar/locale/global.dtd"> %dtd1;
+<!ENTITY % dtd2 SYSTEM "chrome://calendar/locale/calendar.dtd" >
+%dtd2; ]>
+<html
+ id="calendar-error-prompt"
+ xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
+ xmlns:html="http://www.w3.org/1999/xhtml"
+ lightweightthemes="true"
+ scrolling="false"
+>
+ <head>
+ <title>&calendar.error.title;</title>
+ <script defer="defer" src="chrome://messenger/content/globalOverlay.js"></script>
+ <script defer="defer" src="chrome://global/content/editMenuOverlay.js"></script>
+ <script defer="defer" src="chrome://messenger/content/dialogShadowDom.js"></script>
+ <script defer="defer" src="chrome://calendar/content/calendar-error-prompt.js"></script>
+ </head>
+ <html:body xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
+ <dialog buttons="accept" style="width: 500px">
+ <html:textarea
+ id="general-text"
+ class="plain"
+ readonly="readonly"
+ rows="3"
+ style="resize: none"
+ ></html:textarea>
+ <hbox>
+ <button id="details-button" label="&calendar.error.detail;" oncommand="toggleDetails()" />
+ <spacer flex="1" />
+ </hbox>
+ <vbox id="details-box" collapsed="true" persist="collapsed">
+ <hbox>
+ <label value="&calendar.error.code;" />
+ <label id="error-code" value="" />
+ </hbox>
+ <vbox>
+ <label value="&calendar.error.description;" control="error-description" />
+ <html:textarea
+ id="error-description"
+ class="plain"
+ readonly="readonly"
+ rows="5"
+ style="resize: none"
+ ></html:textarea>
+ </vbox>
+ </vbox>
+ </dialog>
+ </html:body>
+</html>