summaryrefslogtreecommitdiffstats
path: root/comm/calendar/base/content/dialogs/publishDialog.xhtml
blob: ec6ceef7d4564f4e022a806f8372866576a3bab8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
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>