<?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>
