summaryrefslogtreecommitdiffstats
path: root/comm/mail/extensions/openpgp/content/ui/enigmailMsgBox.xhtml
blob: 3fec668c8c685f4dc2e2947713420f25312bd278 (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
62
63
64
65
66
67
68
69
70
71
<?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 https://mozilla.org/MPL/2.0/.
-->

<?xml-stylesheet href="chrome://messenger/skin/messenger.css" type="text/css"?>
<?xml-stylesheet href="chrome://messenger/skin/contextMenu.css" type="text/css"?>
<?xml-stylesheet href="chrome://messenger/skin/openpgp/enigmail.css" type="text/css"?>
<?xml-stylesheet href="chrome://messenger/skin/shared/grid-layout.css" type="text/css"?>

<!DOCTYPE window [ <!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd">
%brandDTD; ]>

<window
  title=""
  xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  buttons="accept,help,cancel,extra1,extra2"
  onload="onLoad();"
  xmlns:html="http://www.w3.org/1999/xhtml"
>
  <dialog id="enigmailMsgBox" buttonpack="center">
    <script
      type="application/x-javascript"
      src="chrome://openpgp/content/ui/enigmailMsgBox.js"
    />
    <linkset>
      <html:link rel="localization" href="messenger/openpgp/openpgp.ftl" />
    </linkset>

    <popupset>
      <menupopup id="ctxmenu">
        <menuitem
          data-l10n-id="openpgp-copy-cmd-label"
          oncommand="copyToClipbrd()"
        />
      </menupopup>
    </popupset>

    <hbox id="filler" style="min-width: 0%">
      <spacer style="width: 29em" />
    </hbox>

    <html:div class="grid-two-column-fr">
      <html:div class="flex-items-center">
        <image id="infoImage" class="spaced" collapsed="true" />
      </html:div>
      <html:div class="flex-items-center">
        <vbox id="infoContainer" pack="center">
          <label
            id="macosDialogTitle"
            collapsed="true"
            class="enigmailDialogTitle"
          />
          <vbox id="msgContainer" style="max-width: 45em">
            <description
              id="msgtext"
              context="ctxmenu"
              noinitialfocus="true"
              class="enigmailDialogBody"
            />
          </vbox>
        </vbox>
      </html:div>
      <html:div id="checkboxContainer" class="grid-item-col2" hidden="hidden">
        <checkbox id="theCheckBox" oncommand="checkboxCb()" />
      </html:div>
    </html:div>
  </dialog>
</window>