diff options
Diffstat (limited to 'comm/mail/extensions/openpgp/content/ui/backupKeyPassword.xhtml')
-rw-r--r-- | comm/mail/extensions/openpgp/content/ui/backupKeyPassword.xhtml | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/comm/mail/extensions/openpgp/content/ui/backupKeyPassword.xhtml b/comm/mail/extensions/openpgp/content/ui/backupKeyPassword.xhtml new file mode 100644 index 0000000000..1fe18e1b0f --- /dev/null +++ b/comm/mail/extensions/openpgp/content/ui/backupKeyPassword.xhtml @@ -0,0 +1,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> |