]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/xul/staff_client/chrome/content/circ/offline_renew.xul
LP 2061136 follow-up: ng lint --fix
[Evergreen.git] / Open-ILS / xul / staff_client / chrome / content / circ / offline_renew.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_renew.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_renew.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_renew.p_barcode.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.30_days;" value="30"/>
72                         </menupopup>
73                     </menulist>
74                 </hbox>
75                 <hbox>
76                     <label value="&common.step4.label;" style="font-weight: bold" accesskey="&common.step4.accesskey;" control="i_barcode"/>
77                     <description>&common.enter_barcode.description;</description>
78                 </hbox>
79                 <hbox>
80                     <spacer flex="1"/>
81                     <hbox><textbox id="i_barcode"/><button id="enter" label="&common.enter.label;" accesskey="&common.enter.accesskey;"/></hbox>
82                 </hbox>
83                 <hbox>
84                     <spacer flex="1"/>
85                     <description>&common.check_barcode.description;</description>
86                     <checkbox id="strict_i_barcode" oils_persist="checked"/>
87                 </hbox>
88                 <hbox>
89                     <label value="&common.step5.label;" style="font-weight: bold"/>
90                     <description>&staff.circ.offline_renew.step5.label;</description>
91                 </hbox>
92                 <hbox>
93                     <label value="&common.step6.label;" style="font-weight: bold"/>
94                     <description>&staff.circ.offline.finish.description;</description>
95                 </hbox>
96                 <hbox>
97                     <spacer flex="1"/>
98                     <description>&staff.circ.offline.print.description;</description>
99                     <checkbox id="print_receipt" oils_persist="checked"/>
100                 </hbox>
101                 <hbox>
102                     <spacer flex="1"/>
103                     <button id="cancel" hidden="true" label="&common.cancel;" />
104                     <button id="submit" label="&common.save_transactions.label;" accesskey="&common.save_transactions.accesskey;" />
105                 </hbox>
106             </vbox>
107             <splitter>
108                 <grippy />
109             </splitter>
110             <vbox flex="2">
111                 <tree id="checkout_list" flex="1" enableColumnDrag="true"/>
112                 <hbox id="checkout_bottom_ui">
113                     <spacer flex="1"/>
114                     <button id="delete" label="&common.delete_transactions.label;" oncommand="alert('&common.unimplemented;');"/>
115                 </hbox>
116             </vbox>
117         </hbox>
118     </groupbox>
119
120 </window>
121