]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/xul/staff_client/server/circ/checkin_overlay.xul
More CSS configurability for Checkin/Hold Capture interfaces, mostly so we can style...
[working/Evergreen.git] / Open-ILS / xul / staff_client / server / circ / checkin_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="checkin_overlay" 
9         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
10
11 <script>dump('loading checkin_overlay.xul\n');</script>
12
13 <commandset id="checkin_cmds" />
14
15 <popupset id="copy_status_popupset">
16         <popup id="copy_status_actions" position="at_pointer"> 
17                 <menuitem command="sel_clip" label="&staff.circ.checkin_overlay.sel_clip.label;" accesskey="&staff.circ.checkin_overlay.sel_clip.accesskey;" />
18                 <menuitem command="sel_bucket" label="&staff.circ.checkin_overlay.sel_bucket.label;" accesskey="&staff.circ.checkin_overlay.sel_bucket.accesskey;"/>
19                 <menuitem command="sel_opac" label="&staff.circ.checkin_overlay.sel_opac.label;" accesskey="&staff.circ.checkin_overlay.sel_opac.accesskey;" />
20                 <menuitem command="sel_copy_details" label="&staff.circ.checkin_overlay.sel_copy_details.label;" accesskey="&staff.circ.checkin_overlay.sel_copy_details.accesskey;" />
21                 <menuitem command="sel_patron" label="&staff.circ.checkin_overlay.sel_patron.label;" accesskey="&staff.circ.checkin_overlay.sel_patron.accesskey;"/>
22                 <menuitem command="sel_last_patron" label="&staff.circ.checkin_overlay.sel_last_patron.label;" accesskey="&staff.circ.checkin_overlay.sel_last_patron.accesskey;"/>
23                 <menuseparator/>
24                 <menuitem command="sel_edit" label="&staff.circ.checkin_overlay.sel_edit.label;" accesskey="&staff.circ.checkin_overlay.sel_edit.accesskey;" />
25                 <menuitem command="sel_backdate" label="&staff.circ.checkin_overlay.sel_backdate.label;" accesskey="&staff.circ.checkin_overlay.sel_backdate.accesskey;" />
26                 <menuseparator />
27                 <menuitem command="sel_mark_items_damaged" label="&staff.circ.checkin_overlay.sel_mark_items_damaged.label;" accesskey="&staff.circ.checkin_overlay.sel_mark_items_damaged.accesskey;"/>
28                 <menuseparator />
29                 <menuitem command="sel_transit_abort" label="&staff.circ.checkin_overlay.sel_transit_abort.label;" />
30                 <menuseparator />
31                 <menuitem command="sel_spine" label="&staff.circ.checkin_overlay.sel_spine.label;" accesskey="&staff.circ.checkin_overlay.sel_spine.accesskey;"/>
32                 <menuitem command="save_columns" label="&staff.circ.checkin_overlay.save_columns.label;"/>
33         </popup>
34 </popupset>
35
36 <box id="checkin_main" flex="1" orient="vertical" class="my_overflow">
37         <vbox id="cmvb1" flex="1"/>
38 </box>
39
40 <vbox id="cmvb1" flex="1">
41         <hbox id="background" class="checkin_screen_normal">
42                 <spacer flex="1"/>
43                 <vbox>
44                         <hbox align="center"><label id="background-text" value="&staff.circ.checkin_overlay.background_text;" /></hbox>
45             <vbox align="center">
46                 <description id="do_not_alert_on_precat_indicator" hidden="true">&staff.circ.checkin_overlay.do_not_alert_on_precat.label;</description>
47                 <description id="suppress_holds_and_transits_indicator" hidden="true">&staff.circ.checkin_overlay.suppress_holds_and_transits.label;</description>
48                 <description id="amnesty_mode_indicator" hidden="true">&staff.circ.checkin_overlay.amnesty_mode.label;</description>
49                 <description id="checkin_auto_print_slips_indicator" hidden="true">&staff.circ.checkin_overlay.checkin_auto_print_slips.label;</description>
50             </vbox>
51                 </vbox>
52                 <spacer flex="1"/>
53         </hbox>
54         <groupbox id="cmgb1" flex="2">
55                 <caption id="caption" label="&staff.circ.checkin.caption;" />
56                 <hbox id="checkin_top_ui" />
57                 <tree id="checkin_list" flex="1" enableColumnDrag="true" context="copy_status_actions" />
58                 <hbox id="checkin_bottom_ui" />
59         </groupbox>
60 </vbox>
61
62 <hbox id="checkin_top_ui">
63         <vbox>
64                 <hbox>
65                         <label id="checkin_scan_barcode_label" 
66                                 value="&staff.circ.checkin.scan.label;" 
67                                 accesskey="&staff.circ.checkin.scan.accesskey;" 
68                                 control="checkin_barcode_entry_textbox"/>
69                         <textbox id="checkin_barcode_entry_textbox" context="clipboard"/>
70                         <button id="checkin_submit_barcode_button" 
71                                 label="&staff.circ.checkin.submit.label;" 
72                                 command="cmd_checkin_submit_barcode"
73                                 oldaccesskey="&staff.circ.checkin.submit.accesskey;"/>
74                 </hbox>
75                 <label id="no_change_label" value="" style="color: red" hidden="true"/>
76         </vbox>
77         <spacer flex="1"/>
78         <vbox>
79                 <hbox>
80                         <hbox id="checkin_effective_date_hbox">
81                                 <label id="checkin_effective_date_label" value="&staff.circ.checkin_overlay.effective_date.label;" control="checkin_effective_datepicker" accesskey="&staff.circ.checkin_overlay.effective_date.accesskey;"/>
82                                 <datepicker id="checkin_effective_datepicker" type="popup" context="clipboard"/>
83                         </hbox>
84                         <menubar>
85                         <menu label="&staff.circ.checkin_overlay.actions.label;" accesskey="&staff.circ.checkin_overlay.actions.accesskey;">
86                                 <menupopup>
87                                         <menuitem command="sel_clip" label="&staff.circ.checkin_overlay.sel_clip.label;" accesskey="&staff.circ.checkin_overlay.sel_clip.accesskey;" />
88                                         <menuitem command="sel_bucket" label="&staff.circ.checkin_overlay.sel_bucket.label;" accesskey="&staff.circ.checkin_overlay.sel_bucket.accesskey;"/>
89                                         <menuitem command="sel_opac" label="&staff.circ.checkin_overlay.sel_opac.label;" accesskey="&staff.circ.checkin_overlay.sel_opac.accesskey;" />
90                                         <menuitem command="sel_copy_details" label="&staff.circ.checkin_overlay.sel_copy_details.label;" accesskey="&staff.circ.checkin_overlay.sel_copy_details.accesskey;" />
91                                         <menuitem command="sel_patron" label="&staff.circ.checkin_overlay.sel_patron.label;" accesskey="&staff.circ.checkin_overlay.sel_patron.accesskey;"/>
92                                         <menuitem command="sel_last_patron" label="&staff.circ.checkin_overlay.sel_last_patron.label;" accesskey="&staff.circ.checkin_overlay.sel_last_patron.accesskey;"/>
93                                         <menuseparator/>
94                                         <menuitem command="sel_edit" label="&staff.circ.checkin_overlay.sel_edit.label;" accesskey="&staff.circ.checkin_overlay.sel_edit.accesskey;" />
95                             <menuitem command="sel_backdate" label="&staff.circ.checkin_overlay.sel_backdate.label;" accesskey="&staff.circ.checkin_overlay.sel_backdate.accesskey;" />
96                                         <menuseparator />
97                                         <menuitem command="sel_mark_items_damaged" label="&staff.circ.checkin_overlay.sel_mark_items_damaged.label;" accesskey="&staff.circ.checkin_overlay.sel_mark_items_damaged.accesskey;"/>
98                                         <menuseparator />
99                                         <menuitem command="sel_transit_abort" label="&staff.circ.checkin_overlay.sel_transit_abort.label;" />
100                                         <menuseparator />
101                                         <menuitem command="sel_spine" label="&staff.circ.checkin_overlay.sel_spine.label;" accesskey="&staff.circ.checkin_overlay.sel_spine.accesskey;"/>
102                                         <menuitem command="save_columns" label="&staff.circ.checkin_overlay.save_columns.label;"/>
103                                 </menupopup>
104                         </menu>
105                         </menubar>
106                 </hbox>
107         <label id="fine_tally" value="" amount="0.00" style="color: red" hidden="true" />
108         </vbox>
109
110 </hbox>
111
112 <hbox id="checkin_bottom_ui">
113     <button id="list_actions" oncommand="this.firstChild.showPopup();"
114         label="&staff.generic.list_actions.label;" 
115         accesskey="&staff.generic.list_actions.accesskey;" 
116         type="menu" allowevents="true">
117         <menupopup id="list_actions_popup">
118                 <menuitem command="sel_clip" label="&staff.generic.list_actions.sel_clip.label;" accesskey="&staff.generic.list_actions.sel_clip.accesskey;" disabled="true" />
119             <menuitem command="cmd_csv_to_printer" label="&staff.generic.list_actions.csv_to_printer.label;" accesskey="&staff.generic.list_actions.csv_to_printer.accesskey;" />
120                 <menuitem command="cmd_csv_to_clipboard" label="&staff.generic.list_actions.csv_to_clipboard.label;" accesskey="&staff.generic.list_actions.csv_to_clipboard.accesskey;" />
121                 <menuitem command="cmd_csv_to_file" label="&staff.generic.list_actions.csv_to_file.label;" accesskey="&staff.generic.list_actions.csv_to_file.accesskey;" />
122                 <menuitem command="save_columns" label="&staff.generic.list_actions.save_columns.label;" accesskey="&staff.generic.list_actions.save_columns.accesskey;" />
123         </menupopup>
124     </button>
125
126         <button id="checkin_print" 
127                 label="&staff.checkin.print_receipt.label;" 
128                 command="cmd_checkin_print"
129                 accesskey="&staff.checkin.print_receipt.accesskey;"/>
130         <checkbox id="trim_list" label="&staff.circ.checkin_overlay.trim_list.label;" checked="true" oils_persist="checked"/> 
131         <checkbox id="strict_barcode" label="&staff.circ.checkin_overlay.strict_barcode.label;" checked="false" oils_persist="checked"/> 
132         <spacer id="pcii3s" flex="1"/>
133     <button id="checkin_modifiers" oncommand="this.firstChild.showPopup();"
134         label="&staff.circ.checkin_overlay.checkin_modifiers_btn.label;"
135         accesskey="&staff.circ.checkin_overlay.checkin_modifiers_btn.accesskey;"
136         type="menu" allowevents="false">
137         <menupopup id="checkin_modifiers_popup">
138             <menuitem type="checkbox" id="do_not_alert_on_precat" oils_persist="checked" command="cmd_do_not_alert_on_precat" oncommand="alert('here too');"
139                 label="&staff.circ.checkin_overlay.do_not_alert_on_precat.label;" accesskey="&staff.circ.checkin_overlay.do_not_alert_on_precat.accesskey;"/>
140             <menuitem type="checkbox" id="suppress_holds_and_transits" oils_persist="checked" command="cmd_suppress_holds_and_transits"
141                 label="&staff.circ.checkin_overlay.suppress_holds_and_transits.label;" accesskey="&staff.circ.checkin_overlay.suppress_holds_and_transits.accesskey;"/>
142             <menuitem type="checkbox" id="amnesty_mode" oils_persist="checked" command="cmd_amnesty_mode"
143                 label="&staff.circ.checkin_overlay.amnesty_mode.label;" accesskey="&staff.circ.checkin_overlay.amnesty_mode.accesskey;"/>
144             <menuitem type="checkbox" id="checkin_auto_print_slips" oils_persist="checked" command="cmd_checkin_auto_print_slips"
145                 label="&staff.circ.checkin_overlay.checkin_auto_print_slips.label;" accesskey="&staff.circ.checkin_overlay.checkin_auto_print_slips.accesskey;"/>
146         </menupopup>
147     </button>
148 </hbox>
149
150 </overlay>