gecko/toolkit/components/passwordmgr/content/passwordManager.xul

100 lines
4.0 KiB
XML

<?xml version="1.0"?> <!-- -*- Mode: SGML; indent-tabs-mode: nil -*- -->
# The contents of this file are subject to the Netscape Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/NPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is Mozilla Communicator client code, released
# March 31, 1998.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998-1999 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
# Ben Goodger
# Brian Ryner <bryner@brianryner.com>
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<!DOCTYPE dialog SYSTEM "chrome://passwordmgr/locale/passwordManager.dtd" >
<dialog id="signonviewer"
title="&windowtitle.label;"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
style="width: 30em!important;"
buttons="accept,help"
onload="Startup()"
onunload="Shutdown()"
ondialoghelp="return doHelpButton();">
<script src="chrome://passwordmgr/content/passwordManager.js"/>
<script src="chrome://global/content/strres.js"/>
# <script src="chrome://help/content/contextHelp.js"/>
<stringbundle id="signonBundle"
src="chrome://passwordmgr/locale/passwordmgr.properties"/>
<tabbox id="tabbox" flex="1">
<tabs>
<tab id="signonsTab" label="&tab.signonsstored.label;"/>
<tab id="signonsitesTab" label="&tab.signonsnotstored.label;"/>
</tabs>
<tabpanels id="panel" flex="1">
<!-- saved signons -->
<vbox id="savedsignons" flex="1">
<description>&spiel.signonsstored.label;</description>
<separator class="thin"/>
<tree id="signonsTree" flex="1" style="height: 10em;" hidecolumnpicker="true"
onkeypress="HandleSignonKeyPress(event)"
onselect="SignonSelected();">
<treecols>
<treecol id="siteCol" label="&treehead.site.label;" flex="5"
onclick="SignonColumnSort('host');"/>
<splitter class="tree-splitter"/>
<treecol id="userCol" label="&treehead.username.label;" flex="5"
onclick="SignonColumnSort('user');"/>
</treecols>
<treechildren/>
</tree>
<separator class="thin"/>
<hbox>
<button id="removeSignon" disabled="true"
label="&remove.label;" oncommand="DeleteSignon();"/>
<button id="removeAllSignons"
label="&removeall.label;"
oncommand="DeleteAllSignons();"/>
</hbox>
</vbox>
<!-- rejected signon sites -->
<vbox id="rejectedsites" flex="1">
<description>&spiel.signonsnotstored.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');"/>
</treecols>
<treechildren/>
</tree>
<separator class="thin"/>
<hbox>
<button id="removeReject" disabled="true"
label="&remove.label;" oncommand="DeleteReject();"/>
<button id="removeAllRejects"
label="&removeall.label;"
oncommand="DeleteAllRejects();"/>
</hbox>
</vbox>
</tabpanels>
</tabbox>
</dialog>