<?xml version="1.0"?> <!-- -*- Mode: SGML; indent-tabs-mode: nil -*- -->

<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>

<!DOCTYPE dialog SYSTEM "chrome://passwordmgr/locale/passwordManager.dtd" >

<prefwindow id="SignonViewerExceptionDialog"
            windowtype="Toolkit:PasswordManagerExceptions"
            xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
            buttons="accept"
            buttonlabelaccept="&closebutton.label;"
            onload="Startup(); RejectsStartup();"
            onunload="Shutdown();"
            title="&savedPasswordsExceptions.title;"
            persist="width height screenX screenY">

  <prefpane id="SignonViewerDialogPane" flex="1">
    <script type="application/javascript" src="chrome://passwordmgr/content/passwordManagerCommon.js"/>
    <script type="application/javascript" src="chrome://passwordmgr/content/passwordManagerExceptions.js"/>

    <vbox id="rejectedsites" flex="1">
        <description control="rejectsTree">&loginsSpielExceptions.label;</description>
        <separator class="thin"/>
        <tree id="rejectsTree" flex="1" style="height: 10em;" hidecolumnpicker="true"
              onkeypress="HandleRejectKeyPress(event)"
              onselect="RejectSelected();">
          <treecols>
            <treecol id="rejectCol" label="&treehead.site.label;" flex="5"
                     onclick="RejectColumnSort('host');" sortDirection="ascending"/>
          </treecols>
          <treechildren/>
        </tree>
        <separator class="thin"/>
        <hbox>
          <button id="removeReject" disabled="true" icon="remove"
                  accesskey="&remove.accesskey;"
                  label="&remove.label;" oncommand="DeleteReject();"/>
          <button id="removeAllRejects"
                  accesskey="&removeall.accesskey;"
                  icon="clear" label="&removeall.label;"
                  oncommand="DeleteAllRejects();"/>
        </hbox>
    </vbox>
  </prefpane>
</prefwindow>
