From: pines Date: Wed, 30 Aug 2006 15:13:08 +0000 (+0000) Subject: style net_access X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=6ce4d7ef66000c0dcc3031be215660f3a35591b8;p=Evergreen.git style net_access git-svn-id: svn://svn.open-ils.org/ILS/trunk@5775 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/xul/staff_client/server/patron/util.js b/Open-ILS/xul/staff_client/server/patron/util.js index 2de4bee270..ff8def25dc 100644 --- a/Open-ILS/xul/staff_client/server/patron/util.js +++ b/Open-ILS/xul/staff_client/server/patron/util.js @@ -483,6 +483,8 @@ patron.util.set_penalty_css = function(patron) { addCSSClass(document.documentElement,'PATRON_INACTIVE'); } + try { addCSSClass(document.documentElement,'PATRON_NET_ACCESS_' + patron.net_access_level()); } catch(E) {} + var now = new Date(); now = now.getTime()/1000; diff --git a/Open-ILS/xul/staff_client/server/skin/patron_display.css b/Open-ILS/xul/staff_client/server/skin/patron_display.css index ddc6958f71..1e0f8256e9 100755 --- a/Open-ILS/xul/staff_client/server/skin/patron_display.css +++ b/Open-ILS/xul/staff_client/server/skin/patron_display.css @@ -20,7 +20,7 @@ deck#patron_deck { border-left: solid thin black; } .PATRON_HAS_BILLS label.bills_indicator { display: inline; color: #AA4400; } .PATRON_HAS_OVERDUES .patronNameLarge { background-color: #FF9900; } -.PATRON_HAS_OVERDUES label.items_overdue { color: #FF9900; } +.PATRON_HAS_OVERDUES label.items_overdue { color: #AA4400; } /* .PATRON_HAS_OVERDUES label.items_overdue.label { text-decoration: underline; } */ .PATRON_HAS_OVERDUES label.items_overdue.value { } .PATRON_HAS_OVERDUES label.overdues_indicator { display: inline; color: #AA4400; } @@ -65,4 +65,7 @@ deck#patron_deck { border-left: solid thin black; } .PATRON_BARRED .patronNameLarge { background-color: red; color: white; } .PATRON_BARRED label.barred_indicator { display: inline; color: red; } +.PATRON_NET_ACCESS_1 .net_access { color: #AA4400; } /* Filtered */ +.PATRON_NET_ACCESS_2 .net_access { color: green; } /* Unfiltered */ +.PATRON_NET_ACCESS_3 .net_access { color: red; } /* No Access */