home *** CD-ROM | disk | FTP | other *** search
/ PC World 2003 May / PCWorld_2003-05_cd.bin / Komunik / phoenix / chrome / pippki.jar / content / pippki / device_manager.xul < prev    next >
Extensible Markup Language  |  2002-03-28  |  4KB  |  106 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 window [
  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. <window id="devicemanager"
  35.         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" 
  36.         title="&devmgr.title;"
  37.         persist="screenX screenY width height"
  38.         onload="LoadModules();">
  39.  
  40. <script type="application/x-javascript" src="chrome://global/content/strres.js"/>
  41. <script type="application/x-javascript" src="chrome://pippki/content/device_manager.js"/>
  42. <script type="application/x-javascript" src="chrome://help/content/contextHelp.js"/>
  43.  
  44. <grid flex="1">
  45.   <columns>
  46.     <column flex="1"/> 
  47.     <column flex="1"/> 
  48.     <column/>
  49.   </columns>
  50.   <rows>
  51.     <row flex="1">
  52.       <vbox> <!-- List of devices -->
  53.         <tree id="device_tree" seltype="single"
  54.               onselect="enableButtons();" hidecolumnpicker="true"
  55.               flex="1" style="min-width: 15em">
  56.           <treecols> 
  57.             <treecol id="deviceCol" flex="1" primary="true" label="&devmgr.devlist.label;"/>
  58.           </treecols>
  59.           <treechildren id="device_list"/>
  60.         </tree>
  61.       </vbox> <!-- / List of devices -->
  62.       <vbox> <!-- Device status -->
  63.         <tree id="info_tree" seltype="single" hidecolumnpicker="true"
  64.               flex="1" style="min-width: 10em">
  65.           <treecols> 
  66.             <treecol id="title1Col" flex="5" primary="true" label="&devmgr.details.title;"/> 
  67.             <treecol id="title2Col" flex="7" label="&devmgr.details.title2;"/> 
  68.           </treecols>
  69.           <treechildren id="info_list"/>
  70.         </tree>
  71.       </vbox> <!-- / Device status -->
  72.       <vbox> <!-- Buttons for manipulating devices -->
  73.         <button id="login_button" 
  74.                 label="&devmgr.button.login.label;"
  75.                 oncommand="doLogin();" disabled="true"/> 
  76.         <button id="logout_button" 
  77.                 label="&devmgr.button.logout.label;"
  78.                 oncommand="doLogout();" disabled="true"/> 
  79.         <button id="change_pw_button" 
  80.                 label="&devmgr.button.changepw.label;"
  81.                 oncommand="changePassword();" disabled="true"/> 
  82.         <button id="load_button" 
  83.                 label="&devmgr.button.load.label;"
  84.                 oncommand="doLoad();"/> 
  85.         <button id="unload_button" 
  86.                 label="&devmgr.button.unload.label;"
  87.                 oncommand="doUnload();" disabled="true"/> 
  88.         <button id="fipsbutton" 
  89.                 label=""
  90.                 oncommand="toggleFIPS();"/>
  91.       </vbox> <!-- / Buttons for manipulating devices -->
  92.     </row>
  93.   </rows>
  94. </grid>
  95.  
  96. <hbox>
  97.   <button id="help_button" 
  98.           label="&help.label;" 
  99.           oncommand="openHelp('sec_devices');"/> 
  100.   <button id="ok_button" 
  101.           label="&ok.label;" 
  102.           oncommand="window.close();"/> 
  103. </hbox>
  104.  
  105. </window>
  106.