toolkit/components/passwordmgr/content/passwordManager.xul

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

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

mercurial