]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/xul/staff_client/chrome/content/circ/offline_checkout.xul
LP 2061136 follow-up: ng lint --fix
[Evergreen.git] / Open-ILS / xul / staff_client / chrome / content / circ / offline_checkout.xul
1 <?xml version="1.0"?>
2 <!-- Application: Evergreen Staff Client -->
3 <!-- Screen: Example Template for remote xul -->
4
5 <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
6 <!-- STYLESHEETS -->
7 <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
8 <?xml-stylesheet href="chrome://open_ils_staff_client/skin/global.css" type="text/css"?>
9
10 <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
11 <!-- LOCALIZATION -->
12 <!DOCTYPE window SYSTEM "chrome://open_ils_staff_client/locale/lang.dtd">
13
14 <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
15 <!-- OVERLAYS -->
16 <?xul-overlay href="chrome://open_ils_staff_client/content/OpenILS/util_overlay_offline.xul"?>
17
18 <window id="offline_checkout_win" sizemode="maximized"
19     onload="try { my_init(); font_helper(); persist_helper(); } catch(E) { alert(E); }"
20     xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
21
22     <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
23     <!-- BEHAVIOR -->
24         <script type="text/javascript">
25         var myPackageDir = 'open_ils_staff_client'; var IAMXUL = true; var g = {};
26     </script>
27         <scripts id="openils_util_scripts"/>
28
29     <script type="text/javascript" src="chrome://open_ils_staff_client/content/main/JSAN.js"/>
30     <script type="text/javascript" src="offline_checkout.js"/>
31
32     <messagecatalog id="offlineStrings" src="chrome://open_ils_staff_client/locale/offline.properties"/>
33
34     <groupbox flex="1">
35         <caption label="&staff.circ.offline_checkout.main.label;"/>
36         <hbox flex="1">
37             <vbox flex="1">
38                 <hbox>
39                      <label value="&common.step1.label;" style="font-weight: bold" />
40                      <description>&common.check_date.description;</description>
41                 </hbox>
42                 <hbox>
43                      <label value="&common.step2.label;" style="font-weight: bold" accesskey="&common.step2.accesskey;" control="p_barcode"/>
44                     <description>&staff.circ.offline_checkout.step2.description;</description>
45                 </hbox>
46                 <hbox>
47                     <spacer flex="1"/>
48                     <textbox id="p_barcode"/>
49                 </hbox>
50                 <hbox>
51                     <spacer flex="1"/>
52                     <description>&common.check_barcode.description;</description>
53                     <checkbox id="strict_p_barcode" oils_persist="checked"/>
54                 </hbox>
55                 <hbox>
56                     <label value="&common.step3.label;" style="font-weight: bold" accesskey="&common.step3.accesskey;" control="duedate"/>
57                     <description>&common.due_date.description;</description>
58                 </hbox>
59                 <hbox>
60                     <spacer flex="1"/>
61                     <textbox id="duedate" style="font-family: monospace;"/>
62                 </hbox>
63                 <hbox>
64                     <spacer flex="1"/>
65                     <menulist id="duedate_menu">
66                         <menupopup>
67                             <menuitem label="&common.date_helper;" value="0"/>
68                             <menuitem label="&common.date_helper.3_days;" value="3"/>
69                             <menuitem label="&common.date_helper.7_days;" value="7"/>
70                             <menuitem label="&common.date_helper.14_days;" value="14"/>
71                             <menuitem label="&common.date_helper.21_days;" value="21"/>
72                             <menuitem label="&common.date_helper.28_days;" value="28"/>
73                             <menuitem label="&common.date_helper.30_days;" value="30"/>
74                         </menupopup>
75                     </menulist>
76                 </hbox>
77                 <hbox>
78                     <label value="&common.step4.label;" style="font-weight: bold" accesskey="&common.step4.accesskey;" control="i_barcode"/>
79                     <description>&common.enter_barcode.description;</description>
80                 </hbox>
81                 <hbox>
82                     <spacer flex="1"/>
83                     <hbox><textbox id="i_barcode"/><button id="enter" label="&common.enter.label;" accesskey="&common.enter.accesskey;"/></hbox>
84                 </hbox>
85                 <hbox>
86                     <spacer flex="1"/>
87                     <hbox id="x_noncat_type"/>
88                 </hbox>
89                 <hbox>
90                     <spacer flex="1"/>
91                     <description>&common.check_barcode.description;</description>
92                     <checkbox id="strict_i_barcode" oils_persist="checked"/>
93                 </hbox>
94                 <hbox>
95                     <label value="&common.step5.label;" style="font-weight: bold"/>
96                     <description>&staff.circ.offline_checkout.step5.description;</description>
97                 </hbox>
98                 <hbox>
99                     <label value="&common.step6.label;" style="font-weight: bold"/>
100                     <description>&staff.circ.offline.finish.description;</description>
101                 </hbox>
102                 <hbox>
103                     <spacer flex="1"/>
104                     <description>&staff.circ.offline.print.description;</description>
105                     <checkbox id="print_receipt" oils_persist="checked"/>
106                 </hbox>
107                 <hbox>
108                     <spacer flex="1"/>
109                     <button id="cancel" hidden="true" label="&common.cancel;" />
110                     <button id="submit" label="&common.save_transactions.label;" accesskey="&common.save_transactions.accesskey;" />
111                 </hbox>
112             </vbox>
113             <splitter>
114                 <grippy />
115             </splitter>
116             <vbox flex="2">
117                 <tree id="checkout_list" flex="1" enableColumnDrag="true"/>
118                 <hbox id="checkout_bottom_ui">
119                     <spacer flex="1"/>
120                     <button id="delete" label="&common.delete_transactions.label;" oncommand="alert('&common.unimplemented;');"/>
121                 </hbox>
122             </vbox>
123         </hbox>
124     </groupbox>
125
126 </window>
127