security/manager/pki/resources/content/setp12password.xul

Wed, 31 Dec 2014 07:16:47 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:16:47 +0100
branch
TOR_BUG_9701
changeset 3
141e0f1194b1
permissions
-rw-r--r--

Revert simplistic fix pending revisit of Mozilla integration attempt.

michael@0 1 <?xml version="1.0"?>
michael@0 2 <!-- This Source Code Form is subject to the terms of the Mozilla Public
michael@0 3 - License, v. 2.0. If a copy of the MPL was not distributed with this
michael@0 4 - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
michael@0 5
michael@0 6 <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
michael@0 7
michael@0 8 <!DOCTYPE dialog SYSTEM "chrome://pippki/locale/pippki.dtd">
michael@0 9
michael@0 10 <dialog id="setp12password" title="&pkcs12.setpassword.title;"
michael@0 11 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
michael@0 12 style="width: 48em;"
michael@0 13 buttons="accept,cancel"
michael@0 14 ondialogaccept="return setP12Password();"
michael@0 15 onload="onP12Load(true);">
michael@0 16
michael@0 17 <script type="application/javascript" src="chrome://pippki/content/password.js"/>
michael@0 18
michael@0 19 <description>&pkcs12.setpassword.message;</description>
michael@0 20 <separator />
michael@0 21 <grid>
michael@0 22 <columns> <column/> <column/> </columns>
michael@0 23 <rows>
michael@0 24 <row>
michael@0 25 <label value="&pkcs12.setpassword.label1;"/>
michael@0 26 <textbox id="pw1" type="password"
michael@0 27 oninput="setPasswordStrength(); checkPasswords();"/>
michael@0 28 </row>
michael@0 29 <row>
michael@0 30 <label value="&pkcs12.setpassword.label2;"/>
michael@0 31 <textbox id="pw2" type="password"
michael@0 32 oninput="checkPasswords();"/>
michael@0 33 </row>
michael@0 34 </rows>
michael@0 35 </grid>
michael@0 36 <separator/>
michael@0 37 <description>&pkcs12.setpassword.reminder;</description>
michael@0 38 <separator/>
michael@0 39 <label value="&setPassword.meter.label;"/>
michael@0 40 <grid style="margin: 4px;">
michael@0 41 <rows> <row/> </rows>
michael@0 42 <columns>
michael@0 43 <column style="margin: 5px;">
michael@0 44 <progressmeter flex="1" id="pwmeter" mode="determined" value="0%"
michael@0 45 orient="horizontal"
michael@0 46 style="width: 20em; foreground-color: red"/>
michael@0 47 </column>
michael@0 48 </columns>
michael@0 49 </grid>
michael@0 50
michael@0 51 </dialog>

mercurial