From 4505827398c22c5b47d86b6dcd29d1744a747e16 Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Wed, 6 May 2020 22:31:41 +0000 Subject: [PATCH] Bug 25405: Seperate Shib and Local log in for OPAC modal 1. Enable shibboleth in your koha-conf.xml by changng the value of to 1. 2. I also need to add the following: email 3. Look at the loginModal in the OPAC by clicking 'Log in to your account' in the top right corner. 4. Apply patch, restart all, and regenerate CSS. 5. Look at the loginModal again and you should be able to toggle Shibboleth/Local. 6. Make sure it all works. 7. Turn Shibboleth back off and restart all. 8. Make sure everything still works without Shibboleth on. --- koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss | 4 +++- koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc | 14 ++++++++++---- koha-tmpl/opac-tmpl/bootstrap/js/global.js | 5 +++++ 3 files changed, 18 insertions(+), 5 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss b/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss index 8babc17b63..c4f4f9ca18 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss +++ b/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss @@ -2434,7 +2434,9 @@ button { .modal-body, .modal-footer { font-size: 120%; - padding: 1em 2em; + } + .ui-tabs-anchor { + font-size: 15px; } } diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc index 88dd9a9255..14952c1d5b 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc +++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc @@ -339,8 +339,13 @@
-
diff --git a/koha-tmpl/opac-tmpl/bootstrap/js/global.js b/koha-tmpl/opac-tmpl/bootstrap/js/global.js index 76ce7b5cb0..05933eedab 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/js/global.js +++ b/koha-tmpl/opac-tmpl/bootstrap/js/global.js @@ -91,3 +91,8 @@ function confirmModal(message, title, yes_label, no_label, callback) { $("#bootstrap-confirm-box-modal-cancel").text( no_label || 'Cancel' ); $("#bootstrap-confirm-box-modal").modal('show'); } + +/*jQuery UI Tabs for login modal*/ +$( function() { + $( "#loginTabs" ).tabs(); +} ); -- 2.11.0