|
1 <?xml version="1.0"?> <!-- -*- Mode: SGML; indent-tabs-mode: nil -*- --> |
|
2 # This Source Code Form is subject to the terms of the Mozilla Public |
|
3 # License, v. 2.0. If a copy of the MPL was not distributed with this |
|
4 # file, You can obtain one at http://mozilla.org/MPL/2.0/. |
|
5 |
|
6 <?xml-stylesheet href="chrome://global/skin/" type="text/css"?> |
|
7 <?xml-stylesheet href="chrome://global/skin/passwordmgr.css" type="text/css"?> |
|
8 |
|
9 <!DOCTYPE dialog SYSTEM "chrome://passwordmgr/locale/passwordManager.dtd" > |
|
10 |
|
11 <window id="SignonViewerDialog" |
|
12 windowtype="Toolkit:PasswordManager" |
|
13 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" |
|
14 onload="Startup(); SignonsStartup();" |
|
15 onunload="Shutdown();" |
|
16 title="&savedPasswords.title;" |
|
17 persist="width height screenX screenY"> |
|
18 |
|
19 <script type="application/javascript" src="chrome://passwordmgr/content/passwordManagerCommon.js"/> |
|
20 <script type="application/javascript" src="chrome://passwordmgr/content/passwordManager.js"/> |
|
21 |
|
22 <stringbundle id="signonBundle" |
|
23 src="chrome://passwordmgr/locale/passwordmgr.properties"/> |
|
24 |
|
25 <keyset> |
|
26 <key keycode="VK_ESCAPE" oncommand="window.close();"/> |
|
27 <key key="&windowClose.key;" modifiers="accel" oncommand="window.close();"/> |
|
28 <key key="&focusSearch1.key;" modifiers="accel" oncommand="FocusFilterBox();"/> |
|
29 <key key="&focusSearch2.key;" modifiers="accel" oncommand="FocusFilterBox();"/> |
|
30 </keyset> |
|
31 |
|
32 <popupset id="signonsTreeContextSet"> |
|
33 <menupopup id="signonsTreeContextMenu" |
|
34 onpopupshowing="UpdateCopyPassword()"> |
|
35 <menuitem id="context-copyusername" |
|
36 label="©UsernameCmd.label;" |
|
37 oncommand="CopyUsername()"/> |
|
38 <menuitem id="context-copypassword" |
|
39 label="©PasswordCmd.label;" |
|
40 accesskey="©PasswordCmd.accesskey;" |
|
41 oncommand="CopyPassword()"/> |
|
42 </menupopup> |
|
43 </popupset> |
|
44 |
|
45 <!-- saved signons --> |
|
46 <vbox id="savedsignons" class="contentPane" flex="1"> |
|
47 <!-- filter --> |
|
48 <hbox align="center"> |
|
49 <label accesskey="&filter.accesskey;" control="filter">&filter.label;</label> |
|
50 <textbox id="filter" flex="1" type="search" |
|
51 aria-controls="signonsTree" |
|
52 oncommand="_filterPasswords();"/> |
|
53 </hbox> |
|
54 |
|
55 <label control="signonsTree" id="signonsIntro"/> |
|
56 <separator class="thin"/> |
|
57 <tree id="signonsTree" flex="1" style="height: 20em;" hidecolumnpicker="true" |
|
58 onkeypress="HandleSignonKeyPress(event)" |
|
59 onselect="SignonSelected();" |
|
60 context="signonsTreeContextMenu"> |
|
61 <treecols> |
|
62 <treecol id="siteCol" label="&treehead.site.label;" flex="5" |
|
63 onclick="SignonColumnSort('hostname');" persist="width" |
|
64 sortDirection="ascending"/> |
|
65 <splitter class="tree-splitter"/> |
|
66 <treecol id="userCol" label="&treehead.username.label;" flex="2" |
|
67 onclick="SignonColumnSort('username');" persist="width"/> |
|
68 <splitter class="tree-splitter"/> |
|
69 <treecol id="passwordCol" label="&treehead.password.label;" flex="2" |
|
70 onclick="SignonColumnSort('password');" persist="width" |
|
71 hidden="true"/> |
|
72 </treecols> |
|
73 <treechildren/> |
|
74 </tree> |
|
75 <separator class="thin"/> |
|
76 <hbox id="SignonViewerButtons"> |
|
77 <button id="removeSignon" disabled="true" icon="remove" |
|
78 label="&remove.label;" accesskey="&remove.accesskey;" |
|
79 oncommand="DeleteSignon();"/> |
|
80 <button id="removeAllSignons" icon="clear" |
|
81 label="&removeall.label;" accesskey="&removeall.accesskey;" |
|
82 oncommand="DeleteAllSignons();"/> |
|
83 <spacer flex="1"/> |
|
84 <button id="togglePasswords" |
|
85 oncommand="TogglePasswordVisible();"/> |
|
86 </hbox> |
|
87 </vbox> |
|
88 <hbox align="end"> |
|
89 <hbox class="actionButtons" flex="1"> |
|
90 <spacer flex="1"/> |
|
91 #ifndef XP_MACOSX |
|
92 <button oncommand="close();" icon="close" |
|
93 label="&closebutton.label;" accesskey="&closebutton.accesskey;"/> |
|
94 #endif |
|
95 </hbox> |
|
96 <resizer type="window" dir="bottomend"/> |
|
97 </hbox> |
|
98 </window> |