<?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 overlay SYSTEM "chrome://pippki/locale/certManager.dtd">

<overlay id="MineOverlay" 
         xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" 
         xmlns:cert="http://netscape.com/rdf-cert#" 
         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">

  <vbox id="myCerts">
    <description>&certmgr.mine;</description>
    <separator class="thin"/>
    <tree id="user-tree" flex="1" enableColumnDrag="true"
              onselect="mine_enableButtons()">
      <treecols>
        <treecol id="certcol" label="&certmgr.certname;" primary="true" 
                     persist="hidden width ordinal" flex="1"/>
        <splitter class="tree-splitter"/>
        <treecol id="tokencol" label="&certmgr.tokenname;"
                     persist="hidden width ordinal" flex="1"/>
        <splitter class="tree-splitter"/>
        <treecol id="serialnumcol" label="&certmgr.serial;"
                     persist="hidden width ordinal" flex="1"/>
        <splitter class="tree-splitter"/>
        <treecol id="issuedcol" label="&certmgr.begins;"
                     hidden="true" persist="hidden width ordinal" flex="1"/>
        <splitter class="tree-splitter"/>
        <treecol id="expiredcol" label="&certmgr.expires;"
                     persist="hidden width ordinal" flex="1"/>
      </treecols>
      <treechildren ondblclick="viewCerts();"/>
    </tree>
    
    <separator class="thin"/>

    <hbox>
       <button id="mine_viewButton" class="normal" 
               label="&certmgr.view2.label;"
               accesskey="&certmgr.view2.accesskey;"
               disabled="true" oncommand="viewCerts();"/>
       <button id="mine_backupButton" class="normal" 
               label="&certmgr.backup2.label;"
               accesskey="&certmgr.backup2.accesskey;"
               disabled="true" oncommand="backupCerts();"/>
       <button id="mine_backupAllButton" class="normal" 
               label="&certmgr.backupall2.label;"
               accesskey="&certmgr.backupall2.accesskey;"
               oncommand="backupAllCerts();"/>
       <button id="mine_restoreButton" class="normal" 
               label="&certmgr.restore2.label;"
               accesskey="&certmgr.restore2.accesskey;"
               oncommand="restoreCerts();"/>
       <button id="mine_deleteButton" class="normal" 
               label="&certmgr.delete2.label;"
               accesskey="&certmgr.delete2.accesskey;"
               disabled="true" oncommand="deleteCerts();"/>
    </hbox>
  </vbox>
</overlay>
