]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Evergreen/staff_client/chrome/content/evergreen/main/app_shell_overlay.xul
create new marc record
[working/Evergreen.git] / Evergreen / staff_client / chrome / content / evergreen / main / app_shell_overlay.xul
1 <?xml version="1.0"?>
2 <!DOCTYPE overlay SYSTEM "chrome://evergreen/locale/app_shell.dtd">
3 <overlay id="app_shell_overlay" 
4         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
5
6         <script>mw.sdump('D_TRACE','Loading app_shell_overlay.xul\n');</script>
7
8         <?xul-overlay href="chrome://evergreen/content/main/app_shell_menus_overlay.xul"?>
9
10 <commandset id="universal_cmds">
11
12         <command id="cmd_close_window" key="close-window-key" oncommand="
13                 window.close();" />
14
15         <command id="cmd_new_window" key="new-window-key" oncommand="
16                 mw.spawn_main();" />
17
18         <command id="cmd_new_tab" key="new-tab-key" oncommand="
19                 mw.new_tab(document,'main_tabbox');" />
20
21         <command id="cmd_close_tab" key="close-tab-key" oncommand="
22                 mw.close_tab(document,'main_tabbox');" />
23
24         <command id="cmd_cat_main" key="cat-main-key" oncommand="
25                 mw.spawn_opac_navigator(document,'replace_tab','main_tabbox',{}); "/>   
26
27         <command id="cmd_circ_checkout" key="circ-checkout-key" oncommand="
28                 mw.spawn_patron_barcode_entry(document,'replace_tab','main_tabbox',{}); "/>     
29
30         <command id="cmd_patron_search" key="patron-search-key" oncommand="
31                 mw.spawn_patron_search(document,'replace_tab','main_tabbox',{}); "/>    
32
33         <command id="cmd_circ_checkin" key="circ-checkin-key" oncommand="
34                 mw.spawn_checkin(document,'replace_tab','main_tabbox',{}); "/>  
35
36         <command id="cmd_circ_hold_capture" key="circ-hold-capture-key" oncommand="
37                 mw.spawn_hold_capture(document,'replace_tab','main_tabbox',{}); "/>     
38
39         <command id="cmd_search_opac" key="search-opac-key" oncommand="
40                 mw.spawn_opac_navigator(document,'replace_tab','main_tabbox',{}); "/>   
41
42         <command id="cmd_patron_register" key="patron-register-key" oncommand="
43                 mw.spawn_patron_register(document,'replace_tab','main_tabbox',{}); "/>  
44
45         <command id="cmd_survey_wizard" oncommand="
46                 mw.spawn_survey_admin_wizard(document,'new_window','',{}); "/>  
47
48         <command id="cmd_copy_stat_cat_edit" oncommand="
49                 mw.spawn_copy_stat_cat_edit(document,'replace_tab','main_tabbox',{}); "/>       
50
51         <command id="cmd_patron_stat_cat_edit" oncommand="
52                 mw.spawn_patron_stat_cat_edit(document,'replace_tab','main_tabbox',{}); "/>     
53
54         <command id="cmd_receipt_template_editor" oncommand="
55                 mw.spawn_receipt_template_editor(document,'replace_tab','main_tabbox',{}); "/>  
56
57         <command id="cmd_z39_50_import" oncommand="
58                 mw.spawn_z3950_import(document,'replace_tab','main_tabbox',{}); "/>     
59
60         <command id="cmd_create_new_marc_book" oncommand="
61                 mw.spawn_new_marc_creation(document,'replace_tab','main_tabbox',{}); "/>        
62
63         <command id="cmd_console" oncommand="
64                 mw.spawn_javascript_console(document,'new_tab','main_tabbox',{}); "/>
65
66         <command id="cmd_shell" oncommand="
67                 mw.spawn_javascript_shell(document,'new_tab','main_tabbox',{}); "/>
68
69         <command id="cmd_xuleditor" oncommand="
70                 mw.spawn_xuleditor(document,'new_tab','main_tabbox',{}); "/>
71
72         <command id="cmd_filter_console" oncommand="
73                 mw.spawn_filter_console(document,'new_tab','main_tabbox',{}); "/>
74
75         <command id="cmd_fieldmapper" oncommand="
76                 mw.spawn_fieldmapper(document,'new_tab','main_tabbox',{}); "/>
77
78         <command id="cmd_test" disabled="true" oncommand="
79                 mw.spawn_interface(document,'new_tab','main_tabbox','chrome://evergreen/content/util/fm_view.xul','Fieldmapper',{}); "/>
80
81         <command id="cmd_broken" disabled="true" oncommand="
82                 alert('Not Yet Implemented'); "/>
83
84 </commandset>
85
86 <!-- The top level widget for the staff client -->
87 <box id="AppShell_main" flex="1" orient="vertical">
88         <toolbox id="main_toolbox"/>
89         <tabbox id="main_tabbox" flex="1" eventnode="window" handleCtrlTab="true">
90                 <tabs id="main_tabs" closebutton="true">
91                         <tab id="tab_1" accesskey="1" label="Tab 1" hidden="true" />
92                         <tab id="tab_2" accesskey="2" label="Tab 2" hidden="true" />
93                         <tab id="tab_3" accesskey="3" label="Tab 3" hidden="true" />
94                         <tab id="tab_4" accesskey="4" label="Tab 4" hidden="true" />
95                         <tab id="tab_5" accesskey="5" label="Tab 5" hidden="true" />
96                         <tab id="tab_6" accesskey="6" label="Tab 6" hidden="true" />
97                         <tab id="tab_7" accesskey="7" label="Tab 7" hidden="true" />
98                         <tab id="tab_8" accesskey="8" label="Tab 8" hidden="true" />
99                         <tab id="tab_9" accesskey="9" label="Tab 9" hidden="true" />
100                 </tabs>
101                 <tabpanels id="main_panels" flex="1">
102                         <tabpanel id="panel_1"><label value="panel_1"/></tabpanel>
103                         <tabpanel id="panel_2"><label value="panel_2"/></tabpanel>
104                         <tabpanel id="panel_3"><label value="panel_3"/></tabpanel>
105                         <tabpanel id="panel_4"><label value="panel_4"/></tabpanel>
106                         <tabpanel id="panel_5"><label value="panel_5"/></tabpanel>
107                         <tabpanel id="panel_6"><label value="panel_6"/></tabpanel>
108                         <tabpanel id="panel_7"><label value="panel_7"/></tabpanel>
109                         <tabpanel id="panel_8"><label value="panel_8"/></tabpanel>
110                         <tabpanel id="panel_9"><label value="panel_9"/></tabpanel>
111                 </tabpanels>
112         </tabbox>
113         <toolbox id="entity_toolbox"/>
114 </box>
115
116 <!-- The main top level menubar -->
117 <toolbox id="main_toolbox">
118         <menubar id="main_menubar">
119                 <menu id="main.menu.file" />
120                 <menu id="main.menu.edit" />
121                 <menu id="main.menu.search" />
122                 <menu id="main.menu.circ" />
123                 <menu id="main.menu.cat" />
124                 <menu id="main.menu.serials" />
125                 <menu id="main.menu.acquisitions" />
126                 <menu id="main.menu.reports" />
127                 <spacer flex="1" />
128                 <menu id="main.menu.admin" />
129                 <menu id="main.menu.help" />
130         </menubar>
131 </toolbox>
132
133 <!-- The Entity top level menubar -->
134 <!--
135 <toolbox id="entity_toolbox">
136         <menubar id="entity_menubar">
137                 <menu id="patron-menu" label="&main.menu.entity.patron.label;" accesskey="&main.menu.entity.patron.key;" command="cmd_broken"/>
138                 <menu id="copy-menu" label="&main.menu.entity.copy.label;" accesskey="&main.menu.entity.copy.key;" command="cmd_broken"/>
139                 <menu id="volume-menu" label="&main.menu.entity.volume.label;" accesskey="&main.menu.entity.volume.key;" command="cmd_broken"/>
140                 <menu id="bib-menu" label="&main.menu.entity.bib.label;" accesskey="&main.menu.entity.bib.key;" command="cmd_broken"/>
141         </menubar>
142 </toolbox>
143 -->
144
145 <!-- The Patron menu on the Entity menubar -->
146 <!--
147 <menu id="patron-menu">
148         <menupopup id="patron-popup">
149                 <menuitem label="&main.menu.circ.patron_registration.label;" accesskey="&main.menu.entity.patron.register.key;" command="cmd_patron_register"/>
150                 <menuitem label="stub" />
151                 <menuitem label="stub" />
152         </menupopup>
153 </menu>
154 -->
155
156 <!-- The Items menu on the Entity menubar -->
157 <!--
158 <menu id="copy-menu">
159         <menupopup id="copy-popup">
160                 <menuitem label="stub" />
161                 <menuitem label="stub" />
162                 <menuitem label="stub" />
163         </menupopup>
164 </menu>
165 -->
166
167 <!-- The Volumes menu on the Entity menubar -->
168 <!--
169 <menu id="volume-menu">
170         <menupopup id="volume-popup">
171                 <menuitem label="stub" />
172                 <menuitem label="stub" />
173                 <menuitem label="stub" />
174         </menupopup>
175 </menu>
176 -->
177
178 <!-- The Bib Records menu on the Entity menubar -->
179 <!--
180 <menu id="bib-menu">
181         <menupopup id="bib-popup">
182                 <menuitem label="stub" />
183                 <menuitem label="stub" />
184                 <menuitem label="stub" />
185         </menupopup>
186 </menu>
187 -->
188
189 <!-- Accelerator Keys (Accessor Keys are in DTD's) -->
190 <keyset id="AppShell_keys">
191         <key id="new-window-key" modifiers="accel" key="N" command="cmd_new_window"/>
192         <key id="new-tab-key" modifiers="accel" key="T" command="cmd_new_tab"/>
193         <key id="open-key" modifiers="accel" key="O" command=""/>
194         <key id="save-key" modifiers="accel" key="S" command=""/>
195         <key id="close-tab-key" modifiers="accel" key="W" command="cmd_close_tab"/>
196         <key id="close-window-key" modifiers="accel" key="Q" command="cmd_close_window"/>
197         <!--
198         <key id="edit-undo-key" modifiers="accel" key="Z" command=""/>
199         <key id="edit-redo-key" modifiers="accel" key="Y" command=""/>
200         <key id="edit-cut-key" modifiers="accel" key="X" command=""/>
201         <key id="edit-copy-key" modifiers="accel" key="C" command=""/>
202         <key id="edit-paste-key" modifiers="accel" key="V" command=""/>
203         <key id="edit-delete-key" modifiers="" keycode="VK_DELETE" command=""/>
204         <key id="edit-select-all-key" modifiers="accel" key="A" command=""/>
205         <key id="edit-find-key" modifiers="accel" key="F" command=""/>
206         <key id="edit-find-again-key" modifiers="accel" key="G" command=""/>
207
208         <key id="circ-patron-status-key" keycode="VK_F11" command="cmd_circ_display"/>
209         <key id="circ-copy-status-key" keycode="VK_F9" command=""/>
210         <key id="circ-check-in-key" keycode="VK_F2" command="cmd_circ_checkin"/>
211         <key id="circ-renew-key" keycode="VK_F3" command=""/>
212         <key id="circ-mark-used-key" keycode="VK_F4" command=""/>
213         <key id="circ-place-hold-key" keycode="VK_F5" command=""/>
214         <key id="circ-patron-registration-key" keycode="VK_F12" command=""/>
215         -->
216         <key id="circ-checkout-key" keycode="VK_F1" command="cmd_circ_checkout"/>
217         <key id="circ-checkin-key" keycode="VK_F2" command="cmd_circ_checkin"/>
218         <key id="search-opac-key" keycode="VK_F3" command="cmd_search_opac"/>
219         <key id="patron-search-key" keycode="VK_F4" command="cmd_patron_search"/>
220         <key id="circ-hold-capture-key" keycode="VK_F5" command="cmd_circ_hold_capture"/>
221         <key id="patron-register-key" keycode="VK_F12" command="cmd_patron_registration"/>
222 </keyset>
223
224 </overlay>