diff options
Diffstat (limited to 'security/manager/pki/resources/content/load_device.xul')
-rw-r--r-- | security/manager/pki/resources/content/load_device.xul | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/security/manager/pki/resources/content/load_device.xul b/security/manager/pki/resources/content/load_device.xul new file mode 100644 index 000000000..45fffcee7 --- /dev/null +++ b/security/manager/pki/resources/content/load_device.xul @@ -0,0 +1,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> |