From d191c7e5a7ec4f7dfe07db241747db66dc5c6dbb Mon Sep 17 00:00:00 2001 From: Kathy Lussier Date: Fri, 1 Jun 2018 09:51:07 -0400 Subject: [PATCH] LP#1635386: Restore to xul colors and remove colors from class names This commit restores the xul display where overdue items were highlighted in red and long overdue items were highlighted in orange. Also removes the colors from the class names since people may decide to use totally different colors or style the rows in different ways. Signed-off-by: Kathy Lussier Signed-off-by: Dan Wells --- Open-ILS/src/templates/staff/css/style.css.tt2 | 14 +++++++------- .../web/js/ui/default/staff/circ/patron/bills.js | 6 +++--- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/Open-ILS/src/templates/staff/css/style.css.tt2 b/Open-ILS/src/templates/staff/css/style.css.tt2 index 94e4e860e6..ff61b4a317 100644 --- a/Open-ILS/src/templates/staff/css/style.css.tt2 +++ b/Open-ILS/src/templates/staff/css/style.css.tt2 @@ -346,29 +346,29 @@ table.list tr.selected td { /* deprecated? */ } /* patron bill row-highlighting */ -.red-row-highlight { +.overdue-row { color: #FFF; background-color: #EB0000 !important; } -.red-row-highlight a:link, .dark-red-row-highlight a:link { +.overdue-row a:link, .lost-row a:link { color: #B8ECFF; } -.orange-row-highlight { +.longoverdue-row { color: #000; background-color: #FFE1A8 !important; } -.dark-red-row-highlight { +.lost-row { color: #FFF; background-color: #800000 !important; } -.eg-grid-row-selected.red-row-highlight { +.eg-grid-row-selected.overdue-row { background-color: #CF0000 !important; } -.eg-grid-row-selected.orange-row-highlight { +.eg-grid-row-selected.longoverdue-row { background-color: #FFCF75 !important; } -.eg-grid-row-selected.dark-red-row-highlight { +.eg-grid-row-selected.lost-row { background-color: #5C0000 !important; } diff --git a/Open-ILS/web/js/ui/default/staff/circ/patron/bills.js b/Open-ILS/web/js/ui/default/staff/circ/patron/bills.js index bd1e9bed9f..63a7121172 100644 --- a/Open-ILS/web/js/ui/default/staff/circ/patron/bills.js +++ b/Open-ILS/web/js/ui/default/staff/circ/patron/bills.js @@ -225,11 +225,11 @@ function($scope , $q , $routeParams , egCore , egConfirmDialog , $location, apply: function(item) { if (!item['circulation.checkin_time']) { if (item['circulation.stop_fines'] == 'LOST') { - return 'dark-red-row-highlight'; + return 'lost-row'; } else if (item['circulation.stop_fines'] == 'LONGOVERDUE') { - return 'red-row-highlight'; + return 'longoverdue-row'; } else { - return 'orange-row-highlight'; + return 'overdue-row'; } } } -- 2.43.2