|
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/. --> |
|
5 |
|
6 <?xml-stylesheet href="chrome://global/skin/" type="text/css"?> |
|
7 |
|
8 <!DOCTYPE dialog SYSTEM "chrome://pippki/locale/pippki.dtd"> |
|
9 |
|
10 <dialog id="setp12password" title="&pkcs12.setpassword.title;" |
|
11 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" |
|
12 style="width: 48em;" |
|
13 buttons="accept,cancel" |
|
14 ondialogaccept="return setP12Password();" |
|
15 onload="onP12Load(true);"> |
|
16 |
|
17 <script type="application/javascript" src="chrome://pippki/content/password.js"/> |
|
18 |
|
19 <description>&pkcs12.setpassword.message;</description> |
|
20 <separator /> |
|
21 <grid> |
|
22 <columns> <column/> <column/> </columns> |
|
23 <rows> |
|
24 <row> |
|
25 <label value="&pkcs12.setpassword.label1;"/> |
|
26 <textbox id="pw1" type="password" |
|
27 oninput="setPasswordStrength(); checkPasswords();"/> |
|
28 </row> |
|
29 <row> |
|
30 <label value="&pkcs12.setpassword.label2;"/> |
|
31 <textbox id="pw2" type="password" |
|
32 oninput="checkPasswords();"/> |
|
33 </row> |
|
34 </rows> |
|
35 </grid> |
|
36 <separator/> |
|
37 <description>&pkcs12.setpassword.reminder;</description> |
|
38 <separator/> |
|
39 <label value="&setPassword.meter.label;"/> |
|
40 <grid style="margin: 4px;"> |
|
41 <rows> <row/> </rows> |
|
42 <columns> |
|
43 <column style="margin: 5px;"> |
|
44 <progressmeter flex="1" id="pwmeter" mode="determined" value="0%" |
|
45 orient="horizontal" |
|
46 style="width: 20em; foreground-color: red"/> |
|
47 </column> |
|
48 </columns> |
|
49 </grid> |
|
50 |
|
51 </dialog> |