2 <!-- Application: Evergreen Staff Client -->
3 <!-- Screen: Example Template for remote xul -->
5 <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
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"?>
10 <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
12 <!DOCTYPE window SYSTEM "chrome://open_ils_staff_client/locale/lang.dtd">
14 <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
16 <?xul-overlay href="chrome://open_ils_staff_client/content/OpenILS/util_overlay_offline.xul"?>
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">
22 <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
24 <script type="text/javascript">
25 var myPackageDir = 'open_ils_staff_client'; var IAMXUL = true; var g = {};
27 <scripts id="openils_util_scripts"/>
29 <script type="text/javascript" src="chrome://open_ils_staff_client/content/main/JSAN.js"/>
30 <script type="text/javascript" src="offline_renew.js"/>
32 <messagecatalog id="offlineStrings" src="chrome://open_ils_staff_client/locale/offline.properties"/>
35 <caption label="&staff.circ.offline_renew.main.label;"/>
39 <label value="&common.step1.label;" style="font-weight: bold" />
40 <description>&common.check_date.description;</description>
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>
48 <textbox id="p_barcode" />
52 <description>&common.check_barcode.description;</description>
53 <checkbox id="strict_p_barcode" oils_persist="checked"/>
56 <label value="&common.step3.label;" style="font-weight: bold" accesskey="&common.step3.accesskey;" control="duedate"/>
57 <description>&common.due_date.description;</description>
61 <textbox id="duedate" style="font-family: monospace;"/>
65 <menulist id="duedate_menu">
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"/>
76 <label value="&common.step4.label;" style="font-weight: bold" accesskey="&common.step4.accesskey;" control="i_barcode"/>
77 <description>&common.enter_barcode.description;</description>
81 <hbox><textbox id="i_barcode"/><button id="enter" label="&common.enter.label;" accesskey="&common.enter.accesskey;"/></hbox>
85 <description>&common.check_barcode.description;</description>
86 <checkbox id="strict_i_barcode" oils_persist="checked"/>
89 <label value="&common.step5.label;" style="font-weight: bold"/>
90 <description>&staff.circ.offline_renew.step5.label;</description>
93 <label value="&common.step6.label;" style="font-weight: bold"/>
94 <description>&staff.circ.offline.finish.description;</description>
98 <description>&staff.circ.offline.print.description;</description>
99 <checkbox id="print_receipt" oils_persist="checked"/>
103 <button id="cancel" hidden="true" label="&common.cancel;" />
104 <button id="submit" label="&common.save_transactions.label;" accesskey="&common.save_transactions.accesskey;" />
111 <tree id="checkout_list" flex="1" enableColumnDrag="true"/>
112 <hbox id="checkout_bottom_ui">
114 <button id="delete" label="&common.delete_transactions.label;" oncommand="alert('&common.unimplemented;');"/>