summaryrefslogtreecommitdiffstats
path: root/comm/calendar/base/content/dialogs/calendar-occurrence-prompt.xhtml
blob: 7a7357681ca3f4be18f7fd5a0af155febe38ca1e (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
52
53
54
55
56
57
58
59
60
61
<?xml version="1.0" encoding="UTF-8"?>
<!-- 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"?>
<?xml-stylesheet href="chrome://calendar/skin/shared/calendar-occurrence-prompt.css" type="text/css"?>

<!DOCTYPE html SYSTEM "chrome://calendar/locale/calendar-occurrence-prompt.dtd">
<html
  id="calendar-occurrence-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><!-- windowtitle.${itemType}.${action} --></title>
    <script defer="defer" src="chrome://messenger/content/dialogShadowDom.js"></script>
    <script defer="defer" src="chrome://calendar/content/calendar-occurrence-prompt.js"></script>
  </head>
  <html:body xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
    <dialog buttons="accept,cancel">
      <vbox id="occurrence-prompt-header" pack="center">
        <label id="title-label" crop="end" />
        <label id="isrepeating-label" />
      </vbox>

      <vbox id="accept-buttons-box" flex="1" pack="center">
        <button
          id="accept-occurrence-button"
          default="true"
          dlgtype="accept"
          class="occurrence-accept-buttons"
          accesskey="&buttons.occurrence.accesskey;"
          oncommand="exitOccurrenceDialog(1)"
          pack="start"
        />
        <!-- XXXphilipp Button is hidden until all following is implemented -->
        <button
          id="accept-allfollowing-button"
          class="occurrence-accept-buttons"
          accesskey="&buttons.allfollowing.accesskey;"
          oncommand="exitOccurrenceDialog(2)"
          hidden="true"
          pack="start"
        />
        <button
          id="accept-parent-button"
          class="occurrence-accept-buttons"
          accesskey="&buttons.parent.accesskey;"
          oncommand="exitOccurrenceDialog(3)"
          pack="start"
        />
      </vbox>
    </dialog>
  </html:body>
</html>