2 <!DOCTYPE overlay SYSTEM "chrome://evergreen/locale/cat.dtd">
3 <overlay id="copy_overlay"
4 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
6 <!-- The javascript logic for the staff client -->
7 <Evergreen id="copy_js">
9 <!--<script src="chrome://evergreen/content/util/RemoteRequest.js" />
10 <script src="chrome://evergreen/content/util/ses.js" />-->
11 <script src="copy.js" />
14 <!-- Some logic abstracted a bit. Sort of like an API list -->
15 <commandset id="copy_cmds">
16 <command id="cmd_alert" oncommand="
17 alert(event.target.tagName + ' Not Yet Implemented');
19 <command id="cmd_apply" oncommand="
20 apply_attribute(event);
22 <command id="cmd_save" oncommand="
27 <!-- The top level widget for the cat client -->
28 <vbox id="copy_vbox" flex="1">
31 <deck id="pines_info_deck"/>
32 <splitter collapse="after"> <grippy/> </splitter>
34 <deck id="local_info_deck"/>
36 <splitter collapse="after"> <grippy/> </splitter>
38 <listbox id="notes_listbox"/>
39 <hbox id="note_button_box"/>
44 <hbox id="copy_button_box"/>
46 <splitter collapse="after"> <grippy/> </splitter>
47 <vbox flex="1" hidden="true">
48 <deck id="bottom_deck"/>
52 <hbox id="copy_button_box">
54 <button label="©.save;" accesskey="©.save.key;" command="cmd_alert"/>
56 <button label="©.reload;" accesskey="©.reload.key;" command="cmd_alert"/>
57 <button label="©.bucket;" accesskey="©.bucket.key;" command="cmd_alert"/>
58 <button label="©.clone;" accesskey="©.clone.key;" command="cmd_alert"/>
59 <button label="©.transfer;" accesskey="©.transfer.key;" command="cmd_alert"/>
60 <button label="©.delete;" accesskey="©.delete.key;" command="cmd_alert"/>
61 <button id="apply_attr_button" label="Apply these Attributes to the selected Copies" command="cmd_apply"/>
62 <button id="save_attr_button" label="Save Changes" command="cmd_save"/>
66 <hbox id="note_button_box">
68 <button label="©.notes.delete;" accesskey="©.notes.delete.key;" command="cmd_alert"/>
69 <button label="©.notes.add;" accesskey="©.notes.add.key;" command="cmd_alert"/>
71 <button label="©.close;" accesskey="©.close.key;" oncommand="window.close();"/>
74 <deck id="bottom_deck" flex="1">
76 <listbox id="ephemeral_listbox" flex="1" seltype="multiple" onselect="transfer_attributes(event);">
79 <listheader label="Location"/>
80 <listheader label="Call Number"/>
81 <listheader label="Barcode"/>
94 <deck id="pines_info_deck" flex="1">
96 <listbox id="pines_attr_listbox"/>
100 <deck id="local_info_deck" flex="1">
102 <listbox id="local_attr_listbox"/>
103 <hbox pack="end"><button disabled="true" label="©.edit_categories;" command="cmd_alert"/></hbox>
107 <!-- At some point we will programatically populate these grids and menus -->
109 <menulist id="shelving-location-menu">
110 <menupopup id="shelving-location-popup" command="cmd_apply">
111 <menuitem id="shelving-location-prompt" label="Select one..." hidden="true"/>
115 <listbox id="notes_listbox" flex="1">
117 <listheader label="©.notes.opac;"/>
118 <listheader label="©.notes.date;"/>
119 <listheader label="©.notes.from;"/>
120 <listheader label="©.notes;"/>
129 <listitem allowevents="true">
133 <listcell label="2004-12-01"/>
134 <listcell label="Admin"/>
135 <listcell label="Legacy Fields: Item Type = BOOK, Item Cat1 = FICTION, Item Cat2 = ADULT"/>
140 <listbox id="local_attr_listbox" flex="1">
143 <listheader label="©.local.attr;"/>
144 <listheader label="©.local.attr.value;"/>
152 <listitem allowevents="true">
153 <listcell label="©.attr.stat.genre;"/>
155 <menulist id="stat-genre-menu"/>
156 <hbox pack="end" flex="1">
157 <button disabled="true" label="©.edit_entries;" command="cmd_alert"/>
161 <listitem allowevents="true">
162 <listcell label="©.attr.stat.audience;"/>
164 <menulist id="stat-audience-menu"/>
165 <hbox pack="end" flex="1">
166 <button disabled="true" label="©.edit_entries;" command="cmd_alert"/>
173 <listbox id="pines_attr_listbox" flex="1">
175 <listheader label="©.pines.attr;"/>
176 <listheader label="©.pines.attr.value;"/>
182 <listitem allowevents="true" hidden="true">
183 <listcell label="©.attr.barcode;"/>
184 <listcell label="330620563200"/>
186 <listitem allowevents="true">
187 <listcell label="©.attr.copy_status;"/>
189 <menulist id="copy-status-menu"/>
192 <listitem allowevents="true">
193 <listcell label="©.attr.shelving_location;"/>
195 <menulist id="shelving-location-menu"/>
196 <!--<hbox pack="end" flex="1">
197 <button disabled="true" label="©.edit_entries;" command="cmd_alert"/>
202 <listitem allowevents="true">
203 <listcell label="©.attr.circulating_lib;"/>
205 <menulist id="circulating-library-menu"/>
208 <listitem allowevents="true">
209 <listcell label="©.attr.loan_duration;"/>
211 <menulist id="loan-duration-menu"/>
214 <listitem allowevents="true">
215 <listcell label="©.attr.fine_level;"/>
217 <menulist id="fine-level-menu"/>
220 <listitem allowevents="true">
221 <listcell label="©.attr.circulate;"/>
223 <menulist id="circulate_menu"/>
226 <listitem allowevents="true">
227 <listcell label="©.attr.deposit;"/>
229 <menulist id="deposit_menu"/>
230 <label value="©.attr.deposit_amount;"/>
231 <textbox id="deposit_amount" size="6" onchange="apply_attribute(event);" value="0.00"/>
234 <listitem allowevents="true">
235 <listcell label="©.attr.price;"/>
237 <textbox id="price" size="6" onchange="apply_attribute(event);" value="0.00"/>
240 <listitem allowevents="true">
241 <listcell label="©.attr.reference_material;"/>
243 <menulist id="reference_menu"/>
246 <listitem allowevents="true">
247 <listcell label="©.attr.opac_visible;"/>
249 <menulist id="opac_visible_menu"/>
254 <menulist id="opac_visible_menu">
255 <menupopup id="opac_visible_popup" command="cmd_apply">
256 <menuitem label="©.attr.opac_visible.yes;" value="1" selected="true"/>
257 <menuitem label="©.attr.opac_visible.no;" value="0"/>
261 <menulist id="reference_menu">
262 <menupopup id="reference_popup" command="cmd_apply" >
263 <menuitem label="©.attr.reference_material.no;" value="0" selected="true"/>
264 <menuitem label="©.attr.reference_material.yes;" value="1"/>
268 <menulist id="deposit_menu">
269 <menupopup id="deposit_popup" command="cmd_apply">
270 <menuitem label="©.attr.deposit.no;" value="0" selected="true"/>
271 <menuitem label="©.attr.deposit.yes;" value="1"/>
275 <menulist id="circulate_menu">
276 <menupopup id="circulate_popup" command="cmd_apply">
277 <menuitem label="©.attr.circulate.yes;" value="1" selected="true"/>
278 <menuitem label="©.attr.circulate.no;" value="0"/>
282 <menulist id="fine-level-menu">
283 <menupopup id="fine-level-popup" command="cmd_apply">
284 <menuitem label="©.attr.fine_level.normal;" value="2" selected="true"/>
285 <menuitem label="©.attr.fine_level.high;" value="3"/>
286 <menuitem label="©.attr.fine_level.low;" value="1"/>
290 <menulist id="loan-duration-menu">
291 <menupopup id="loan-duration-popup" command="cmd_apply">
292 <menuitem label="©.attr.loan_duration.normal;" value="2" selected="true"/>
293 <menuitem label="©.attr.loan_duration.long;" value="3"/>
294 <menuitem label="©.attr.loan_duration.short;" value="1"/>
298 <menulist id="circulating-library-menu">
299 <menupopup id="circulating-library-popup" command="cmd_apply">
303 <menulist id="copy-status-menu">
304 <menupopup id="copy-status-popup" command="cmd_apply">
305 <!-- <menuitem label="©.attr.copy_status.example1;" value="©.attr.copy_status.example1;"/> -->
309 <!-- Accelerator Keys (Accessor Keys are in DTD's) -->
310 <keyset id="copy_keys">
311 <key id="" modifiers="accel" key="A" command="cmd_"/>