2 <!-- Application: Evergreen Staff Client -->
3 <!-- Screen: Manage Items Overlay -->
7 <!DOCTYPE overlay PUBLIC "" ""[
8 <!--#include virtual="/opac/locale/${locale}/lang.dtd"-->
11 <overlay id="serial_manage_items_overlay"
12 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
13 <script type="text/javascript" src="/xul/server/serial/manage_items.js"/>
18 netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");
19 if (typeof JSAN == 'undefined') {
20 throw( document.getElementById("commonStrings").getString('common.jsan.missing') );
22 JSAN.errorLevel = "die"; // none, warn, or die
23 JSAN.addRepository('/xul/server/');
24 JSAN.use('util.error'); g.error = new util.error();
25 g.error.sdump('D_TRACE','my_init() for manage_items.xul');
27 JSAN.use('serial.manage_items'); g.manage_items = new serial.manage_items();
29 //g.manage_items.init( { 'sre_id' : xul_param('sre_id'), 'sdist_id' : xul_param('sdist_id') } );
30 g.manage_items.init( { 'docid' : xul_param('docid') } );
33 var err_msg = document.getElementById("commonStrings").getFormattedString('common.exception', ['serial/manage_items.xul', E]);
34 try { g.error.sdump('D_ERROR',err_msg); } catch(E) { dump(err_msg); }
42 <popup id="serial_manage_items_popup">
43 <menuitem command="cmd_edit_items" label="Edit Item Attributes" accesskey="&staff.cat.copy_browser.actions.cmd_edit_items.accesskey;"/>
44 <menuitem command="cmd_reset_items" label="Reset Item to Expected" />
45 <menuitem command="cmd_delete_items" label="Delete Item" accesskey="&staff.cat.copy_browser.actions.cmd_delete_items.accesskey;"/>
48 <tabpanel id="serial_manage_items" orient="vertical" flex="1">
50 <hbox id="serial_item_lib_menu_box"/>
51 <label value="Mode:" control="mode_receive"/><radiogroup id="serial_manage_items_mode" orient="horizontal"><radio id="mode_receive" label="Receive"/><radio id="mode_bind" label="Bind"/></radiogroup><checkbox id="serial_manage_items_show_all" label="Show All" />
52 <button id="refresh_button" label="&staff.cat.copy_browser.holdings_maintenance.refresh_button.label;" command="cmd_refresh_list" />
56 <menu label="Actions for this Serial Control" accesskey="C">
58 <menuitem command="cmd_predict_items" label="Predict Items"/>
59 <menuitem command="cmd_add_item" label="Add Custom Item"/>
60 <menuitem command="cmd_edit_mfhd" label="Edit MFHD Record"/>
64 <menu label="&staff.cat.copy_browser.holdings_maintenance.actions.label;" accesskey="&staff.cat.copy_browser.holdings_maintenance.actions.accesskey;">
66 <menuitem command="cmd_edit_items" label="Edit Item Attributes" accesskey="&staff.cat.copy_browser.actions.cmd_edit_items.accesskey;"/>
67 <menuitem command="cmd_reset_items" label="Reset Item to Expected" />
68 <menuitem command="cmd_delete_items" label="Delete Item" accesskey="&staff.cat.copy_browser.actions.cmd_delete_items.accesskey;"/>
70 <menuitem command="cmd_refresh_list" label="&staff.cat.copy_browser.holdings_maintenance.cmd_refresh_list.label;" accesskey="&staff.cat.copy_browser.holdings_maintenance.cmd_refresh_list.accesskey;"/>
71 <menuitem command="save_columns" label="&staff.cat.copy_browser.holdings_maintenance.save_columns.label;"/>
72 <!-- <menuitem command="sel_clip" label="&staff.cat.copy_browser.holdings_maintenance.sel_clip.label;" accesskey="&staff.cat.copy_browser.holdings_maintenance.sel_clip.accesskey;"/>
73 <menuitem command="cmd_transfer_items" label="&staff.cat.copy_browser.holdings_maintenance.cmd_transfer_items.label;" accesskey="&staff.cat.copy_browser.holdings_maintenance.cmd_transfer_items.accesskey;"/>
75 <menuitem command="cmd_add_volumes" label="&staff.cat.copy_browser.holdings_maintenance.cmd_add_volumes.label;" accesskey="&staff.cat.copy_browser.holdings_maintenance.cmd_add_volumes.accesskey;"/>
76 <menuitem command="cmd_edit_volumes" label="&staff.cat.copy_browser.holdings_maintenance.cmd_edit_volumes.label;" accesskey="&staff.cat.copy_browser.holdings_maintenance.cmd_edit_volumes.accesskey;"/>
77 <menuitem command="cmd_mark_volume" label="&staff.cat.copy_browser.holdings_maintenance.cmd_mark_volume.label;" accesskey="&staff.cat.copy_browser.holdings_maintenance.cmd_mark_volume.accesskey;"/>
78 <menuitem command="cmd_transfer_volume" label="&staff.cat.copy_browser.holdings_maintenance.cmd_transfer_volume.label;" accesskey="&staff.cat.copy_browser.holdings_maintenance.cmd_transfer_volume.accesskey;"/>
79 <menuitem command="cmd_delete_volumes" label="&staff.cat.copy_browser.holdings_maintenance.cmd_delete_volumes.label;" accesskey=""/>
81 <menuitem command="cmd_print_spine_labels" label="&staff.cat.copy_browser.holdings_maintenance.cmd_print_spine_labels.label;" accesskey="&staff.cat.copy_browser.holdings_maintenance.cmd_print_spine_labels.accesskey;"/>
82 <menuitem command="cmd_replace_barcode" label="&staff.cat.copy_browser.holdings_maintenance.cmd_replace_barcode.label;" accesskey=""/> -->
87 <tree id="item_tree" flex="2" enableColumnDrag="true" context="serial_manage_items_popup" oils_persist="height"/>
88 <splitter state="open" collapse="after" resizebefore="closest" resizeafter="farthest" id="splitter" oils_persist="state hidden" oils_persist_peers="item_tree after_splitter"/>
89 <hbox align="center" id="after_splitter" oils_persist="height">
90 <label style="font-weight: bold" value="Showing: "/>
91 <label id="serial_workarea_mode_label" value="Recently Received"/>
93 <button label="Receive/Move Selected ↓" command="cmd_receive_items"/>
96 <label style="font-weight: bold" value="Current Working Unit: "/>
97 <description flex="1" id="serial_workarea_sunit_desc">**Auto per Item**</description>
100 <menu label="Set Current Unit" id="serial_items_current_sunit" sunit_id="-1" sunit_label="Auto per Item" sdist_id="" sstr_id="">
102 <menuitem command="cmd_set_sunit" label="New Unit" sunit_id="-2" sdist_id="" sstr_id=""/>
103 <menuitem command="cmd_set_sunit" label="Auto per Item" sunit_id="-1" sdist_id="" sstr_id=""/>
104 <menu label="Recent" id="serial_items_recent_sunits" sunit_json='[]'/>
105 <menuitem command="cmd_set_other_sunit" label="Other..."/>
108 <button command="cmd_broken" label="Edit Current Unit..."/>
111 <tree id="workarea_tree" flex="1" enableColumnDrag="true" context="serial_manage_items_popup"/>