pjs/extensions/wallet/signonviewer/SignonViewer.xul

171 строка
6.8 KiB
XML

<?xml version="1.0"?>
<!--
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
-->
<!-- CHANGE THIS WHEN MOVING FILES -->
<?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
<?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>
<!-- CHANGE THIS WHEN MOVING FILES -->
<!DOCTYPE window SYSTEM "chrome://communicator/locale/wallet/SignonViewer.dtd" >
<window id="signonviewer"
title="&windowtitle.label;"
alttitle="&windowalttitle.label;"
xmlns:html="http://www.w3.org/1999/xhtml"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
orient="vertical" style="width: 30em!important;"
class="dialog"
onload="Startup()">
<script src="chrome://communicator/content/wallet/SignonViewer.js"></script>
<script src="chrome://global/content/strres.js"></script>
<keyset id="keyset"/>
<tabcontrol flex="1" orient="vertical">
<tabbox>
<tab id="signonTab" style="display:none" value="&tab.signonsstored.label;"/>
<tab id="signonSitesTab" style="display:none" value="&tab.signonsnotstored.label;"/>
<tab id="nopreview" style="display:none" value="&tab.nopreview.label;"/>
<tab id="nocapture" style="display:none" value="&tab.nocapture.label;"/>
<spring flex="1"/>
</tabbox>
<tabpanel id="panel">
<!-- saved signons -->
<box id="savedsignons" flex="1" orient="vertical">
<html>&spiel.signonsstored.label;</html>
<separator class="thin"/>
<tree id="signonstree" class="inset" style="height: 20em;"
onclick="HandleEvent(event);" flex="1"
multiple="true" onkeypress="HandleEvent(event,0)">
<treecolgroup>
<treecol width="0" flex="45"/>
<splitter class="tree-splitter"/>
<treecol width="0" flex="55"/>
</treecolgroup>
<treehead>
<treerow>
<treecell class="treecell-header" value="&treehead.site.label;"/>
<treecell class="treecell-header" value="&treehead.username.label;"/>
</treerow>
</treehead>
<treechildren id="savesignonlist" flex="1"/>
</tree>
<separator class="thin"/>
<box>
<button id="removeSignon" disabled="true" class="dialog push"
value="&remove.label;" oncommand="DeleteSignon();"/>
<button id="removeAllSignons" class="dialog push"
value="&removeall.label;"
oncommand="DeleteAllSignons();"/>
</box>
</box>
<!-- ignored signon sites -->
<box id="ignoredsites" flex="1" orient="vertical">
<html>&spiel.signonsnotstored.label;</html>
<separator class="thin"/>
<tree id="ignoretree" class="inset" style="height: 20em;"
onclick="HandleEvent(event);" flex="1"
multiple="true" onkeypress="HandleEvent(event,1)">
<treecolgroup>
<treecol flex="1"/>
</treecolgroup>
<treehead>
<treerow>
<treecell class="treecell-header" value="&treehead.site.label;"/>
</treerow>
</treehead>
<treechildren flex="1" id="ignoredlist"/>
</tree>
<separator class="thin"/>
<box>
<button id="removeIgnoredSite" disabled="true" class="dialog push"
value="&remove.label;" oncommand="DeleteIgnoredSite();"/>
<button id="removeAllSites" class="dialog push"
value="&removeall.label;"
oncommand="DeleteAllSites();"/>
</box>
</box>
<!-- do not preview panel -->
<box class="tabpanel" id="nopreviewforms" flex="1" orient="vertical">
<html>&spiel.nopreview.label;</html>
<separator class="thin"/>
<tree id="nopreviewtree" class="inset" style="height: 20em;"
onclick="HandleEvent(event);" flex="1"
multiple="true" onkeypress="HandleEvent(event,2)">
<treecolgroup>
<treecol flex="1"/>
</treecolgroup>
<treehead>
<treerow>
<treecell class="treecell-header" value="&treehead.site.label;"/>
</treerow>
</treehead>
<treechildren flex="1" id="nopreviewlist"/>
</tree>
<separator class="thin"/>
<box>
<button id="removeNoPreview" disabled="true" class="dialog push"
value="&remove.label;" oncommand="DeleteNoPreviewForm();"/>
<button id="removeAllNopreviews" class="dialog push"
value="&removeall.label;"
oncommand="DeleteAllNopreviews();"/>
</box>
</box>
<!-- do not capture panel -->
<box class="tabpanel" id="nocaptureforms" flex="1" orient="vertical">
<html>&spiel.nocapture.label;</html>
<separator class="thin"/>
<tree id="nocapturetree" class="inset" style="height: 20em;"
onclick="HandleEvent(event);" flex="1"
multiple="true" onkeypress="HandleEvent(event,3)">
<treecolgroup>
<treecol flex="1"/>
</treecolgroup>
<treehead>
<treerow>
<treecell class="treecell-header" value="&treehead.site.label;"/>
</treerow>
</treehead>
<treechildren flex="1" id="nocapturelist"/>
</tree>
<separator class="thin"/>
<box>
<button id="removeNoCapture" disabled="true" class="dialog push"
value="&remove.label;" oncommand="DeleteNoCaptureForm();"/>
<button id="removeAllNocaptures" class="dialog push"
value="&removeall.label;"
oncommand="DeleteAllNocaptures();"/>
</box>
</box>
</tabpanel>
</tabcontrol>
<separator class="thin"/>
<box id="okCancelButtonsRight"/>
</window>