From c63003dd5a73f1276d7e1191bef30822326f2994 Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Wed, 17 Dec 2014 21:10:32 -0300 Subject: [PATCH] Bug 13218: (RM followup) only scroll on actually variable stuff Most of the page contents have fixed size. The only exception is the targets list. If the target list grows, then the whole page needs to be scrolled in order to reach the buttons. We should make the z3950 targets area scrollable, and remove scrolbars from all over the place. Signed-off-by: Tomas Cohen Arazi --- .../prog/en/css/staff-global.css | 19 ++++++++++++- .../prog/en/modules/acqui/z3950_search.tt | 9 +++--- .../modules/cataloguing/z3950_auth_search.tt | 28 +++++++++---------- .../en/modules/cataloguing/z3950_search.tt | 11 ++++---- 4 files changed, 43 insertions(+), 24 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css b/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css index 5eb6aab293..9d5b7ea9ef 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css +++ b/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css @@ -849,11 +849,28 @@ fieldset.rows .inputnote { background-position : center left; background-repeat : no-repeat; } + #z3950searcht table { /* doesn't have desired effect in catalogue/results.tmpl - I'll leave this here for now but there do seem to be casscading CSS errors in this and other CSS fiels - RICKW 20081118 */ padding: 20px; border: none; } + +#z3950_search_targets { + height: 338px; + overflow-y: auto; +} + +#z3950_search_targets_acq { + height: 308px; + overflow-y: auto; +} + +#z3950_search_targets_auth { + height: 348px; + overflow-y: auto; +} + #printbiblio button, #printbiblio a, #printmenuc .first-child { padding-left : 34px; background-image: url("../../img/toolbar-print.gif"); @@ -2740,4 +2757,4 @@ span.onsite_checkout { background-color : rgba(255, 242, 206, 0.5); border-radius: 4px; border : 1px solid #FFF2CE; -} \ No newline at end of file +} diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/z3950_search.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/z3950_search.tt index c7550875b5..ff95b4a0c0 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/z3950_search.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/z3950_search.tt @@ -121,7 +121,7 @@ tr.selected { background-color : #FFFFCC; } tr.selected td { background-color :

Search targets Select allClear all

- +
[% FOREACH serverloo IN serverloop %]

[% IF ( serverloo.checked ) %] @@ -134,10 +134,11 @@ tr.selected { background-color : #FFFFCC; } tr.selected td { background-color :

[% END %]
-
Cancel
- +
- + +
Cancel
+ [% ELSE %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_auth_search.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_auth_search.tt index 5965dcfeb9..6ef6136e25 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_auth_search.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_auth_search.tt @@ -120,23 +120,23 @@ tr.selected { background-color : #FFFFCC; } tr.selected td { background-color : -
-

Search targets Select allClear all

- [% FOREACH serverloo IN serverloop %] -

- [% IF ( serverloo.checked ) %] - - [% ELSE %] - +

+

Search targets Select allClear all

+
+ [% FOREACH serverloo IN serverloop %] +

+ [% IF ( serverloo.checked ) %] + + [% ELSE %] + + [% END %] + +

[% END %] - -

- [% END %] -
+
+
Cancel
- - [% ELSE %]

Results for Authority Records

[% IF ( breeding_loop ) %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_search.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_search.tt index 65713b9274..ab3ef2e663 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_search.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_search.tt @@ -121,10 +121,10 @@ tr.selected { background-color : #FFFFCC; } tr.selected td { background-color : - -
-

Search targets Select allClear all

- +
+
+

Search targets Select allClear all

+
[% FOREACH serverloo IN serverloop %]

[% IF ( serverloo.checked ) %] @@ -136,7 +136,8 @@ tr.selected { background-color : #FFFFCC; } tr.selected td { background-color :

[% END %] -
+
+
Cancel
-- 2.39.5