home *** CD-ROM | disk | FTP | other *** search
/ PC World 2005 March / PCWorld_2005-03_cd.bin / komunikace / kmeleon / kmeleon09.exe / pippki.jar / content / pippki / device_manager.xul < prev    next >
Extensible Markup Language  |  2003-10-16  |  4KB  |  101 lines

  1. <?xml version="1.0"?>
  2. <!-- 
  3.    - The contents of this file are subject to the Mozilla Public
  4.    - License Version 1.1 (the "License"); you may not use this file
  5.    - except in compliance with the License. You may obtain a copy of
  6.    - the License at http://www.mozilla.org/MPL/
  7.    - 
  8.    - Software distributed under the License is distributed on an "AS
  9.    - IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
  10.    - implied. See the License for the specific language governing
  11.    - rights and limitations under the License.
  12.    - 
  13.    - The Original Code is mozilla.org code.
  14.    - 
  15.    - The Initial Developer of the Original Code is Netscape
  16.    - Communications Corp.  Portions created by Netscape are
  17.    - Copyright (C) 2001 Netscape Communications Corp.  All
  18.    - Rights Reserved.
  19.    - 
  20.    - Contributor(s):
  21.    -   Bob Lord <lord@netscape.com>
  22.    -   Ian McGreer <mcgreer@netscape.com>
  23.   -->
  24.  
  25. <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
  26.  
  27. <!DOCTYPE dialog [
  28. <!ENTITY % deviceManangerDTD SYSTEM "chrome://pippki/locale/deviceManager.dtd">
  29. %deviceManangerDTD;
  30. <!ENTITY % pippkiDTD SYSTEM "chrome://pippki/locale/pippki.dtd" >
  31. %pippkiDTD;
  32. ]>
  33.  
  34. <dialog id="devicemanager"
  35.     windowtype="mozilla:devicemanager"
  36.         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" 
  37.         title="&devmgr.title;"
  38.         style="width: 52em; height: 32em;"
  39.         persist="screenX screenY width height"
  40.         onload="LoadModules();"
  41.         buttons="accept,help"
  42.         ondialoghelp="openHelp('sec_devices');">
  43.  
  44. <script type="application/x-javascript" src="chrome://global/content/strres.js"/>
  45. <script type="application/x-javascript" src="chrome://pippki/content/device_manager.js"/>
  46. <script type="application/x-javascript" src="chrome://help/content/contextHelp.js"/>
  47.  
  48. <grid flex="1" style="margin:5px">
  49.   <columns>
  50.     <column flex="1"/> 
  51.     <column flex="1"/> 
  52.     <column/>
  53.   </columns>
  54.   <rows>
  55.     <row flex="1">
  56.       <vbox> <!-- List of devices -->
  57.         <tree id="device_tree" seltype="single"
  58.               onselect="enableButtons();" hidecolumnpicker="true"
  59.               flex="1" style="min-width: 15em">
  60.           <treecols> 
  61.             <treecol id="deviceCol" flex="1" primary="true" label="&devmgr.devlist.label;"/>
  62.           </treecols>
  63.           <treechildren id="device_list"/>
  64.         </tree>
  65.       </vbox> <!-- / List of devices -->
  66.       <vbox> <!-- Device status -->
  67.         <tree id="info_tree" seltype="single" hidecolumnpicker="true"
  68.               flex="1" style="min-width: 10em">
  69.           <treecols> 
  70.             <treecol id="title1Col" flex="5" primary="true" label="&devmgr.details.title;"/> 
  71.             <treecol id="title2Col" flex="7" label="&devmgr.details.title2;"/> 
  72.           </treecols>
  73.           <treechildren id="info_list"/>
  74.         </tree>
  75.       </vbox> <!-- / Device status -->
  76.       <vbox> <!-- Buttons for manipulating devices -->
  77.         <button id="login_button" 
  78.                 label="&devmgr.button.login.label;"
  79.                 oncommand="doLogin();" disabled="true"/> 
  80.         <button id="logout_button" 
  81.                 label="&devmgr.button.logout.label;"
  82.                 oncommand="doLogout();" disabled="true"/> 
  83.         <button id="change_pw_button" 
  84.                 label="&devmgr.button.changepw.label;"
  85.                 oncommand="changePassword();" disabled="true"/> 
  86.         <button id="load_button" 
  87.                 label="&devmgr.button.load.label;"
  88.                 oncommand="doLoad();"/> 
  89.         <button id="unload_button" 
  90.                 label="&devmgr.button.unload.label;"
  91.                 oncommand="doUnload();" disabled="true"/> 
  92.         <button id="fipsbutton" 
  93.                 label=""
  94.                 oncommand="toggleFIPS();"/>
  95.       </vbox> <!-- / Buttons for manipulating devices -->
  96.     </row>
  97.   </rows>
  98. </grid>
  99.  
  100. </dialog>
  101.