From 2a261b38dd020b06008ecf61c4b8b6c127797177 Mon Sep 17 00:00:00 2001 From: Alex Buckley <alexbuckley@catalyst.net.nz> Date: Thu, 5 Oct 2017 15:18:01 +1300 Subject: [PATCH] Bug 19413 - Moving the OK and Cancel inputs to the top of the 008 builder MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=utf-8 Followed test plan and patch applies and functions as described Signed-off-by: Dilan Johnpullé <dilan@calyx.net.au> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> --- koha-tmpl/intranet-tmpl/prog/css/staff-global.css | 9 +++++++++ .../en/modules/cataloguing/value_builder/marc21_field_008.tt | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/css/staff-global.css b/koha-tmpl/intranet-tmpl/prog/css/staff-global.css index 784fc3e..9b7f5ff 100644 --- a/koha-tmpl/intranet-tmpl/prog/css/staff-global.css +++ b/koha-tmpl/intranet-tmpl/prog/css/staff-global.css @@ -800,6 +800,15 @@ fieldset.action, div.action { width: auto; } +#action { + padding: 5px 5px 5px 5px; + border: 3px solid #E6F0F2; + top: -80px; + left: 80%; + position: relative; + width: 12%; +} + .btn-toolbar fieldset.action { margin-top: 0; } diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/marc21_field_008.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/marc21_field_008.tt index d32e202..2298e65 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/marc21_field_008.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/marc21_field_008.tt @@ -47,6 +47,7 @@ <h4 id="h4_result">"[% result %]"</h4> <form name="f_pop" id="f_pop" onsubmit="report()" action=""> +<fieldset class="action" id="action"><input type="submit" value="OK" /> <a href="#" class="cancel close">Cancel</a></fieldset> <input type="hidden" name="plugin_name" value="marc21_field_008.pl" /> <input type="hidden" id="[% index %]" name="index" value="[% index %]" /> <input type="hidden" name="result" id="result" value="[% result %]" /> @@ -61,7 +62,6 @@ </tr> </table> -<fieldset class="action"><input type="submit" value="OK" /> <a href="#" class="cancel close">Cancel</a></fieldset> </form> <script type="text/javascript">//<![CDATA[ -- 2.1.4