From 548f0bf093e334c59589796741a1d496adf59bfd Mon Sep 17 00:00:00 2001 From: pines Date: Sat, 30 Sep 2006 02:58:47 +0000 Subject: [PATCH] style for the different item barcode scan interfaces 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 | 2 ++ Open-ILS/xul/staff_client/server/circ/checkin.xul | 1 + Open-ILS/xul/staff_client/server/circ/checkin_overlay.xul | 13 +++++++++---- Open-ILS/xul/staff_client/server/circ/copy_status.xul | 2 +- .../xul/staff_client/server/circ/copy_status_overlay.xul | 10 ++++++---- Open-ILS/xul/staff_client/server/circ/in_house_use.xul | 11 ++++++----- 6 files changed, 25 insertions(+), 14 deletions(-) diff --git a/Open-ILS/xul/staff_client/server/circ/checkin.js b/Open-ILS/xul/staff_client/server/circ/checkin.js index 0d71b652d6..6f1d564dbc 100644 --- a/Open-ILS/xul/staff_client/server/circ/checkin.js +++ b/Open-ILS/xul/staff_client/server/circ/checkin.js @@ -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'); } } diff --git a/Open-ILS/xul/staff_client/server/circ/checkin.xul b/Open-ILS/xul/staff_client/server/circ/checkin.xul index b090335fbd..7a4d896b8e 100644 --- a/Open-ILS/xul/staff_client/server/circ/checkin.xul +++ b/Open-ILS/xul/staff_client/server/circ/checkin.xul @@ -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'; diff --git a/Open-ILS/xul/staff_client/server/circ/checkin_overlay.xul b/Open-ILS/xul/staff_client/server/circ/checkin_overlay.xul index 292d995f7a..df432ed780 100644 --- a/Open-ILS/xul/staff_client/server/circ/checkin_overlay.xul +++ b/Open-ILS/xul/staff_client/server/circ/checkin_overlay.xul @@ -31,13 +31,18 @@ + + + + + + - - - - + diff --git a/Open-ILS/xul/staff_client/server/circ/copy_status.xul b/Open-ILS/xul/staff_client/server/circ/copy_status.xul index 9353744f6f..48d1c4b6fc 100644 --- a/Open-ILS/xul/staff_client/server/circ/copy_status.xul +++ b/Open-ILS/xul/staff_client/server/circ/copy_status.xul @@ -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')) { diff --git a/Open-ILS/xul/staff_client/server/circ/copy_status_overlay.xul b/Open-ILS/xul/staff_client/server/circ/copy_status_overlay.xul index b65f9ffc42..fce9cebcb2 100644 --- a/Open-ILS/xul/staff_client/server/circ/copy_status_overlay.xul +++ b/Open-ILS/xul/staff_client/server/circ/copy_status_overlay.xul @@ -36,13 +36,15 @@ + + + - - - - + diff --git a/Open-ILS/xul/staff_client/server/circ/in_house_use.xul b/Open-ILS/xul/staff_client/server/circ/in_house_use.xul index a1775bb6c9..26dce04090 100644 --- a/Open-ILS/xul/staff_client/server/circ/in_house_use.xul +++ b/Open-ILS/xul/staff_client/server/circ/in_house_use.xul @@ -76,6 +76,11 @@ + + + @@ -91,11 +96,7 @@ accesskey="S"/> - - - - - +