summaryrefslogtreecommitdiffstats
path: root/comm/mail/base/content/msgSecurityPane.inc.xhtml
blob: a6a35e4b76faa055e6c93a9d66b26514306692b3 (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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
# 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/.
  <panel id="messageSecurityPanel"
         type="arrow"
         orient="vertical"
         class="cui-widget-panel"
         position="bottomright topright"
         tabindex="-1">
    <vbox class="security-panel-body">
      <html:header class="message-security-header">
        <html:h3>&status.label; <html:span id="techLabel"></html:span></html:h3>
      </html:header>

      <vbox class="message-security-body">
        <!-- Notification container -->
        <vbox>
          <!-- Import OpenPGP key -->
          <hbox id="openpgpKeyBox" hidden="true"
                class="inline-notification-container info-container">
            <hbox class="inline-notification-wrapper align-center">
              <html:img class="notification-image"
                        src="chrome://messenger/skin/icons/information.svg"
                        alt="" />
              <description>
                <html:span data-l10n-id="openpgp-has-sender-key"></html:span>
              </description>
              <button id="openpgpImportButton"
                      class="button-focusable"
                      data-l10n-id="openpgp-import-sender-key"
                      oncommand="Enigmail.msg.importAttachedSenderKey();"/>
            </hbox>
          </hbox>

          <!-- Missing signature -->
          <hbox id="signatureKeyBox" hidden="true"
                class="inline-notification-container info-container">
            <hbox class="inline-notification-wrapper align-center">
              <html:img class="notification-image"
                        src="chrome://messenger/skin/icons/information.svg"
                        alt="" />
              <description data-l10n-id="openpgp-missing-signature-key"/>
              <button data-l10n-id="openpgp-search-signature-key"
                      class="button-focusable"
                      oncommand="Enigmail.msg.searchSignatureKey();"/>
            </hbox>
          </hbox>
        </vbox>

        <label id="signatureLabel" class="message-security-label"/>
        <label id="signatureHeader" collapsed="true" />
        <description id="signatureExplanation"/>

        <vbox id="signatureCert" class="message-security-container"
              collapsed="true">
          <hbox>
            <label id="signedByLabel" class="cert-label">&signer.name;</label>
            <description id="signedBy" />
          </hbox>
          <hbox>
            <label id="signerEmailLabel"
                   class="cert-label">&email.address;</label>
            <description id="signerEmail" />
          </hbox>
          <hbox>
            <label id="sigCertIssuedByLabel"
                   class="cert-label">&issuer.name;</label>
            <description id="sigCertIssuedBy" />
          </hbox>
          <hbox pack="end">
            <button id="signatureCertView" label="&signatureCert.label;"
                    class="button-focusable"
                    oncommand="viewSignatureCert()" />
          </hbox>
        </vbox>

        <hbox id="signatureKey" class="message-security-container"
              collapsed="true" align="center">
          <label id="signatureKeyId" flex="1" context="simpleCopyPopup"/>
          <button id="viewSignatureKey" data-l10n-id="openpgp-view-signer-key"
                  class="button-focusable"
                  oncommand="viewSignatureKey()" collapsed="true"/>
        </hbox>

        <label id="encryptionLabel" class="message-security-label"/>
        <label id="encryptionHeader" collapsed="true" />
        <description id="encryptionExplanation"/>

        <vbox id="encryptionCert" class="message-security-container"
              collapsed="true">
          <hbox>
            <label id="encryptedForLabel"
                   class="cert-label">&recipient.name;</label>
            <description id="encryptedFor" />
          </hbox>
          <hbox>
            <label id="recipientEmailLabel"
                   class="cert-label">&email.address;</label>
            <description id="recipientEmail" />
          </hbox>
          <hbox>
            <label id="encCertIssuedByLabel"
                   class="cert-label">&issuer.name;</label>
            <description id="encCertIssuedBy" />
          </hbox>
          <hbox pack="end">
            <button id="encryptionCertView" label="&encryptionCert.label;"
                    class="button-focusable"
                    oncommand="viewEncryptionCert()" />
          </hbox>
        </vbox>

        <vbox id="encryptionKey" class="message-security-container"
              collapsed="true">
          <label id="encryptionKeyId" context="simpleCopyPopup"/>
          <hbox pack="end">
            <button id="viewEncryptionKey"
                    data-l10n-id="openpgp-view-your-encryption-key"
                    class="button-focusable"
                    oncommand="viewEncryptionKey()"
                    collapsed="true"/>
          </hbox>
        </vbox>

        <vbox id="otherEncryptionKeys" collapsed="true">
          <label id="otherLabel" class="message-security-label none"/>
          <vbox id="otherEncryptionKeysList"/>
        </vbox>
      </vbox>
    </vbox>
  </panel>