]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/xul/staff_client/server/cat/volume_copy_creator.xul
align the batch edit menus in the vol creator. mostly aesthetic, but can save horizo...
[working/Evergreen.git] / Open-ILS / xul / staff_client / server / cat / volume_copy_creator.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="/xul/server/skin/global.css" type="text/css"?>
9 <?xml-stylesheet href="/xul/server/skin/cat.css" type="text/css"?>
10
11 <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
12 <!-- LOCALIZATION -->
13 <!DOCTYPE window PUBLIC "" ""[
14     <!--#include virtual="/opac/locale/${locale}/lang.dtd"-->
15 ]>
16
17 <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
18 <!-- OVERLAYS -->
19 <?xul-overlay href="/xul/server/OpenILS/util_overlay.xul"?>
20
21 <window id="cat_volume_copy_creator_win" 
22     onload="try { my_init(); font_helper(); persist_helper(); } catch(E) { alert(E); }"
23     title="&staff.cat.volume_copy_creator.title;"
24     xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
25
26     <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
27     <!-- BEHAVIOR -->
28     <script type="text/javascript">
29     var myPackageDir = 'open_ils_staff_client'; var IAMXUL = true; 
30     </script>
31     <scripts id="openils_util_scripts"/>
32
33     <script type="text/javascript" src="/xul/server/main/JSAN.js"/>
34     <script type="text/javascript" src="volume_copy_creator.js"/>
35     
36     <messagecatalog id="catStrings" src="/xul/server/locale/<!--#echo var='locale'-->/cat.properties" />
37     <messagecatalog id="circStrings" src="/xul/server/locale/<!--#echo var='locale'-->/circ.properties" />
38
39 <vbox flex="1" class="my_overflow">
40     <vbox id="summary_box" oils_persist="height"/>
41     <splitter
42         collapse="before"
43         resize_before="flex"
44         resize_after="flex"
45         oils_persist="state hidden"
46         oils_persist_peers="summary_box main">
47         <grippy/>
48     </splitter>
49     <vbox id="main" oils_persist="height" flex="1">
50         <groupbox flex="1" class="my_overflow">
51             <caption id="caption" label="&staff.cat.volume_copy_creator.label;"/>
52             <grid flex="1">
53                 <columns> <column flex="0"/> <column flex="0"/> <column flex="1"/> </columns>
54                 <rows id="rows">
55                     <row id="batch_bar">
56                         <spacer />
57                         <spacer />
58                         <grid flex="1">
59                             <columns>
60                                 <column/>
61                                 <column/>
62                                 <column/>
63                                 <column/>
64                             </columns>
65                             <rows>
66                                 <row>
67                                     <vbox class="cn_class">
68                                         <label value="&staff.cat.volume_copy_creator.batch_bar.call_number.classification;"
69                                             class="header"/>
70                                         <hbox id="batch_class"/>
71                                     </vbox>
72                                     <vbox class="cn_prefix">
73                                         <label value="&staff.cat.volume_copy_creator.batch_bar.call_number.prefix;"
74                                             class="header"/>
75                                         <hbox id="batch_prefix"/>
76                                     </vbox>
77                                     <vbox>
78                                         <label
79                                             value="&staff.cat.volume_copy_creator.batch_bar.call_number.label.label;"
80                                             accesskey="&staff.cat.volume_copy_creator.batch_bar.call_number.label.accesskey;"
81                                             control="marc_cn_menulist" class="header"/>
82                                         <hbox id="marc_cn"/>
83                                     </vbox>
84                                     <vbox class="cn_suffix">
85                                         <label value="&staff.cat.volume_copy_creator.batch_bar.call_number.suffix;"
86                                             class="header"/>
87                                         <hbox id="batch_suffix"/>
88                                     </vbox>
89                                     <vbox>
90                                         <label class="header" value="&staff.cat.volume_copy_creator.batch_bar;"/>
91                                         <hbox id="batch_button_box"/>
92                                     </vbox>
93                                 </row>
94                             </rows>
95                         </grid>
96                     </row>
97                     <row>
98                         <label value="&staff.cat.volume_copy_creator.library_label.value;" style="font-weight: bold"/>
99                         <label value="&staff.cat.volume_copy_creator.num_of_volumes_label.value;" style="font-weight: bold"/>
100                     </row>
101                 </rows>
102             </grid>
103         </groupbox>
104         <hbox style="border-bottom: solid black thin" flex="0">
105             <hbox id="misc_control_bar">
106                 <button id="generate_barcodes"
107                     label="&staff.cat.volume_copy_creator.generate_barcodes.label;"
108                     oncommand="g.generate_barcodes();"
109                     accesskey="&staff.cat.volume_copy_creator.generate_barcodes.accesskey;"/>
110                 <checkbox id="check_barcodes"
111                     label="&staff.cat.volume_copy_creator.check_barcodes.label;"
112                     oncommand="g.save_prefs();"
113                     accesskey="&staff.cat.volume_copy_creator.check_barcodes.accesskey;"/>
114                 <checkbox id="print_labels"
115                     label="&staff.cat.volume_copy_creator.print_labels.label;"
116                     oncommand="g.save_prefs();"
117                     accesskey="&staff.cat.volume_copy_creator.print_labels.accesskey;"/>
118             </hbox>
119             <spacer flex="1"/>
120             <hbox id="non_unified_buttons">
121                 <button id="CreateWithDefaults" disabled="true" oncommand="g.stash_and_close('noedit');"/>
122                 <button id="EditThenCreate" disabled="true" oncommand="g.stash_and_close('edit');"/>
123             </hbox>
124             <button id="Create" disabled="true" oncommand="g.stash_and_close('unified_interface');"/>
125         </hbox>
126     </vbox>
127 </vbox>
128
129 </window>
130