summaryrefslogtreecommitdiffstats
path: root/comm/mail/extensions/openpgp/content/ui/backupKeyPassword.xhtml
blob: 1fe18e1b0fec8270da47ea36b6e10a145e44c022 (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
<?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 href="chrome://global/skin/global.css" type="text/css"?>
<?xml-stylesheet href="chrome://messenger/skin/contextMenu.css" type="text/css"?>
<?xml-stylesheet href="chrome://messenger/skin/accountManage.css" type="text/css"?>
<?xml-stylesheet href="chrome://messenger/skin/openpgp/inlineNotification.css" type="text/css"?>
<?xml-stylesheet href="chrome://messenger/skin/themeableDialog.css" type="text/css"?>
<?xml-stylesheet href="chrome://messenger/skin/openpgp/backupKeyPassword.css" type="text/css"?>

<html
  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 data-l10n-id="set-password-window-title"></title>
    <link rel="localization" href="messenger/openpgp/backupKeyPassword.ftl" />
    <script defer="defer" src="chrome://messenger/content/globalOverlay.js" />
    <script defer="defer" src="chrome://global/content/editMenuOverlay.js" />
    <script
      defer="defer"
      src="chrome://openpgp/content/ui/backupKeyPassword.js"
    />
  </head>
  <body>
    <xul:dialog id="backupKeyPassword" buttons="accept,cancel">
      <p data-l10n-id="set-password-message"></p>

      <fieldset>
        <legend data-l10n-id="set-password-legend"></legend>

        <label for="pw1" data-l10n-id="set-password-backup-pw-label" />
        <input
          id="pw1"
          type="password"
          class="input-inline"
          oninput="onPasswordInput(true);"
        />

        <label for="pw2" data-l10n-id="set-password-backup-pw2-label" />
        <input
          id="pw2"
          type="password"
          class="input-inline"
          oninput="onPasswordInput(false);"
        />

        <label for="pwmeter" data-l10n-id="password-quality-meter" />
        <progress id="pwmeter" value="0" max="100"></progress>
      </fieldset>

      <div class="inline-notification-container info-container self-center">
        <img
          class="notification-image"
          src="chrome://messenger/skin/icons/information.svg"
          alt=""
        />
        <p data-l10n-id="set-password-reminder"></p>
      </div>
    </xul:dialog>
  </body>
</html>