From d1cbe993e440a29582a93a7830d2d759bb7d1336 Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Wed, 4 Dec 2013 11:54:52 -0500 Subject: [PATCH] web staff: extracting some inline css Signed-off-by: Bill Erickson --- .../staff/cat/bucket/record/t_pending.tt2 | 10 +--------- .../templates/staff/cat/bucket/record/t_search.tt2 | 10 +--------- .../templates/staff/cat/bucket/record/t_view.tt2 | 10 +--------- .../templates/staff/circ/patron/t_holds_table.tt2 | 10 +--------- .../staff/circ/patron/t_items_out_table.tt2 | 11 +---------- .../staff/circ/patron/t_search_results.tt2 | 10 +--------- .../src/templates/staff/circ/patron/t_summary.tt2 | 23 ++++++---------------- Open-ILS/src/templates/staff/css/style.css.tt2 | 13 ++++++++++++ 8 files changed, 25 insertions(+), 72 deletions(-) diff --git a/Open-ILS/src/templates/staff/cat/bucket/record/t_pending.tt2 b/Open-ILS/src/templates/staff/cat/bucket/record/t_pending.tt2 index 6fabd1c83b..c8282b1e30 100644 --- a/Open-ILS/src/templates/staff/cat/bucket/record/t_pending.tt2 +++ b/Open-ILS/src/templates/staff/cat/bucket/record/t_pending.tt2 @@ -1,13 +1,5 @@
- -
[% INCLUDE 'staff/cat/bucket/record/t_bucket_info.tt2' %] @@ -89,7 +81,7 @@
-
[% INCLUDE 'staff/cat/bucket/record/t_bucket_info.tt2' %] @@ -118,7 +110,7 @@
-
[% INCLUDE 'staff/cat/bucket/record/t_bucket_info.tt2' %] @@ -93,7 +85,7 @@
-
-
+
diff --git a/Open-ILS/src/templates/staff/circ/patron/t_items_out_table.tt2 b/Open-ILS/src/templates/staff/circ/patron/t_items_out_table.tt2 index b85fda4e76..10b8be6f02 100644 --- a/Open-ILS/src/templates/staff/circ/patron/t_items_out_table.tt2 +++ b/Open-ILS/src/templates/staff/circ/patron/t_items_out_table.tt2 @@ -1,12 +1,3 @@ - - [% COLUMNS = [ {label => l('Circ ID'), name => 'id', display => 1}, @@ -33,7 +24,7 @@ items_out.setColumns([
-
#
+
diff --git a/Open-ILS/src/templates/staff/circ/patron/t_search_results.tt2 b/Open-ILS/src/templates/staff/circ/patron/t_search_results.tt2 index 2d9b2e1bdd..054a98abba 100644 --- a/Open-ILS/src/templates/staff/circ/patron/t_search_results.tt2 +++ b/Open-ILS/src/templates/staff/circ/patron/t_search_results.tt2 @@ -1,11 +1,3 @@ - - [% # Default / available display columns # Since there will be demand for configurable columns in this UI, @@ -54,7 +46,7 @@ patrons.setColumns([ ])"> -
#
+
diff --git a/Open-ILS/src/templates/staff/circ/patron/t_summary.tt2 b/Open-ILS/src/templates/staff/circ/patron/t_summary.tt2 index 9edd66ae5b..86f2ee4bf1 100644 --- a/Open-ILS/src/templates/staff/circ/patron/t_summary.tt2 +++ b/Open-ILS/src/templates/staff/circ/patron/t_summary.tt2 @@ -1,15 +1,4 @@ - -
@@ -27,7 +16,7 @@
-
{{penalty.note() || penalty.standing_penalty().label()}}
@@ -65,7 +54,7 @@
{{patron().expire_date() | date:'shortDate'}}
+ ng-class="{'patron-summary-alert' : patron_stats().fines.balance_owed}">
[% l('Fines Owed') %]
{{patron_stats().fines.balance_owed | currency}} @@ -76,22 +65,22 @@
{{patron_stats().checkouts.out}}
+ ng-class="{'patron-summary-alert' : patron_stats().checkouts.overdue}">
[% l('Overdue') %]
{{patron_stats().checkouts.overdue}}
+ ng-class="{'patron-summary-alert' : patron_stats().checkouts.long_overdue}">
[% l('Long Overdue') %]
{{patron_stats().checkouts.long_overdue}}
+ ng-class="{'patron-summary-alert' : patron_stats().checkouts.claims_returned}">
[% l('Claimed Returned') %]
{{patron_stats().checkouts.claims_returned}}
+ ng-class="{'patron-summary-alert' : patron_stats().checkouts.lost}">
[% l('Lost') %]
{{patron_stats().checkouts.lost}}
diff --git a/Open-ILS/src/templates/staff/css/style.css.tt2 b/Open-ILS/src/templates/staff/css/style.css.tt2 index fc45281101..3f3c14653d 100644 --- a/Open-ILS/src/templates/staff/css/style.css.tt2 +++ b/Open-ILS/src/templates/staff/css/style.css.tt2 @@ -78,3 +78,16 @@ padding-bottom: 10px; } +table.list tr.selected td { + color: #2a6496; + background-color: #F5F5F5; +} + +/** style to make a grid look like a striped table */ +#patron-summary-grid div.row {padding: 3px;} +#patron-summary-grid div.row:nth-child(odd) {background-color: rgb(249, 249, 249);} +/* there are bootstrap tyles for error, warning, etc., +but the ones I'm finding aren't quite cutting it..*/ +.patron-summary-alert {color: red; font-weight:bold} +.patron-summary-divider { border-top: 1px solid #DDD} + -- 2.11.0
#