]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/xul/staff_client/chrome/content/circ/offline_in_house_use.xul
LP 2061136 follow-up: ng lint --fix
[Evergreen.git] / Open-ILS / xul / staff_client / chrome / content / circ / offline_in_house_use.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_in_house_use.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_in_house_use.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="count"/>
44                     <description>&staff.circ.offline_in_house_use.uses.label;</description>
45                 </hbox>
46                 <hbox>
47                     <spacer flex="1"/>
48                     <textbox id="count" value="1"/>
49                 </hbox>
50
51                 <hbox>
52                     <label value="&common.step3.label;" style="font-weight: bold" accesskey="&common.step3.accesskey;" control="i_barcode"/>
53                     <description>&common.enter_barcode.description;</description>
54                 </hbox>
55                 <hbox>
56                     <spacer flex="1"/>
57                     <hbox><textbox id="i_barcode"/><button id="enter" label="&common.enter.label;" accesskey="&common.enter.accesskey;"/></hbox>
58                 </hbox>
59                 <hbox>
60                     <spacer flex="1"/>
61                     <description>&common.check_barcode.description;</description>
62                     <checkbox id="strict_i_barcode" oils_persist="checked"/>
63                 </hbox>
64                 <hbox>
65                     <label value="&common.step4.label;" style="font-weight: bold"/>
66                     <description>&staff.circ.offline_in_house_use.step4.description;</description>
67                 </hbox>
68                 <hbox>
69                     <label value="&common.step5.label;" style="font-weight: bold"/>
70                     <description>&staff.circ.offline.finish.description;</description>
71                 </hbox>
72                 <hbox>
73                     <spacer flex="1"/>
74                     <description>&staff.circ.offline.print.description;</description>
75                     <checkbox id="print_receipt" oils_persist="checked"/>
76                 </hbox>
77                 <hbox>
78                     <spacer flex="1"/>
79                     <button id="cancel" hidden="true" label="&common.cancel;" oncommand="g.list.clear()"/>
80                     <button id="submit" label="&common.save_transactions.label;" accesskey="&common.save_transactions.accesskey;" />
81                 </hbox>
82             </vbox>
83             <splitter>
84                 <grippy />
85             </splitter>
86             <vbox flex="2">
87                 <tree id="checkout_list" flex="1" enableColumnDrag="true"/>
88                 <hbox id="checkout_bottom_ui">
89                     <spacer flex="1"/>
90                     <button id="delete" label="&common.delete_transactions.label;" oncommand="alert('&common.unimplemented;');"/>
91                 </hbox>
92             </vbox>
93         </hbox>
94     </groupbox>
95
96 </window>
97