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