home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 35 Internet / 35-Internet.zip / mozil06.zip / bin / chrome / toolkit.jar / content / global / downloadProgress.xul < prev    next >
Extensible Markup Language  |  2001-02-14  |  4KB  |  119 lines

  1. <?xml version="1.0"?> 
  2.  
  3.  <!-- -*- Mode: HTML -*- -->
  4.  
  5. <!-- The contents of this file are subject to the Netscape Public
  6. License Version 1.1 (the "License"); you may not use this file
  7. except in compliance with the License. You may obtain a copy of
  8. the License at http://www.mozilla.org/NPL/
  9.  
  10. Software distributed under the License is distributed on an "AS
  11. IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
  12. implied. See the License for the specific language governing
  13. rights and limitations under the License.
  14.  
  15. The Original Code is Mozilla Communicator client code, released
  16. March 31, 1998.
  17.  
  18. The Initial Developer of the Original Code is Netscape
  19. Communications Corporation. Portions created by Netscape are
  20. Copyright (C) 1998-2000 Netscape Communications Corporation. All
  21. Rights Reserved.
  22.  
  23. Contributor(s):
  24.   Ben Goodger <ben@netscape.com>
  25.   Blake Ross <BlakeR1234@aol.com>
  26.   Henrik Gemal <gemal@gemal.dk>
  27.  
  28.  -->
  29.  
  30.  
  31. <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
  32. <?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>
  33.  
  34. <!DOCTYPE window SYSTEM "chrome://global/locale/downloadProgress.dtd">
  35.  
  36. <window xmlns:html="http://www.w3.org/1999/xhtml"
  37.             xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  38.         class="dialog"
  39.         orient="vertical"
  40.         title="&downloadWindow.title;"
  41.         onload="onLoad()"
  42.         style="width: 36em;"
  43.         onunload="onUnload()">
  44.  
  45.     <script src="chrome://global/content/downloadProgress.js"></script>
  46.  
  47.     <!-- This is non-visible content that simply adds translatable string
  48.          into the document so that it is accessible to JS code.
  49.          
  50.          XXX-TODO: 
  51.           convert to use string bundles. 
  52.     -->
  53.   
  54.     <data id="dialog.strings.confirmCancel">&confirmCancel;</data>
  55.     <data id="dialog.strings.progressMsg">&progressMsg;</data>
  56.     <data id="dialog.strings.completeMsg">&completeMsg;</data>
  57.     <data id="dialog.strings.percentMsg">&percentMsg;</data>
  58.     <data id="dialog.strings.shortTimeFormat">&shortTimeFormat;</data>
  59.     <data id="dialog.strings.longTimeFormat">&longTimeFormat;</data>
  60.     <data id="dialog.strings.unknownTime">&unknownTime;</data>
  61.  
  62.     <grid flex="1">
  63.       <columns>
  64.         <column/>
  65.         <column flex="1"/>
  66.       </columns>
  67.       
  68.       <rows>
  69.         <row>
  70.           <box autostretch="never" halign="right">
  71.             <text class="label" value="&location;"/>
  72.           </box>
  73.           <textfield id="dialog.location" class="scrollfield" readonly="" flex="1"/>
  74.         </row>
  75.         <separator class="thin"/>
  76.         <row>
  77.           <box autostretch="never" halign="right">
  78.             <text class="label" value="&saving;"/>
  79.           </box>
  80.           <textfield id="dialog.fileName" class="scrollfield" readonly="" flex="1"/>
  81.         </row>
  82.         <separator class="thin"/>
  83.         <row>
  84.           <box autostretch="never" halign="right">
  85.             <text class="label" value="&status;"/>
  86.           </box>
  87.           <text class="label" id="dialog.status" value=" " flex="1"/>
  88.         </row>
  89.         <separator class="thin"/>
  90.         <row>
  91.           <box autostretch="never" halign="right">
  92.             <text class="label" value="&timeLeft;"/>
  93.           </box>
  94.           <text class="label" id="dialog.timeLeft" value=" "/>
  95.         </row>
  96.         <separator class="thin"/>
  97.         <row>
  98.           <box autostretch="never" halign="right">
  99.             <text class="label" value="&timeElapsed;"/>
  100.           </box>
  101.           <text class="label" id="dialog.timeElapsed" value=" "/>
  102.         </row>
  103.         <separator class="thin"/>
  104.         <row>
  105.           <spring/>
  106.           <progressmeter id="dialog.progress" mode="normal" value="0"/>
  107.         </row>
  108.       </rows>
  109.     </grid>
  110.     
  111.     <separator/>
  112.     
  113.     <box id="CancelButton">
  114.       <spring flex="1"/>
  115.       <button class="dialog" id="cancel" value="&dialogCancel.label;" onclick="doCancelButton()"/>
  116.       <spring flex="1"/>
  117.     </box>
  118.  
  119. </window>