summaryrefslogtreecommitdiffstats
path: root/security/manager/pki/resources/content/CAOverlay.xul
blob: ba4f4abf8b712764a74eba74b336fd761d289871 (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
<?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="CAOverlay" 
         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="CACerts">
    <description>&certmgr.cas;</description>
    <separator class="thin"/>
    <tree id="ca-tree" flex="1" enableColumnDrag="true"
              onselect="ca_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"/>
      </treecols>
      <treechildren ondblclick="viewCerts();"/>
    </tree>

    <separator class="thin"/>

    <hbox>
      <button id="ca_viewButton"
              label="&certmgr.view2.label;"
              accesskey="&certmgr.view2.accesskey;"
              disabled="true" oncommand="viewCerts();"/>
      <button id="ca_editButton"
              label="&certmgr.edit3.label;"
              accesskey="&certmgr.edit3.accesskey;"
              disabled="true" oncommand="editCerts();"/>
      <button id="ca_addButton"
              label="&certmgr.restore2.label;"
              accesskey="&certmgr.restore2.accesskey;"
              oncommand="addCACerts();"/>
      <button id="ca_exportButton"
              label="&certmgr.export.label;"
              accesskey="&certmgr.export.accesskey;"
              disabled="true" oncommand="exportCerts();"/>
      <button id="ca_deleteButton"
              label="&certmgr.delete_builtin.label;"
              accesskey="&certmgr.delete_builtin.accesskey;"
              disabled="true" oncommand="deleteCerts();"/>
    </hbox>
  </vbox>
</overlay>