summaryrefslogtreecommitdiffstats
path: root/security/manager/pki/resources/content/load_device.xul
blob: 45fffcee7d963ef0c4636ffca7986eed2bbed537 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<?xml version="1.0"?>
<!-- This Source Code Form is subject to the terms of the Mozilla Public
   - License, v. 2.0. If a copy of the MPL was not distributed with this
   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->

<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>

<!DOCTYPE dialog [
<!ENTITY % deviceManangerDTD SYSTEM "chrome://pippki/locale/deviceManager.dtd">
%deviceManangerDTD;
<!ENTITY % pippkiDTD SYSTEM "chrome://pippki/locale/pippki.dtd" >
%pippkiDTD;
]>

<dialog id="loaddevice" 
	xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" 
        title="&loaddevice.title;"
        buttons="accept,cancel"
        ondialogaccept="return doLoadDevice();">

<stringbundleset id="stringbundleset">
  <stringbundle id="pippki_bundle" src="chrome://pippki/locale/pippki.properties"/>
  <stringbundle id="pipnss_bundle" src="chrome://pipnss/locale/pipnss.properties"/>
</stringbundleset>

  <script type="application/javascript" src="chrome://pippki/content/device_manager.js"/>

  <description>&loaddevice.info;</description>
  <hbox align="center">
    <label value="&loaddevice.modname;" accesskey="&loaddevice.modname.accesskey;"
           control="device_name"/>
    <textbox id="device_name" flex="1" value="&loaddevice.modname.default;"/>
  </hbox>
  <hbox align="center">
    <label value="&loaddevice.filename;" accesskey="&loaddevice.filename.accesskey;"
           control="device_path"/>
    <textbox id="device_path" flex="1"/>
    <button label="&loaddevice.browse;" flex="1" 
            accesskey="&loaddevice.browse.accesskey;" oncommand="doBrowseFiles();"/>
  </hbox>

</dialog>