From 4d3d5c0204ee556f150aa86d2a654bacfc18880c Mon Sep 17 00:00:00 2001 From: Chris Sharp Date: Wed, 1 Apr 2015 13:16:03 -0400 Subject: [PATCH] PINES Custom Self-Check for 3.10 Upgrade# branding the built-in selfcheck interface for PINES These are modifications to the Evergreen self-check interface to: 1. Fix bugs with printing holds and fines. 2. Improve page layout overall, and with consideration for 1024x768 resolution monitors that a lot of libraries use. 3. Hide hold status from view on holds table. 4. Hide buttons/fields from screen when user is not logged in. Signed-off-by: Terran McCanna Conflicts: Open-ILS/src/templates/circ/selfcheck/banner.tt2 Additional changes to the self-check interface. Signed-off-by: Terran McCanna Selfcheck Cookie Path Change base.xul/base.js to support a "cookie path" option to limit what paths will use the login cookie, then tell the selfcheck interface to use it. Signed-off-by: Thomas Berezansky Signed-off-by: Chris Sharp Self-Check changes in preparation for upgrade: Changed wording on some of the on-screen directions. Signed-off-by: Terran McCanna Restoring selfcheck.js to stock version PINES Customization: Self-check text changes Modified login text to make it more user friendly. Signed-off-by: Terran McCanna PINES Customization: Self-check - add note about online catalog Added note to screen referring people to online catalog if they wish to perform functions not available in self-check such as paying fines and handling renewals. Signed-off-by: Terran McCanna PINES fix for self-check missing code This adds back code that is in master and was in rel_3_6_1, but was missing in rel_3_8_0. Signed-off-by: Terran McCanna PINES Customization to Self-check Wording Signed-off-by: McCanna LP#1810296: Fix selfcheck patron password setting check Previously, the selfcheck ignored this setting if it was set to "False", since the setting value is stored as text and the truth test always succeeded. Instead, explicitly check that the setting is "True". Signed-off-by: Chris Sharp Customization of self-check interface so that username, password, and barcode text banners appear in different colors in an effort to make it clearer to patrons that they are being asked for a different type of information. Note that that this also tweaks the password check because the old format was different from current master and no longer working correctly. Signed-off-by: Terran McCanna PINES Self-check Customization New PINES logo and matching color scheme Signed-off-by: Terran McCanna PINES Customization for Self-Check: Hide Pay Fines Button There are some environments where the Pay Fines button was appearing even though it is supposed to be hidden via CSS. This adds more CSS to move the button off the side of the page. (Removing the button entirely broke the interface.) Signed-off-by: Terran McCanna --- Open-ILS/src/templates/base.tt2 | 2 +- Open-ILS/src/templates/circ/selfcheck/banner.tt2 | 14 +++---- Open-ILS/src/templates/circ/selfcheck/fines.tt2 | 2 +- .../src/templates/circ/selfcheck/holds_page.tt2 | 4 +- Open-ILS/src/templates/circ/selfcheck/main.tt2 | 5 +-- Open-ILS/src/templates/circ/selfcheck/summary.tt2 | 6 +++ Open-ILS/web/css/skin/default/selfcheck.css | 46 +++++++++++---------- Open-ILS/web/images/pines_logo_selfcheck.png | Bin 0 -> 9695 bytes Open-ILS/web/js/dojo/openils/circ/nls/selfcheck.js | 16 +++---- Open-ILS/web/js/ui/base.js | 6 +-- .../web/js/ui/default/circ/selfcheck/selfcheck.js | 14 +++++-- 11 files changed, 63 insertions(+), 52 deletions(-) create mode 100644 Open-ILS/web/images/pines_logo_selfcheck.png diff --git a/Open-ILS/src/templates/base.tt2 b/Open-ILS/src/templates/base.tt2 index d85240c994..ba577d1b9a 100644 --- a/Open-ILS/src/templates/base.tt2 +++ b/Open-ILS/src/templates/base.tt2 @@ -9,7 +9,7 @@ - + [% INCLUDE 'circ/selfcheck/audio_config.tt2' %] [% INCLUDE 'circ/selfcheck/logout_dialog.tt2' %] -
[% INCLUDE 'circ/selfcheck/banner.tt2' %]