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

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/security/manager/pki/resources/content/downloadcert.xul	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,73 @@
     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="download_cert" title="&downloadCert.title;"
    1.14 +  xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"      
    1.15 +  style="width: 46em;"
    1.16 +  buttons="accept,cancel"
    1.17 +  ondialogaccept="return doOK();"
    1.18 +  ondialogcancel="return doCancel();"
    1.19 +  onload="onLoad();">
    1.20 +
    1.21 +<stringbundle id="pippki_bundle" src="chrome://pippki/locale/pippki.properties"/>
    1.22 +
    1.23 +<script type="application/javascript" src="chrome://pippki/content/downloadcert.js"/>
    1.24 +<script type="application/javascript" src="chrome://pippki/content/pippki.js"/>
    1.25 +
    1.26 +
    1.27 +  <!--  Let 'em know what they're doing -->
    1.28 +  <vbox>
    1.29 +    <description>&downloadCert.message1;</description>
    1.30 +  </vbox>
    1.31 +
    1.32 +  <separator/>
    1.33 +
    1.34 +  <!--  checkboxes for trust bits
    1.35 +     -  "do you want to?"
    1.36 +     -  * trust for SSL
    1.37 +     -  * trust for email
    1.38 +     -  * trust for object signing
    1.39 +    -->
    1.40 +  <vbox>
    1.41 +    <description id="message2"/>
    1.42 +    <checkbox label="&downloadCert.trustSSL;"
    1.43 +              id="trustSSL"/>
    1.44 +    <checkbox label="&downloadCert.trustEmail;"
    1.45 +              id="trustEmail"/>
    1.46 +    <checkbox label="&downloadCert.trustObjSign;"
    1.47 +              id="trustObjSign"/>
    1.48 +  </vbox>
    1.49 +
    1.50 +  <separator/>
    1.51 +
    1.52 +  <!--  buttons for viewing cert and policies
    1.53 +     -  "suggested you view the following:"
    1.54 +     -  <>  view cert
    1.55 +     -  <>  view policy
    1.56 +    -->
    1.57 +  <vbox>
    1.58 +    <description>&downloadCert.message3;</description>
    1.59 +    <separator/>
    1.60 +    <grid>
    1.61 +      <columns>
    1.62 +        <column/>
    1.63 +        <column/>
    1.64 +      </columns>
    1.65 +      <rows>
    1.66 +        <row>
    1.67 +          <button id="viewC-button"
    1.68 +                  label="&downloadCert.viewCert.label;"
    1.69 +                  oncommand="viewCert();"/> 
    1.70 +          <description style="margin: 4px;">&downloadCert.viewCert.text;</description>
    1.71 +        </row>
    1.72 +      </rows>
    1.73 +    </grid>
    1.74 +  </vbox>
    1.75 +
    1.76 +</dialog>

mercurial