From 0d828c7d35b2f9aa95a30c85bc6fb5f574357685 Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Wed, 18 Jan 2017 14:36:11 -0500 Subject: [PATCH] =?utf8?q?LP#1646166=20=C3=80=20la=20carte=20Hatch,=20on-c?= =?utf8?q?all=20settings,=20strict=20access.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 1. Hatch now supports a al carte features instead of requiring all-or-none functionality. Supported features currently include printing, settings, and offline. (Note: offline handling pending merge of offline UI code). 2. Adds support for on-call setting keys. On-Call keys are those that can be set/get/remove'd from localStorage when Hatch is not avaialable, even though Hatch is configured as the primary storage location for the key in question. The initital target use case for on-call keys are those that allow the user to login and perform basic admin tasks (like disabling Hatch) even when Hatch is down. AKA Browser Staff Run Level 3. 3. egHatch no longer attempts requests at Hatch, falling through to local requests when Hatch fails. With the exception of on-call keys (above), either Hatch is used or local requests are used, depending on the configuration. The goal is to prevent any unintended and confusing blending of local and remote data. In other words, if Hatch is broken, it needs to be fixed or disabled for regular work flow to continue. 4. Hatch now has a dedicated UI under workstation administration. 5. Workstation admin splash page rearranged to take advantage of more horizontal space and avoid pushing so many options down the page. Signed-off-by: Bill Erickson Signed-off-by: Kathy Lussier --- .../staff/admin/workstation/t_hatch.tt2 | 52 ++++ .../admin/workstation/t_print_config.tt2 | 18 +- .../staff/admin/workstation/t_splash.tt2 | 230 +++++++++--------- .../staff/circ/checkin/t_checkin.tt2 | 4 +- .../staff/circ/patron/t_checkout.tt2 | 4 +- .../ui/default/staff/admin/workstation/app.js | 54 +++- .../js/ui/default/staff/circ/checkin/app.js | 2 +- .../ui/default/staff/circ/patron/checkout.js | 2 +- .../web/js/ui/default/staff/services/hatch.js | 213 ++++++++-------- .../web/js/ui/default/staff/services/print.js | 2 +- 10 files changed, 344 insertions(+), 237 deletions(-) create mode 100644 Open-ILS/src/templates/staff/admin/workstation/t_hatch.tt2 diff --git a/Open-ILS/src/templates/staff/admin/workstation/t_hatch.tt2 b/Open-ILS/src/templates/staff/admin/workstation/t_hatch.tt2 new file mode 100644 index 0000000000..d8d87eae11 --- /dev/null +++ b/Open-ILS/src/templates/staff/admin/workstation/t_hatch.tt2 @@ -0,0 +1,52 @@ +
+ +

[% l('Print / Storage Service ("Hatch")') %]

+ +
+ [% l("Hatch is Available") %] + +
+ +
+ [% l("Hatch is Not Installed In This Browser") %] +
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+ + diff --git a/Open-ILS/src/templates/staff/admin/workstation/t_print_config.tt2 b/Open-ILS/src/templates/staff/admin/workstation/t_print_config.tt2 index 8f4a34dac5..4c88af276d 100644 --- a/Open-ILS/src/templates/staff/admin/workstation/t_print_config.tt2 +++ b/Open-ILS/src/templates/staff/admin/workstation/t_print_config.tt2 @@ -15,9 +15,21 @@
-

[% l('Printer Settings for Remote Printing') %]

-
- [% l("Hatch is not connected") %] +

[% l('Remote Printer Settings') %]

+ +
+[% l('Remote printing is not available on this browser. The settings below will have no effect.') %] +
+ +
+

+[% l("Remote printing is not enabled on this browser. The settings below will have no effect until remote printing is enabled.") %] + + [% l('Enable Remote Printing.') %] + +

diff --git a/Open-ILS/src/templates/staff/admin/workstation/t_splash.tt2 b/Open-ILS/src/templates/staff/admin/workstation/t_splash.tt2 index bb80cc2dba..578ba73f1e 100644 --- a/Open-ILS/src/templates/staff/admin/workstation/t_splash.tt2 +++ b/Open-ILS/src/templates/staff/admin/workstation/t_splash.tt2 @@ -2,118 +2,126 @@
-
-
- +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+
+
+ +
+
+
+ Test: + + + + +
+
+ +
+
+ +
+
+ +

[% l('The default search library setting determines what library is searched from the advanced search screen and portal page by default. Manual selection of a search library will override it. One recommendation is to set the search library to the highest point you would normally want to search.') %]

+
+
+ + +
+
+ +
+
+ +

[% l('The preferred library is used to show copies and URIs regardless of the library searched. One recommendation is to set this to your workstation library so that local copies show up first in search results.') %]

+
+
+ + +
-
-
- - -
-
-
- + +
+
+ +

[% l('Advanced search has secondary panes for Numeric and MARC Expert searching. You can change which one is loaded by default when opening a new catalog window here.') %]

+
+
+ +
-
-
- Test: - - - - -
-
- -
-
- -

[% l('The default search library setting determines what library is searched from the advanced search screen and portal page by default. Manual selection of a search library will override it. One recommendation is to set the search library to the highest point you would normally want to search.') %]

-
-
- - -
-
- -
-
- -

[% l('The preferred library is used to show copies and URIs regardless of the library searched. One recommendation is to set this to your workstation library so that local copies show up first in search results.') %]

-
-
- - -
-
- -
-
- -

[% l('Advanced search has secondary panes for Numeric and MARC Expert searching. You can change which one is loaded by default when opening a new catalog window here.') %]

-
-
- -
-
- -
- -
- -
- -
- -
- -
- -
- -
+ +
+
+ + +
diff --git a/Open-ILS/src/templates/staff/circ/checkin/t_checkin.tt2 b/Open-ILS/src/templates/staff/circ/checkin/t_checkin.tt2 index 9ce6ac795c..ccc7e5d97f 100644 --- a/Open-ILS/src/templates/staff/circ/checkin/t_checkin.tt2 +++ b/Open-ILS/src/templates/staff/circ/checkin/t_checkin.tt2 @@ -112,13 +112,13 @@
-
+
-
+
-
-
+
+