]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/xul/staff_client/server/circ/renew_overlay.xul
Improve Firefox/XULRunner Support
[Evergreen.git] / Open-ILS / xul / staff_client / server / circ / renew_overlay.xul
1 <?xml version="1.0" encoding="UTF-8"?>
2
3 <!-- LOCALIZATION -->
4 <!DOCTYPE overlay PUBLIC "" ""[
5     <!--#include virtual="/opac/locale/${locale}/lang.dtd"-->
6 ]>
7
8 <overlay id="renew_overlay" 
9     xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
10
11 <script>dump('loading renew_overlay.xul\n');</script>
12
13 <commandset id="renew_cmds" />
14
15 <popupset id="copy_status_popupset">
16     <menupopup id="copy_status_actions" position="at_pointer"> 
17         <menuitem command="sel_clip" label="&staff.circ.renew_overlay.sel_clip.label;" accesskey="&staff.circ.renew_overlay.sel_clip.accesskey;" />
18         <menuitem command="sel_bucket" label="&staff.circ.renew_overlay.sel_bucket.label;" accesskey="&staff.circ.renew_overlay.sel_bucket.accesskey;"/>
19         <menuitem command="sel_opac" label="&staff.circ.renew_overlay.sel_opac.label;" accesskey="&staff.circ.renew_overlay.sel_opac.accesskey;" />
20         <menuitem command="sel_copy_details" label="&staff.circ.renew_overlay.sel_copy_details.label;" accesskey="&staff.circ.renew_overlay.sel_copy_details.accesskey;" />
21         <menuitem command="sel_patron" label="&staff.circ.renew_overlay.sel_patron.label;" accesskey="&staff.circ.renew_overlay.sel_patron.accesskey;"/>
22         <menuitem command="sel_last_patron" label="&staff.circ.renew_overlay.sel_last_patron.label;" accesskey="&staff.circ.renew_overlay.sel_last_patron.accesskey;"/>
23         <menuseparator/>
24         <menuitem command="sel_edit" label="&staff.circ.renew_overlay.sel_edit.label;" accesskey="&staff.circ.renew_overlay.sel_edit.accesskey;" />
25         <menuseparator />
26         <menuitem command="sel_mark_items_damaged" label="&staff.circ.renew_overlay.sel_mark_items_damaged.label;" accesskey="&staff.circ.renew_overlay.sel_mark_items_damaged.accesskey;"/>
27         <menuseparator />
28         <menuitem command="sel_transit_abort" label="&staff.circ.renew_overlay.sel_transit_abort.label;" />
29         <menuseparator />
30         <menuitem command="sel_spine" label="&staff.circ.renew_overlay.sel_spine.label;" accesskey="&staff.circ.renew_overlay.sel_spine.accesskey;"/>
31         <menuitem command="save_columns" label="&staff.circ.renew_overlay.save_columns.label;"/>
32     </menupopup>
33 </popupset>
34
35 <box id="renew_main" flex="1" orient="vertical" class="my_overflow">
36     <vbox id="cmvb1" flex="1"/>
37 </box>
38
39 <vbox id="cmvb1" flex="1">
40     <hbox id="background" style="background-color: orange;">
41         <spacer flex="1"/>
42         <vbox>
43             <label id="background-text" value="&staff.circ.renew_overlay.background_text;" style="font-size: x-large; font-weight: bold;"/>
44         </vbox>
45         <spacer flex="1"/>
46     </hbox>
47     <groupbox id="cmgb1" flex="2">
48         <caption id="caption" label="&staff.circ.renew.caption;" />
49         <hbox id="renew_top_ui" />
50         <tree id="renew_list" flex="1" enableColumnDrag="true" context="copy_status_actions" />
51         <hbox id="renew_bottom_ui" />
52     </groupbox>
53 </vbox>
54
55 <hbox id="renew_top_ui">
56     <vbox>
57         <hbox>
58             <label id="renew_scan_barcode_label" 
59                 value="&staff.circ.renew.scan.label;" 
60                 accesskey="&staff.circ.renew.scan.accesskey;" 
61                 control="renew_barcode_entry_textbox"/>
62             <textbox id="renew_barcode_entry_textbox" context="clipboard"/>
63             <button id="renew_submit_barcode_button" 
64                 label="&staff.circ.renew.submit.label;" 
65                 command="cmd_renew_submit_barcode"
66                 oldaccesskey="&staff.circ.renew.submit.accesskey;"/>
67         </hbox>
68         <label id="no_change_label" value="" style="color: red" hidden="true"/>
69     </vbox>
70     <spacer flex="1"/>
71     <hbox id="duedate_hbox">
72         <checkbox id="renew_duedate_checkbox" label="&staff.circ.renew_overlay.duedate.label;" accesskey="&staff.circ.renew_overlay.duedate.accesskey;" oncommand="if (this.checked) { this.nextSibling.focus(); } else { document.getElementById('renew_barcode_entry_textbox').focus(); }"/>
73         <datepicker id="renew_duedate_datepicker" type="popup" />
74         <timepicker id="renew_duedate_timepicker" type="popup" />
75     </hbox>
76     <vbox>
77         <hbox>
78             <menubar>
79             <menu label="&staff.circ.renew_overlay.actions.label;" accesskey="&staff.circ.renew_overlay.actions.accesskey;">
80                 <menupopup>
81                     <menuitem command="sel_clip" label="&staff.circ.renew_overlay.sel_clip.label;" accesskey="&staff.circ.renew_overlay.sel_clip.accesskey;" />
82                     <menuitem command="sel_bucket" label="&staff.circ.renew_overlay.sel_bucket.label;" accesskey="&staff.circ.renew_overlay.sel_bucket.accesskey;"/>
83                     <menuitem command="sel_opac" label="&staff.circ.renew_overlay.sel_opac.label;" accesskey="&staff.circ.renew_overlay.sel_opac.accesskey;" />
84                     <menuitem command="sel_copy_details" label="&staff.circ.renew_overlay.sel_copy_details.label;" accesskey="&staff.circ.renew_overlay.sel_copy_details.accesskey;" />
85                     <menuitem command="sel_patron" label="&staff.circ.renew_overlay.sel_patron.label;" accesskey="&staff.circ.renew_overlay.sel_patron.accesskey;"/>
86                     <menuitem command="sel_last_patron" label="&staff.circ.renew_overlay.sel_last_patron.label;" accesskey="&staff.circ.renew_overlay.sel_last_patron.accesskey;"/>
87                     <menuseparator/>
88                     <menuitem command="sel_edit" label="&staff.circ.renew_overlay.sel_edit.label;" accesskey="&staff.circ.renew_overlay.sel_edit.accesskey;" />
89                     <menuseparator />
90                     <menuitem command="sel_mark_items_damaged" label="&staff.circ.renew_overlay.sel_mark_items_damaged.label;" accesskey="&staff.circ.renew_overlay.sel_mark_items_damaged.accesskey;"/>
91                     <menuseparator />
92                     <menuitem command="sel_transit_abort" label="&staff.circ.renew_overlay.sel_transit_abort.label;" />
93                     <menuseparator />
94                     <menuitem command="sel_spine" label="&staff.circ.renew_overlay.sel_spine.label;" accesskey="&staff.circ.renew_overlay.sel_spine.accesskey;"/>
95                     <menuitem command="save_columns" label="&staff.circ.renew_overlay.save_columns.label;"/>
96                 </menupopup>
97             </menu>
98             </menubar>
99         </hbox>
100         <label id="fine_tally" value="" amount="0.00" style="color: red" hidden="true" />
101     </vbox>
102
103 </hbox>
104
105 <hbox id="renew_bottom_ui">
106     <button id="list_actions" oncommand="this.firstChild.showPopup();"
107         label="&staff.generic.list_actions.label;" 
108         accesskey="&staff.generic.list_actions.accesskey;" 
109         type="menu" allowevents="true">
110         <menupopup id="list_actions_popup">
111             <menuitem command="sel_clip" label="&staff.generic.list_actions.sel_clip.label;" accesskey="&staff.generic.list_actions.sel_clip.accesskey;" disabled="true" />
112             <menuitem command="cmd_csv_to_printer" label="&staff.generic.list_actions.csv_to_printer.label;" accesskey="&staff.generic.list_actions.csv_to_printer.accesskey;" />
113             <menuitem command="cmd_csv_to_clipboard" label="&staff.generic.list_actions.csv_to_clipboard.label;" accesskey="&staff.generic.list_actions.csv_to_clipboard.accesskey;" />
114             <menuitem command="cmd_csv_to_file" label="&staff.generic.list_actions.csv_to_file.label;" accesskey="&staff.generic.list_actions.csv_to_file.accesskey;" />
115             <menuitem command="save_columns" label="&staff.generic.list_actions.save_columns.label;" accesskey="&staff.generic.list_actions.save_columns.accesskey;" />
116         </menupopup>
117     </button>
118
119     <button id="renew_print" 
120         label="&staff.renew.print_receipt.label;" 
121         command="cmd_renew_print"
122         accesskey="&staff.renew.print_receipt.accesskey;"/>
123     <checkbox id="trim_list" label="&staff.circ.renew_overlay.trim_list.label;" checked="true" oils_persist="checked"/> 
124     <checkbox id="strict_barcode" label="&staff.circ.renew_overlay.strict_barcode.label;" checked="false" oils_persist="checked"/> 
125     <spacer id="pcii3s" flex="1"/>
126 </hbox>
127
128 </overlay>