From f8c0fee7bb9c0031ebd713f5e3e3b668f40ee704 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Thu, 1 Jun 2017 12:19:46 +0000 Subject: [PATCH] Bug 19461: Add floating toolbar to staff client catalog search results This patch adds a floating toolbar to the staff client search results page, making all the various controls visible as the user scrolls down. To test, apply the patch and perform a catalog search in the staff client. - The toolbar should "stick" to the top of the page as you scroll down. - Controls in the toolbar should all work correctly: - Select all / Clear all - Highlight / Unhighlight - Add to Cart - Cart notifications should be positioned correctly - Add to list (and all list menu controls) - Place hold (including controls which are visible when a "Search to hold" has been initiated - Z39.50/SRU search - Sort --- koha-tmpl/intranet-tmpl/prog/css/staff-global.css | 18 ++ .../prog/en/modules/catalogue/results.tt | 310 ++++++++++++++------- koha-tmpl/intranet-tmpl/prog/js/basket.js | 3 +- 3 files changed, 224 insertions(+), 107 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/css/staff-global.css b/koha-tmpl/intranet-tmpl/prog/css/staff-global.css index 784fc3e..d89f13f 100644 --- a/koha-tmpl/intranet-tmpl/prog/css/staff-global.css +++ b/koha-tmpl/intranet-tmpl/prog/css/staff-global.css @@ -1553,6 +1553,18 @@ li.email { padding : 5px 25em 0 0; } +#searchheader .dropdown-menu > li > a { + padding: 2px 10px; +} + +#searchheader .dropdown-menu > li > a { + padding: 2px 10px; +} + +#searchheader .dropdown-header { + padding: 4px 5px +} + #search-facets ul { margin : 0; padding : .3em; @@ -2487,6 +2499,12 @@ a.dropdown-toggle { filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0077b3', GradientType=0); } +.dropdown-header { + border-top: 1px solid #EEE; + color: #000; + font-weight: bold; +} + a.disabled { color : #999999; } diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt index 29b70a4..b20150e 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt @@ -19,6 +19,7 @@ +