From 1ccae70ed26296620918f4f7d102bf72b5f198ce Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Wed, 9 Jul 2014 11:03:31 -0400 Subject: [PATCH] holds shelf. actions / clear shelf Signed-off-by: Bill Erickson --- .../src/templates/staff/circ/holds/index.tt2 | 5 + .../templates/staff/circ/holds/t_shelf.tt2 | 14 +- .../staff/circ/holds/t_shelf_list.tt2 | 13 ++ .../src/templates/staff/css/style.css.tt2 | 6 + .../src/templates/staff/share/t_autogrid.tt2 | 6 +- .../web/js/ui/default/staff/circ/holds/app.js | 140 +++++++++++++++++- .../js/ui/default/staff/circ/patron/holds.js | 27 ++-- .../web/js/ui/default/staff/services/grid.js | 19 ++- 8 files changed, 197 insertions(+), 33 deletions(-) diff --git a/Open-ILS/src/templates/staff/circ/holds/index.tt2 b/Open-ILS/src/templates/staff/circ/holds/index.tt2 index 01d07b114e..5bcac1c49c 100644 --- a/Open-ILS/src/templates/staff/circ/holds/index.tt2 +++ b/Open-ILS/src/templates/staff/circ/holds/index.tt2 @@ -14,6 +14,11 @@ [% INCLUDE 'staff/circ/share/hold_strings.tt2' %] + [% END %]
diff --git a/Open-ILS/src/templates/staff/circ/holds/t_shelf.tt2 b/Open-ILS/src/templates/staff/circ/holds/t_shelf.tt2 index a465a6c2d5..a3c4005276 100644 --- a/Open-ILS/src/templates/staff/circ/holds/t_shelf.tt2 +++ b/Open-ILS/src/templates/staff/circ/holds/t_shelf.tt2 @@ -2,18 +2,16 @@
[% l('Pickup Library') %] - +
-
-
- -
+
+ + {{clear_progress.value}} / {{clear_progress.max}} +
+
diff --git a/Open-ILS/src/templates/staff/circ/holds/t_shelf_list.tt2 b/Open-ILS/src/templates/staff/circ/holds/t_shelf_list.tt2 index 0494b85e42..1ccf6b6ca7 100644 --- a/Open-ILS/src/templates/staff/circ/holds/t_shelf_list.tt2 +++ b/Open-ILS/src/templates/staff/circ/holds/t_shelf_list.tt2 @@ -3,11 +3,23 @@ id-field="id" features="-sort,-multisort" items-provider="gridDataProvider" + grid-controls="gridControls" persist-key="circ.holds.shelf"> + + + + + + @@ -52,6 +64,7 @@ + diff --git a/Open-ILS/src/templates/staff/css/style.css.tt2 b/Open-ILS/src/templates/staff/css/style.css.tt2 index ebfa1b1cc3..6b1f31bc59 100644 --- a/Open-ILS/src/templates/staff/css/style.css.tt2 +++ b/Open-ILS/src/templates/staff/css/style.css.tt2 @@ -163,6 +163,12 @@ table.list tr.selected td { /* deprecated? */ /* bootstrap alerts are heavily padded. use this to reduce */ .alert-less-pad {padding: 5px;} +/* text displayed inside a , typically the max/progress values */ +.progressbar-text { + color:black; + white-space:nowrap; +} + /* ---------------------------------------------------------------------- * Grid * ---------------------------------------------------------------------- */ diff --git a/Open-ILS/src/templates/staff/share/t_autogrid.tt2 b/Open-ILS/src/templates/staff/share/t_autogrid.tt2 index cd5b3ad1c5..136252cf28 100644 --- a/Open-ILS/src/templates/staff/share/t_autogrid.tt2 +++ b/Open-ILS/src/templates/staff/share/t_autogrid.tt2 @@ -15,7 +15,7 @@ @@ -24,7 +24,9 @@
-