<?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="WebSitesOverlay" 
         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="webCerts">
    <description>&certmgr.websites2;</description>
    <separator class="thin"/>
    <tree id="server-tree" flex="1" enableColumnDrag="true"
              onselect="websites_enableButtons()">
      <treecols>
        <treecol id="certcol" label="&certmgr.certname;" primary="true" 
                     persist="hidden width ordinal" flex="1"/>
        <splitter class="tree-splitter"/>
        <treecol id="sitecol" label="&certmgr.certserver;" 
                 persist="hidden width ordinal" flex="1"/>
        <splitter class="tree-splitter"/>
        <treecol id="lifetimecol" label="&certmgr.override_lifetime;" 
                 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="websites_viewButton"
              label="&certmgr.view2.label;"
              accesskey="&certmgr.view2.accesskey;"
              disabled="true" oncommand="viewCerts();"/>
      <button id="websites_exportButton"
              label="&certmgr.export.label;"
              accesskey="&certmgr.export.accesskey;"
              disabled="true" oncommand="exportCerts();"/>
      <button id="websites_deleteButton"
              label="&certmgr.delete2.label;"
              accesskey="&certmgr.delete2.accesskey;"
              disabled="true" oncommand="deleteCerts();"/>
      <button id="websites_exceptionButton"
              label="&certmgr.addException.label;"
              accesskey="&certmgr.addException.accesskey;"
              oncommand="addException();"/>
    </hbox>
  </vbox>
</overlay>
