summaryrefslogtreecommitdiffstats
path: root/security/manager/pki/resources/content/MineOverlay.xul
blob: 57526ac0f405da1bf4fbebf504e42b2fbc035655 (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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<?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>