From d1f88e505e3324c88a5b803d9002dd8c858c1f4f Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Tue, 10 Dec 2013 15:35:48 -0500 Subject: [PATCH] web staff : remaining patron search fields Signed-off-by: Bill Erickson --- .../src/templates/staff/circ/patron/t_search.tt2 | 66 ++++++++++++++++++---- .../staff/circ/patron/t_search_results.tt2 | 1 + Open-ILS/src/templates/staff/css/style.css.tt2 | 13 +++++ Open-ILS/src/templates/staff/t_navbar.tt2 | 4 +- .../web/js/ui/default/staff/circ/patron/app.js | 32 +++++++++-- Open-ILS/web/js/ui/default/staff/services/idl.js | 12 ++++ 6 files changed, 111 insertions(+), 17 deletions(-) diff --git a/Open-ILS/src/templates/staff/circ/patron/t_search.tt2 b/Open-ILS/src/templates/staff/circ/patron/t_search.tt2 index 083d2f946b..eb65e4efac 100644 --- a/Open-ILS/src/templates/staff/circ/patron/t_search.tt2 +++ b/Open-ILS/src/templates/staff/circ/patron/t_search.tt2 @@ -1,17 +1,63 @@

+
-
- - - - - - + +
+
+ + + + + + +
+
+
+
+ + + + +
+
+
+
+ + + + + +
+
+
+
+ + + + + + + + + + + +
+
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 054a98abba..22003167be 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 @@ -18,6 +18,7 @@ COLUMNS = [ {label => l('First Name'), name => 'first_given_name', display => 1}, {label => l('Middle Name'), name => 'second_given_name',display => 1}, {label => l('DoB'), name => 'dob', display => 1}, +{label => l('Home Library'),name => 'home_ou.shortname',display => 1}, {label => l('Created On'), name => 'create_date', display => 1}, {label => l('Mailing:Street 1'), name => 'mailing_address.street1', display => 1}, diff --git a/Open-ILS/src/templates/staff/css/style.css.tt2 b/Open-ILS/src/templates/staff/css/style.css.tt2 index 620cba9abe..e31c0c2460 100644 --- a/Open-ILS/src/templates/staff/css/style.css.tt2 +++ b/Open-ILS/src/templates/staff/css/style.css.tt2 @@ -83,6 +83,9 @@ table.list tr.selected td { background-color: #F5F5F5; } + +/* TODO: move these to patron CSS file --- */ + /** 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);} @@ -94,3 +97,13 @@ but the ones I'm finding aren't quite cutting it..*/ .pad-vert {padding : 20px 0px 10px 0px;} #patron-checkout-barcode { width: 18em; } +#patron-search-form div.row { + margin-bottom: 5px; +} + +#patron-search-form select, input[type="text"], + input[type="submit"],input[type="reset"] { + width: 10em; +} + + diff --git a/Open-ILS/src/templates/staff/t_navbar.tt2 b/Open-ILS/src/templates/staff/t_navbar.tt2 index f9508cc496..b06ebc532b 100644 --- a/Open-ILS/src/templates/staff/t_navbar.tt2 +++ b/Open-ILS/src/templates/staff/t_navbar.tt2 @@ -58,7 +58,9 @@