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

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/security/manager/pki/resources/content/setp12password.xul	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,51 @@
     1.4 +<?xml version="1.0"?>
     1.5 +<!-- This Source Code Form is subject to the terms of the Mozilla Public
     1.6 +   - License, v. 2.0. If a copy of the MPL was not distributed with this
     1.7 +   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
     1.8 +
     1.9 +<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
    1.10 +
    1.11 +<!DOCTYPE dialog SYSTEM "chrome://pippki/locale/pippki.dtd">
    1.12 +
    1.13 +<dialog id="setp12password" title="&pkcs12.setpassword.title;"
    1.14 +  xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"      
    1.15 +  style="width: 48em;"
    1.16 +  buttons="accept,cancel"
    1.17 +  ondialogaccept="return setP12Password();"
    1.18 +  onload="onP12Load(true);">
    1.19 +
    1.20 +  <script type="application/javascript" src="chrome://pippki/content/password.js"/>
    1.21 +
    1.22 +  <description>&pkcs12.setpassword.message;</description>
    1.23 +  <separator />
    1.24 +  <grid>
    1.25 +    <columns> <column/> <column/> </columns>
    1.26 +    <rows>
    1.27 +      <row>
    1.28 +        <label value="&pkcs12.setpassword.label1;"/> 
    1.29 +        <textbox id="pw1" type="password" 
    1.30 +                 oninput="setPasswordStrength(); checkPasswords();"/> 
    1.31 +      </row>
    1.32 +      <row>
    1.33 +        <label value="&pkcs12.setpassword.label2;"/> 
    1.34 +        <textbox id="pw2" type="password" 
    1.35 +                 oninput="checkPasswords();"/>  
    1.36 +      </row>
    1.37 +    </rows>
    1.38 +  </grid>
    1.39 +  <separator/>
    1.40 +  <description>&pkcs12.setpassword.reminder;</description>
    1.41 +  <separator/>
    1.42 +  <label value="&setPassword.meter.label;"/>
    1.43 +  <grid style="margin: 4px;">
    1.44 +    <rows> <row/> </rows>
    1.45 +    <columns>
    1.46 +      <column style="margin: 5px;">
    1.47 +        <progressmeter flex="1" id="pwmeter" mode="determined" value="0%"
    1.48 +                       orient="horizontal"
    1.49 +                       style="width: 20em; foreground-color: red"/> 
    1.50 +      </column>
    1.51 +    </columns>
    1.52 +  </grid>
    1.53 +  
    1.54 +</dialog>

mercurial