From c6e95b7c2ce5810e15a48192750e87282e3028c6 Mon Sep 17 00:00:00 2001 From: Dan Scott Date: Wed, 18 Sep 2013 09:35:47 -0400 Subject: [PATCH] Move search result "actions" below result metadata Rather than the tabular layout, add the place hold / add to my list actions underneath the record metadata for each result. This results in a narrower required width and enables us to actually display the actions in mobile mode. Signed-off-by: Dan Scott Signed-off-by: Lebbeous Fogle-Weekley Signed-off-by: Dan Wells --- Open-ILS/src/templates/opac/css/style.css.tt2 | 33 ++++--------------- .../src/templates/opac/parts/result/table.tt2 | 5 ++- 2 files changed, 9 insertions(+), 29 deletions(-) diff --git a/Open-ILS/src/templates/opac/css/style.css.tt2 b/Open-ILS/src/templates/opac/css/style.css.tt2 index cb552fa311..b7c0fbdc5a 100644 --- a/Open-ILS/src/templates/opac/css/style.css.tt2 +++ b/Open-ILS/src/templates/opac/css/style.css.tt2 @@ -415,12 +415,6 @@ div.place_hold { padding-top: 10px; } -span.place_hold { - position:relative; - top:-3px; - left:3px; -} - div.toggle_list { padding-top: 6px; } div.format_icon { @@ -428,16 +422,17 @@ div.format_icon { margin-right: 17px; } +.result_util { + border-bottom: 1px dotted [% css_colors.accent_light %]; + padding-top: 6px; +} + .results_aux_utils { - border-left:1px dotted [% css_colors.accent_light %]; - padding-left: 17px; - padding-bottom: 6px; - padding-right: 50px; + display: table-cell; } .result_util { - border-bottom: 1px dotted [% css_colors.accent_light %]; - padding-top: 6px; + padding-left: 1em; } .results_reviews { @@ -712,20 +707,9 @@ tr.result_table_row > td.result_table_pic_header { } div.result_table_utils_cont { - width: 250px; text-align:left; } -div.result_table_utils { - float: right; -} - -div.result_place_hold { - position: relative; - top: -3px; - left:3px; -} - .icon_text { text-transform:capitalize; } @@ -1786,9 +1770,6 @@ a.preflib_change { .invisible { display: none; } - .result_table_utils_cont { - display: none; - } .result_table_pic_header { padding-left: 0px !important; padding-right: 5px; diff --git a/Open-ILS/src/templates/opac/parts/result/table.tt2 b/Open-ILS/src/templates/opac/parts/result/table.tt2 index 021ffbe07f..bca53ab3a2 100644 --- a/Open-ILS/src/templates/opac/parts/result/table.tt2 +++ b/Open-ILS/src/templates/opac/parts/result/table.tt2 @@ -282,9 +282,6 @@ END; [% END %] [% END %] - - -
[%- search_ou = ctx.search_ou; @@ -331,7 +328,9 @@ END; [% END %]
+ + [%- IF ENV.OILS_CHILIFRESH_ACCOUNT %] -- 2.43.2