]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/xul/staff_client/chrome/content/main/menu_frame_overlay.xul
lp948051 new tab button
[working/Evergreen.git] / Open-ILS / xul / staff_client / chrome / content / main / menu_frame_overlay.xul
1 <?xml version="1.0"?>
2 <!DOCTYPE overlay SYSTEM "chrome://open_ils_staff_client/locale/lang.dtd">
3 <?xul-overlay href="chrome://open_ils_staff_client/content/main/menu_frame_menus.xul"?>
4 <!--
5 <?xul-overlay href="/xul/server/main/menu_frame_menus.xul"?>
6 -->
7 <overlay id="menu_frame_overlay" 
8     xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
9
10 <script>dump('loading menu_frame_overlay.xul\n');</script>
11
12 <commandset id="universal_cmds" />
13 <keyset id="menu_frame_keys" />
14
15 <!-- The top level widget for the staff client -->
16 <box id="menu_frame_main" flex="1" orient="vertical">
17     <toolbox id="main_toolbox"/>
18     <tabbox id="main_tabbox" flex="1" eventnode="window" handleCtrlTab="true">
19         <hbox>
20             <arrowscrollbox orient="horizontal" id="main_tabs_scrollbox" flex="1">
21                 <tabs id="main_tabs">
22                     <tab hidden="true" />
23                 </tabs>
24             </arrowscrollbox>
25             <toolbarbutton id="main_tabs_newbutton" class="tabs-button" style="list-style-image: url('chrome://open_ils_staff_client/skin/media/images/newtab.png');" command="cmd_new_tab" />
26             <spacer flex="10000"/>
27             <toolbarbutton id="main_tabs_closebutton" class="tabs-closebutton close-button" command="cmd_close_tab" />
28         </hbox>
29         <tabpanels id="main_panels" flex="1">
30             <tabpanel />
31         </tabpanels>
32     </tabbox>
33     <statusbar>
34         <statusbarpanel />
35         <statusbarpanel id="statusbarpanel1"/>
36         <statusbarpanel id="statusbarpanel2"/>
37         <statusbarpanel id="statusbarpanel3"/>
38         <statusbarpanel id="statusbarpanel4"/>
39         <statusbarpanel id="statusbarpanel5"/>
40         <spacer flex="1" />
41         <progressmeter id="network_progress" flex="0" mode="determined" value="0" tooltip="network_progress_tip"/>
42         <progressmeter id="page_progress" flex="0" mode="determined" value="0" />
43         <statusbarpanel />
44     </statusbar>
45     <tooltip id="network_progress_tip" noautohide="true">
46         <grid>
47             <columns>
48                 <column/>
49                 <column/>
50                 <column/>
51                 <column flex="1"/>
52                 <column/>
53                 <column/>
54                 <column/>
55                 <column/>
56             </columns>
57             <rows id="network_progress_rows">
58             </rows>
59         </grid>
60     </tooltip>
61 </box>
62
63 <!-- The main top level menubar -->
64 <toolbox id="main_toolbox">
65     <menubar id="main_menubar">
66         <menu id="main.menu.file" />
67         <menu id="main.menu.edit" />
68         <menu id="main.menu.search" />
69         <menu id="main.menu.circ" />
70         <menu id="main.menu.cat" />
71         <menu id="main.menu.acq" />
72         <menu id="main.menu.booking" />
73         <spacer flex="1" />
74         <menu id="main.menu.admin" />
75         <menu id="main.menu.help" />
76     </menubar>
77     <toolbar id="toolbar_circ" hidden="true">
78         <toolbarbutton 
79             command="cmd_circ_checkout" 
80             label="&staff.main.button_bar.check_out.label;" 
81             tooltiptext="&staff.main.button_bar.check_out.label;"
82             type="menu-button">
83             <menupopup tooltiptext=""> <!-- Little note on this first one - The blank tooltiptext stops the button's tooltiptext from applying to the menu and items -->
84                 <menuitem label="&staff.main.menu.circ.checkout.label;" accesskey="&staff.main.menu.circ.checkout.accesskey;" command="cmd_circ_checkout"/>
85                 <menuitem label="&staff.main.menu.circ.in_house.label;" accesskey="&staff.main.menu.circ.in_house.accesskey;" command="cmd_in_house_use"/>
86             </menupopup>
87         </toolbarbutton>
88         <toolbarbutton
89             command="cmd_circ_checkin" 
90             label="&staff.main.button_bar.check_in.label;" 
91             tooltiptext="&staff.main.button_bar.check_in.label;"
92             type="menu-button">
93             <menupopup tooltiptext="">
94                 <menuitem label="&staff.main.menu.circ.checkin.label;" accesskey="&staff.main.menu.circ.checkin.accesskey;" command="cmd_circ_checkin"/>
95                 <menuitem label="&staff.main.menu.circ.hold_capture.label;" accesskey="&staff.main.menu.circ.hold_capture.accesskey;" command="cmd_circ_hold_capture"/>
96             </menupopup>
97         </toolbarbutton>
98         <toolbarseparator />
99         <toolbarbutton
100             command="cmd_search_opac" 
101             label="&staff.main.button_bar.search_opac.label;" 
102             tooltiptext="&staff.main.button_bar.search_opac.label;"
103             type="menu-button">
104             <menupopup tooltiptext="">
105                 <menuitem label="&staff.main.menu.cat.bib_search.label;" accesskey="&staff.main.menu.cat.bib_search.accesskey;" command="cmd_search_opac"/>
106                 <menuitem label="&staff.main.menu.cat.search_tcn.label;" accesskey="&staff.main.menu.cat.search_tcn.accesskey;" command="cmd_search_tcn" />
107                 <menuitem label="&staff.main.menu.cat.search_bib_id.label;" accesskey="&staff.main.menu.cat.search_bib_id.accesskey;" command="cmd_search_bib_id" />
108             </menupopup>
109         </toolbarbutton>
110         <toolbarbutton
111             command="cmd_copy_status" 
112             label="&staff.main.button_bar.item_status.label;" 
113             tooltiptext="&staff.main.button_bar.item_status.label;"
114             type="menu-button">
115             <menupopup tooltiptext="">
116                 <menuitem label="&staff.main.menu.circ.barcode.show_item;" accesskey="&staff.main.menu.circ.barcode.show_item.accesskey;" command="cmd_copy_status"/>
117                 <menuitem label="&staff.main.menu.replace_barcode.label;" command="cmd_replace_barcode"/>
118             </menupopup>
119         </toolbarbutton>
120         <toolbarseparator />
121         <toolbarbutton
122             command="cmd_patron_search" 
123             label="&staff.main.button_bar.patron_search.label;" 
124             tooltiptext="&staff.main.button_bar.patron_search.label;"
125             type="menu-button">
126             <menupopup tooltiptext="">
127                 <menuitem label="&staff.main.menu.search.patrons.label;" accesskey="&staff.main.menu.search.patrons.accesskey;" command="cmd_patron_search" />
128                 <menuitem label="&staff.main.menu.search.patrons_barcode.label;" accesskey="&staff.main.menu.search.patrons_barcode.accesskey;" command="cmd_circ_checkout"/>
129                 <menuitem label="&staff.main.menu.search.patron_db_id.label;" accesskey="&staff.main.menu.search.patron_db_id.accesskey;" command="cmd_search_usr_id"/>
130             </menupopup>
131         </toolbarbutton>
132         <toolbarbutton
133             command="cmd_patron_register" 
134             label="&staff.main.button_bar.patron_registration.label;" 
135             tooltiptext="&staff.main.button_bar.patron_registration.label;"
136             type="menu-button">
137             <menupopup tooltiptext="">
138                 <menuitem label="&staff.main.menu.circ.patron_registration.label;" accesskey="&staff.main.menu.circ.patron_registration.accesskey;" command="cmd_patron_register"/>
139                 <menuitem label="&staff.main.menu.circ.staged_patrons.label;" accesskey="&staff.main.menu.circ.staged_patrons.accesskey;" command="cmd_staged_patrons"/>
140             </menupopup>
141         </toolbarbutton>
142         <toolbarspacer flex="1" />
143         <toolbarbutton
144             command="cmd_hotkeys_toggle"
145             type="checkbox"
146             autocheck="false"
147             label="&staff.main.button_bar.hotkeys_toggle;"
148             tooltiptext="&staff.main.button_bar.hotkeys_toggle;"/>
149     </toolbar>
150     <toolbar id="toolbar_cat" hidden="true">
151         <toolbarbutton
152             command="cmd_circ_checkin" 
153             label="&staff.main.button_bar.check_in.label;" 
154             tooltiptext="&staff.main.button_bar.check_in.label;"
155             type="menu-button">
156             <menupopup tooltiptext="">
157                 <menuitem label="&staff.main.menu.circ.checkin.label;" accesskey="&staff.main.menu.circ.checkin.accesskey;" command="cmd_circ_checkin"/>
158                 <menuitem label="&staff.main.menu.circ.hold_capture.label;" accesskey="&staff.main.menu.circ.hold_capture.accesskey;" command="cmd_circ_hold_capture"/>
159             </menupopup>
160         </toolbarbutton>
161         <toolbarseparator />
162         <toolbarbutton
163             command="cmd_search_opac" 
164             label="&staff.main.button_bar.search_opac.label;" 
165             tooltiptext="&staff.main.button_bar.search_opac.label;"
166             type="menu-button">
167             <menupopup tooltiptext="">
168                 <menuitem label="&staff.main.menu.cat.bib_search.label;" accesskey="&staff.main.menu.cat.bib_search.accesskey;" command="cmd_search_opac"/>
169                 <menuitem label="&staff.main.menu.cat.search_tcn.label;" accesskey="&staff.main.menu.cat.search_tcn.accesskey;" command="cmd_search_tcn" />
170                 <menuitem label="&staff.main.menu.cat.search_bib_id.label;" accesskey="&staff.main.menu.cat.search_bib_id.accesskey;" command="cmd_search_bib_id" />
171             </menupopup>
172         </toolbarbutton>
173         <toolbarbutton
174             command="cmd_copy_status" 
175             label="&staff.main.button_bar.item_status.label;" 
176             tooltiptext="&staff.main.button_bar.item_status.label;"
177             type="menu-button">
178             <menupopup tooltiptext="">
179                 <menuitem label="&staff.main.menu.circ.barcode.show_item;" accesskey="&staff.main.menu.circ.barcode.show_item.accesskey;" command="cmd_copy_status"/>
180                 <menuitem label="&staff.main.menu.replace_barcode.label;" command="cmd_replace_barcode"/>
181             </menupopup>
182         </toolbarbutton>
183         <toolbarseparator />
184         <toolbarbutton
185             command="cmd_create_marc"
186             label="&staff.main.button_bar.create_marc;"
187             tooltiptext="&staff.main.button_bar.create_marc;"
188             type="menu-button">
189             <menupopup tooltiptext="">
190                 <menuitem label="&staff.main.menu.cat.create_marc.label;" accesskey="&staff.main.menu.cat.create_marc.accesskey;" command="cmd_create_marc"/>
191                 <menuitem label="&staff.main.menu.cat.z39_50_import.label;" accesskey="&staff.main.menu.cat.z39_50_import.accesskey;" command="cmd_z39_50_import"/>
192                 <menuitem label="&staff.main.menu.cat.vandelay.label;" command="cmd_open_vandelay"/>
193             </menupopup>
194         </toolbarbutton>
195         <toolbarbutton
196             command="cmd_authority_manage"
197             label="&staff.main.button_bar.authority_manage;"
198             tooltiptext="&staff.main.button_bar.authority_manage;" />
199         <toolbarbutton
200             command="cmd_retrieve_last_record"
201             label="&staff.main.button_bar.retrieve_last_record;"
202             tooltiptext="&staff.main.button_bar.retrieve_last_record;" />
203         <toolbarspacer flex="1" />
204         <toolbarbutton
205             command="cmd_hotkeys_toggle"
206             type="checkbox"
207             autocheck="false"
208             label="&staff.main.button_bar.hotkeys_toggle;"
209             tooltiptext="&staff.main.button_bar.hotkeys_toggle;"/>
210     </toolbar>
211 </toolbox>
212
213 </overlay>