diff options
Diffstat (limited to 'comm/calendar/base/content/dialogs/publishDialog.xhtml')
-rw-r--r-- | comm/calendar/base/content/dialogs/publishDialog.xhtml | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/comm/calendar/base/content/dialogs/publishDialog.xhtml b/comm/calendar/base/content/dialogs/publishDialog.xhtml new file mode 100644 index 0000000000..ec6ceef7d4 --- /dev/null +++ b/comm/calendar/base/content/dialogs/publishDialog.xhtml @@ -0,0 +1,51 @@ +<?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 type="text/css" href="chrome://messenger/skin/messenger.css"?> +<?xml-stylesheet type="text/css" href="chrome://messenger/skin/colors.css"?> +<?xml-stylesheet type="text/css" href="chrome://messenger/skin/themeableDialog.css"?> +<?xml-stylesheet type="text/css" href="chrome://calendar/skin/shared/publishDialog.css"?> + +<!DOCTYPE html [ <!ENTITY % dtd1 SYSTEM "chrome://calendar/locale/global.dtd"> %dtd1; +<!ENTITY % dtd2 SYSTEM "chrome://calendar/locale/calendar.dtd"> +%dtd2; ]> +<html + id="calendar-publishwindow" + 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" + windowtype="Calendar:PublishDialog" + persist="screenX screenY" + lightweightthemes="true" + scrolling="false" +> + <head> + <title>&calendar.publish.dialog.title;</title> + <link rel="localization" href="branding/brand.ftl" /> + <script defer="defer" src="chrome://messenger/content/dialogShadowDom.js"></script> + <script defer="defer" src="chrome://calendar/content/publishDialog.js"></script> + </head> + <html:body xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> + <dialog + buttons="accept,cancel" + buttonlabelaccept="&calendar.publish.publish.button;" + buttonlabelaccept2="&calendar.publish.close.button;" + > + <html:div> + <html:label for="publish-remotePath-textbox">&calendar.publish.url.label;</html:label> + <html:input + id="publish-remotePath-textbox" + type="url" + pattern="(https?|webcals?)://.*" + size="64" + required="required" + placeholder="https://www.example.com/webdav/calendar.ics" + oninput="checkURLField()" + /> + </html:div> + <html:progress id="publish-progressmeter" value="0" max="100"></html:progress> + </dialog> + </html:body> +</html> |