no bug - Import translations from android-l10n r=release a=l10n CLOSED TREE
[gecko.git] / security / manager / pki / resources / content / changepassword.xhtml
blob7215f3a536c0813db82cf7c849f777d3ea8da3b3
1 <?xml version="1.0"?>
2 <!-- This Source Code Form is subject to the terms of the Mozilla Public
3 - License, v. 2.0. If a copy of the MPL was not distributed with this
4 - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
6 <!DOCTYPE window>
8 <window
9 data-l10n-id="change-device-password-window"
10 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
11 xmlns:html="http://www.w3.org/1999/xhtml"
12 onload="onLoad();"
14 <dialog id="set_password" buttons="accept,cancel">
15 <linkset>
16 <html:link rel="stylesheet" href="chrome://global/skin/global.css" />
18 <html:link rel="localization" href="security/pippki/pippki.ftl" />
19 </linkset>
21 <stringbundle
22 id="pippki_bundle"
23 src="chrome://pippki/locale/pippki.properties"
26 <script src="chrome://global/content/globalOverlay.js" />
27 <script src="chrome://global/content/editMenuOverlay.js" />
29 <script src="chrome://pippki/content/changepassword.js" />
31 <hbox align="center">
32 <label
33 id="tokenName"
34 data-l10n-id="change-password-token"
35 data-l10n-args='{"tokenName":""}'
37 </hbox>
39 <separator />
41 <vbox>
42 <hbox class="input-row">
43 <label flex="1" data-l10n-id="change-password-old" />
44 <html:input id="oldpw" type="password" />
45 <!-- This textbox is inserted as a workaround to the fact that making the 'type'
46 & 'disabled' property of the 'oldpw' textbox toggle between ['password' &
47 'false'] and ['text' & 'true'] - as would be necessary if the menu has more
48 than one tokens, some initialized and some not - does not work properly. So,
49 either the textbox 'oldpw' or the textbox 'message' would be displayed,
50 depending on the state of the token selected
51 -->
52 <html:input id="message" disabled="true" />
53 </hbox>
54 <hbox class="input-row">
55 <label flex="1" data-l10n-id="change-password-new" />
56 <html:input
57 id="pw1"
58 type="password"
59 oninput="setPasswordStrength(); checkPasswords();"
61 </hbox>
62 <hbox class="input-row">
63 <label flex="1" data-l10n-id="change-password-reenter" />
64 <html:input id="pw2" type="password" oninput="checkPasswords();" />
65 </hbox>
66 </vbox>
68 <vbox style="margin: 6px">
69 <label
70 for="pwmeter"
71 style="display: flex"
72 data-l10n-id="password-quality-meter"
74 <html:progress id="pwmeter" value="0" max="100" />
75 </vbox>
76 </dialog>
77 </window>