home *** CD-ROM | disk | FTP | other *** search
/ PC World 2007 March / PCWorld_2007-03_cd.bin / komunikace / nvu / nvu-1.0-cs-CZ.win32.installer.exe / chrome / toolkit.jar / content / global / printProgress.xul < prev    next >
Extensible Markup Language  |  2003-08-16  |  2KB  |  62 lines

  1. <?xml version="1.0"?> 
  2.  
  3. <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
  4. <?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>
  5.  
  6. <!DOCTYPE window SYSTEM "chrome://global/locale/printProgress.dtd">
  7.  
  8. <window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  9.         class="dialog"
  10.         title="&printWindow.title;"
  11.         style="width: 36em;"
  12.         onload="onLoad()"
  13.         onunload="onUnload()">
  14.  
  15.   <script type="application/x-javascript" src="chrome://global/content/printProgress.js"/>
  16.  
  17.     <!-- This is non-visible content that simply adds translatable string
  18.          into the document so that it is accessible to JS code.
  19.          
  20.          XXX-TODO: 
  21.           convert to use string bundles. 
  22.     -->
  23.   
  24.     <data id="dialog.strings.dialogCloseLabel">&dialogClose.label;</data>
  25.     <data id="dialog.strings.printComplete">&printComplete;</data>
  26.     <data id="dialog.strings.progressText">&percentPrint;</data>
  27.     <data id="dialog.strings.progressLabel">&progress;</data>
  28.     <data id="dialog.strings.preparing">&preparing;</data>
  29.  
  30.     <grid flex="1">
  31.       <columns>
  32.         <column/>
  33.         <column/>
  34.         <column/>
  35.       </columns>
  36.       
  37.       <rows>
  38.         <row>
  39.           <hbox pack="end">
  40.             <label id="dialog.titleLabel" value="&title;"/>
  41.           </hbox>
  42.             <label id="dialog.title"/>
  43.         </row>
  44.         <row class="thin-separator">             
  45.           <hbox pack="end">
  46.             <label id="dialog.progressLabel" value="&progress;"/>
  47.           </hbox>
  48.             <label id="dialog.tempLabel" value="&preparing;"/>
  49.             <progressmeter id="dialog.progress" mode="normal" value="0"/>
  50.           <hbox pack="end" style="min-width: 2.5em;">
  51.             <label id="dialog.progressText"/>
  52.           </hbox>
  53.         </row>
  54.       </rows>
  55.     </grid>
  56.     <separator/>
  57.     <hbox id="CancelButton" pack="end">
  58.       <button id="cancel" label="&dialogCancel.label;" 
  59.         oncommand="doCancelButton()"/>
  60.     </hbox>
  61. </window>
  62.