From 664fafd589007c6647859a4a5f4f34620a1bd7dd Mon Sep 17 00:00:00 2001 From: Dan Scott Date: Wed, 18 Sep 2013 10:57:52 -0400 Subject: [PATCH] Make record actions available in mobile record details Use the format label approach and push the actions beside the cover art (if any) so that users can do actions like place hold in a mobile UI. Signed-off-by: Dan Scott --- Open-ILS/src/templates/opac/css/style.css.tt2 | 31 ++++++++-------- .../src/templates/opac/parts/record/summary.tt2 | 41 +++++++++++----------- 2 files changed, 35 insertions(+), 37 deletions(-) diff --git a/Open-ILS/src/templates/opac/css/style.css.tt2 b/Open-ILS/src/templates/opac/css/style.css.tt2 index 00d7cb41bd..722e7ed885 100644 --- a/Open-ILS/src/templates/opac/css/style.css.tt2 +++ b/Open-ILS/src/templates/opac/css/style.css.tt2 @@ -1643,6 +1643,10 @@ a.preflib_change { display: none; } +.rdetail_authors_div { + margin-bottom: 1em; +} + @media only screen and (max-width: 600px) { body { font-size: 12pt; @@ -1839,21 +1843,6 @@ a.preflib_change { #main-content { margin-left: 1px; } - #rdetail_actions_div { - float: none !important; - } - #rdetail_actions_div div:nth-child(2), #rdetail_actions_div div:nth-child(3) { - display: none; - } - div#rdetail_title_div .format_icon { - float: none; - display: inline; - margin-right: 5px; - } - #rdetail_title { - float: none; - display: inline; - } #rdetails_status thead { display: none; } @@ -1897,5 +1886,15 @@ a.preflib_change { position: relative; width: 300px; } - + #rdetail_format_label { + float: left; + } + .rdetail_aux_utils { + padding: 0px; + border: none; + } + div#rdetail_actions_div { + float: left; + background: [% css_colors.background %]; + } } diff --git a/Open-ILS/src/templates/opac/parts/record/summary.tt2 b/Open-ILS/src/templates/opac/parts/record/summary.tt2 index b9a91a89ad..2e0e2222a0 100644 --- a/Open-ILS/src/templates/opac/parts/record/summary.tt2 +++ b/Open-ILS/src/templates/opac/parts/record/summary.tt2 @@ -9,6 +9,21 @@ [%-# This holds the record summary information %] [%- IF openurl.enabled == 'true'; -- 2.11.0