]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/xul/staff_client/server/cat/copy_editor.xul
focus tweaks and shortcuts
[Evergreen.git] / Open-ILS / xul / staff_client / server / cat / copy_editor.xul
1 <?xml version="1.0"?>
2 <!-- Application: Evergreen Staff Client -->
3 <!-- Screen: Copy Viewer/Editor -->
4
5 <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
6 <!-- STYLESHEETS -->
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"?>
9 <?xml-stylesheet href="/xul/server/skin/global.css" type="text/css"?>
10
11 <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
12 <!-- LOCALIZATION -->
13 <!DOCTYPE window PUBLIC "" ""[
14         <!--#include virtual="/opac/locale/en-US/lang.dtd"-->
15 ]>
16
17 <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
18 <!-- OVERLAYS -->
19 <?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
20
21 <window id="cat_copy_editor_win" 
22         onload="try { my_init(); font_helper(); } catch(E) { alert(E); }"
23         width="800" height="580" persist="width height"
24         title="Copies"
25         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
26
27         <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
28         <!-- BEHAVIOR -->
29         <script type="text/javascript">
30                 var myPackageDir = 'open_ils_staff_client'; var IAMXUL = true;
31         </script>
32         <scripts id="openils_util_scripts"/>
33
34         <script type="text/javascript" src="/xul/server/main/JSAN.js"/>
35         <script type="text/javascript" src="copy_editor.js"/>
36
37         <iframe id="brief_display"/>
38
39         <groupbox flex="1" style="overflow: auto">
40                 <caption id="caption" label="Copy Viewer"/>
41
42                 <hbox id="top_nav">
43                         <hbox style="background: grey">
44                                 <vbox><spacer flex="1"/><label value="Templates:" style="font-weight: bold"/><spacer flex="1"/></vbox>
45                                 <hbox id="template_placeholder"/>
46                                 <button id="apply_template" label="Apply" accesskey="y" oncommand="g.apply_template()"/>
47                                 <button id="delete_template" label="Delete" oncommand="g.delete_template()"/>
48                                 <button id="import_templates" label="Import" oncommand="g.import_templates()"/>
49                                 <button id="export_templates" label="Export" oncommand="g.export_templates()"/>
50                                 <button id="save_template" label="Save" oncommand="g.save_template()"/>
51                         </hbox>
52                         <spacer flex="1"/>
53                         <button label="Reset" accesskey="R" oncommand="g.reset()"/>
54                 </hbox>
55
56                 <hbox flex="1" style="overflow: scroll">
57                         <vbox flex="1">
58                                 <label value="Identification" style="font-weight: bold; font-size: large"/>
59                                 <vbox id="left_pane" flex="1"/>
60                         </vbox>
61                         <splitter><grippy /></splitter>
62                         <vbox flex="1">
63                                 <button style="font-weight: bold; font-size: normal" label="Location" accesskey="1" oncommand="document.getElementById('right_pane').firstChild.firstChild.focus();"/>
64                                 <vbox id="right_pane" flex="1"/>
65                         </vbox>
66                         <splitter><grippy /></splitter>
67                         <vbox flex="1">
68                                 <button style="font-weight: bold; font-size: normal" label="Circulation" accesskey="2" oncommand="document.getElementById('right_pane2').firstChild.firstChild.focus();"/>
69                                 <vbox id="right_pane2" flex="1"/>
70                         </vbox>
71                         <splitter><grippy /></splitter>
72                         <vbox flex="1">
73                                 <button style="font-weight: bold; font-size: normal" label="Miscellaneous" accesskey="3" oncommand="document.getElementById('right_pane3').firstChild.firstChild.focus();"/>
74                                 <vbox id="right_pane3" flex="1"/>
75                         </vbox>
76                         <splitter><grippy /></splitter>
77                         <vbox flex="1">
78                                 <button style="font-weight: bold; font-size: normal" label="Statistics" accesskey="4" oncommand="document.getElementById('right_pane4').firstChild.firstChild.focus();"/>
79                                 <vbox id="right_pane4" flex="1"/>
80                         </vbox>
81                 </hbox>
82
83                 <hbox id="nav">
84                         <spacer flex="1"/>
85                         <button id="copy_notes" label="Copy Notes" accesskey="N" oncommand="g.copy_notes();"/>
86                         <button id="save" label="Modify Copies" hidden="true" accesskey="M" oncommand="g.stash_and_close();"/>
87                         <button id="cancel" label="Close" accesskey="C" oncommand="window.close();"/>
88                 </hbox>
89
90                 <spacer/>
91         </groupbox>
92
93 </window>
94