1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/toolkit/components/filepicker/content/filepicker.xul Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,80 @@ 1.4 +<?xml version="1.0"?> <!-- -*- Mode: HTML -*- --> 1.5 + 1.6 +<!-- This Source Code Form is subject to the terms of the Mozilla Public 1.7 + - License, v. 2.0. If a copy of the MPL was not distributed with this 1.8 + - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> 1.9 + 1.10 +<?xml-stylesheet href="chrome://global/skin/filepicker.css" type="text/css"?> 1.11 + 1.12 +<!DOCTYPE dialog SYSTEM "chrome://global/locale/filepicker.dtd" > 1.13 + 1.14 +<dialog id="main-window" 1.15 + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" 1.16 + xmlns:nc="http://home.netscape.com/NC-rdf#" 1.17 + xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" 1.18 + onload="filepickerLoad();" 1.19 + width="426" height="300" 1.20 + ondialogaccept="return selectOnOK();" 1.21 + ondialogcancel="return onCancel();" 1.22 + persist="screenX screenY width height"> 1.23 + 1.24 +<stringbundle id="bundle_filepicker" src="chrome://global/locale/filepicker.properties"/> 1.25 +<script type="application/javascript" src="chrome://global/content/filepicker.js"/> 1.26 + 1.27 +<hbox align="center"> 1.28 + <label value="&lookInMenuList.label;" control="lookInMenuList" accesskey="&lookInMenuList.accesskey;"/> 1.29 + <menulist id="lookInMenuList" flex="1" oncommand="onDirectoryChanged(event.target);" crop="start"> 1.30 + <menupopup id="lookInMenu"/> 1.31 + </menulist> 1.32 + <button id="folderUpButton" class="up-button" tooltiptext="&folderUp.tooltiptext;" oncommand="goUp();"/> 1.33 + <button id="homeButton" class="home-button" tooltiptext="&folderHome.tooltiptext;" oncommand="goHome();"/> 1.34 + <button id="newDirButton" hidden="true" class="new-dir-button" tooltiptext="&folderNew.tooltiptext;" oncommand="newDir();"/> 1.35 +</hbox> 1.36 + 1.37 +<hbox flex="1"> 1.38 + <deck id="errorShower" flex="1"> 1.39 + <tree id="directoryTree" flex="1" class="focusring" seltype="single" 1.40 + onclick="onClick(event);" 1.41 + ondblclick="onDblClick(event);" 1.42 + onkeypress="onKeypress(event);" 1.43 + onfocus="onTreeFocus(event);" 1.44 + onselect="onSelect(event);"> 1.45 + <treecols> 1.46 + <treecol id="FilenameColumn" label="&name.label;" flex="1"/> 1.47 + <splitter class="tree-splitter"/> 1.48 + <treecol id="FileSizeColumn" label="&size.label;" flex="1"/> 1.49 + <splitter class="tree-splitter"/> 1.50 + <treecol id="LastModifiedColumn" label="&lastModified.label;" flex="1"/> 1.51 + </treecols> 1.52 + <treechildren/> 1.53 + </tree> 1.54 + <label>&noPermissionError.label;</label> 1.55 + </deck> 1.56 +</hbox> 1.57 + 1.58 +<grid style="margin-top: 5px"> 1.59 + <columns> 1.60 + <column/> 1.61 + <column flex="1"/> 1.62 + </columns> 1.63 + 1.64 + <rows> 1.65 + <row align="center"> 1.66 + <label value="&textInput.label;" id="textInputLabel" control="textInput" accesskey="&textInput.accesskey;"/> 1.67 + <textbox id="textInput" flex="1" oninput="doEnabling()" 1.68 + type="autocomplete" autocompletesearch="file" 1.69 + onfocus="onTextFieldFocus();"/> 1.70 + </row> 1.71 + <row id="filterBox" hidden="true" align="center"> 1.72 + <label value="&filterMenuList.label;" control="filterMenuList" accesskey="&filterMenuList.accesskey;"/> 1.73 + <menulist id="filterMenuList" flex="1" oncommand="onFilterChanged(event.target);"/> 1.74 + </row> 1.75 + </rows> 1.76 +</grid> 1.77 +<hbox class="dialog-button-box" align="center"> 1.78 + <checkbox label="&showHiddenFiles.label;" oncommand="toggleShowHidden();" 1.79 + flex="1" accesskey="&showHiddenFiles.accesskey;"/> 1.80 + <button dlgtype="cancel" icon="cancel" class="dialog-button"/> 1.81 + <button dlgtype="accept" icon="open" class="dialog-button"/> 1.82 +</hbox> 1.83 +</dialog>