style for the different item barcode scan interfaces
authorpines <pines@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sat, 30 Sep 2006 02:58:47 +0000 (02:58 +0000)
committerpines <pines@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sat, 30 Sep 2006 02:58:47 +0000 (02:58 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@6278 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/xul/staff_client/server/circ/checkin.js
Open-ILS/xul/staff_client/server/circ/checkin.xul
Open-ILS/xul/staff_client/server/circ/checkin_overlay.xul
Open-ILS/xul/staff_client/server/circ/copy_status.xul
Open-ILS/xul/staff_client/server/circ/copy_status_overlay.xul
Open-ILS/xul/staff_client/server/circ/in_house_use.xul

index 0d71b65..6f1d564 100644 (file)
@@ -179,8 +179,10 @@ circ.checkin.prototype = {
                                                                        if (x) {
                                                                                if ( ev.target.value == util.date.formatted_date(new Date(),'%F') ) {
                                                                                        x.setAttribute('style','background-color: green');
+                                                                                       document.getElementById('background-text').setAttribute('value','Check In / Process Item');
                                                                                } else {
                                                                                        x.setAttribute('style','background-color: red');
+                                                                                       document.getElementById('background-text').setAttribute('value','Backdated ' + ev.target.value + ' Check In');
                                                                                }
                                                                        }
 
index b090335..7a4d896 100644 (file)
@@ -47,6 +47,7 @@
                                        document.getElementById('checkin_auto').hidden = true;
                                        document.getElementById('checkin_effective_date_hbox').hidden = true;
                                        document.getElementById('caption').setAttribute('label','Hold Capture');
+                                       document.getElementById('hold_capture_blurb').hidden = false;
                                        tab_name = 'Hold Capture';
                                } else {
                                        tab_name = 'Item Check In';
index 292d995..df432ed 100644 (file)
 </box>
 
 <vbox id="cmvb1" flex="1">
+       <hbox id="background" style="background-color: green;">
+               <spacer flex="1"/>
+               <vbox>
+                       <label id="background-text" value="Check In / Process Item" style="font-size: x-large; font-weight: bold;"/>
+                       <label id="hold_capture_blurb" hidden="true" value="(and Auto-Print Hold/Transit Slips)" style="font-size: large; font-weight: bold;"/>
+               </vbox>
+               <spacer flex="1"/>
+       </hbox>
        <groupbox id="cmgb1" flex="2">
                <caption id="caption" label="&staff.circ.checkin.caption;" />
                <hbox id="checkin_top_ui" />
-               <stack flex="1">
-                       <vbox id="background" flex="1" style="background-color: green"/>
-                       <tree id="checkin_list" flex="1" enableColumnDrag="true" context="copy_status_actions" class="circ_opacity"/>
-               </stack>
+               <tree id="checkin_list" flex="1" enableColumnDrag="true" context="copy_status_actions" />
                <hbox id="checkin_bottom_ui" />
        </groupbox>
 </vbox>
index 9353744..48d1c4b 100644 (file)
@@ -50,7 +50,7 @@
                                );
 
                                if (typeof window.xulG == 'object' && typeof window.xulG.set_tab_name == 'function') {
-                                       try { window.xulG.set_tab_name('Copy Status'); } catch(E) { alert(E); }
+                                       try { window.xulG.set_tab_name('Item Status'); } catch(E) { alert(E); }
                                }
 
                                if (g.cgi.param('barcodes')) {
index b65f9ff..fce9ceb 100644 (file)
 </box>
 
 <vbox id="cmvb1" flex="1">
+       <hbox id="background" style="background-color: yellow">
+               <spacer flex="1"/>
+               <label value="Item Status" style="font-size: x-large; font-weight: bold;"/>
+               <spacer flex="1"/>
+       </hbox>
        <groupbox id="cmgb1" flex="2">
                <caption label="Scan Item" />
                <hbox id="copy_status_top_ui" />
-               <stack flex="1">
-                       <vbox id="background" flex="1" style="background-color: yellow"/>
-                       <tree id="copy_status_list" flex="1" enableColumnDrag="true" context="copy_status_actions" class="circ_opacity"/>
-               </stack>
+               <tree id="copy_status_list" flex="1" enableColumnDrag="true" context="copy_status_actions" />
                <hbox id="copy_status_bottom_ui" />
        </groupbox>
 </vbox>
index a1775bb..26dce04 100644 (file)
 
 <box id="in_house_use_main" flex="1" orient="vertical" class="my_overflow">
 <vbox id="cmvb1" flex="1">
+<hbox id="background" style="background-color: purple; color: white;">
+       <spacer flex="1"/>
+       <label value="Record In-House Use" style="font-size: x-large; font-weight: bold;"/>
+       <spacer flex="1"/>
+</hbox>
 <groupbox id="cmgb1" flex="2">
 
        <caption label="In-House Use" />
                        accesskey="S"/>
        </hbox>
 
-
-       <stack flex="1">
-               <vbox id="background" flex="1" style="background-color: purple"/>
-               <tree id="in_house_use_list" flex="1" enableColumnDrag="true" class="circ_opacity" />
-       </stack>
+       <tree id="in_house_use_list" flex="1" enableColumnDrag="true" />
 
        <hbox id="in_house_use_bottom_ui">
                <button id="in_house_use_print"