From 2e3033a98d3b860c5c60beb6d12b81df25a25397 Mon Sep 17 00:00:00 2001 From: Kyle Huckins Date: Mon, 12 Feb 2018 17:53:30 +0000 Subject: [PATCH] lp1748277 Patron Reg Long Field Doc Overlapping - Restructures the Patron Registration/Editor template to have better scaffolding in place, keeping the alert pane from overlapping with fields. - Adds a z-index level of 3 to the Registration alert pane, ensuring it stays above form controls wihtin input groups. Signed-off-by: Kyle Huckins --- .../src/templates/staff/circ/patron/register.tt2 | 2 +- .../src/templates/staff/circ/patron/t_edit.tt2 | 212 +++++++++++---------- Open-ILS/src/templates/staff/css/circ.css.tt2 | 1 + 3 files changed, 109 insertions(+), 106 deletions(-) diff --git a/Open-ILS/src/templates/staff/circ/patron/register.tt2 b/Open-ILS/src/templates/staff/circ/patron/register.tt2 index 0df6f9e5fa..b0efc65026 100644 --- a/Open-ILS/src/templates/staff/circ/patron/register.tt2 +++ b/Open-ILS/src/templates/staff/circ/patron/register.tt2 @@ -21,7 +21,7 @@ angular.module('egCoreMod').run(['egStrings', function(s) { [% END %] diff --git a/Open-ILS/src/templates/staff/circ/patron/t_edit.tt2 b/Open-ILS/src/templates/staff/circ/patron/t_edit.tt2 index f61f5eea07..58f9484723 100644 --- a/Open-ILS/src/templates/staff/circ/patron/t_edit.tt2 +++ b/Open-ILS/src/templates/staff/circ/patron/t_edit.tt2 @@ -1,97 +1,5 @@ [% DOC_IMG = '/images/question-mark.png' %] - -
- -
-
- [% l('Register Patron') %] -
-
- -
- [% INCLUDE 'staff/circ/patron/reg_actions.tt2' %] -
-
- - - -
[% l('Patron Edit') %]
- - - [% MACRO draw_field_label (cls, field) BLOCK %]
@@ -102,7 +10,6 @@
[% END %] - [% # draws a vanilla form input field for inputs that require no # special additions. @@ -135,26 +42,47 @@ MACRO draw_form_input(cls, field, path, type, disable) BLOCK; [% END %] - -
-
-
-
- [% l('Loading...') %] +
+ +
+
+ [% l('Register Patron') %] +
+ +
+ [% INCLUDE 'staff/circ/patron/reg_actions.tt2' %] +
-
-
- +
+
+
+
+ [% l('Loading...') %] +
+
+
+
+ +
+ +
+ name="reg_form" ng-show="page_data_loaded" class="col-sm-12 col-md-9"> @@ -584,7 +512,7 @@ within the "form" by name for validation.
[% draw_field_label('au', 'expire_date') %]
-
@@ -1133,3 +1061,77 @@ within the "form" by name for validation.
+ + + +
diff --git a/Open-ILS/src/templates/staff/css/circ.css.tt2 b/Open-ILS/src/templates/staff/css/circ.css.tt2 index 798117ebad..77ebb5de04 100644 --- a/Open-ILS/src/templates/staff/css/circ.css.tt2 +++ b/Open-ILS/src/templates/staff/css/circ.css.tt2 @@ -115,6 +115,7 @@ but the ones I'm finding aren't quite cutting it..*/ position: fixed; top:160px; right:20px; + z-index: 3; /* Avoid losing precedence over input group fields */ /* border:2px dashed #d9e8f9; -moz-border-radius: 10px; -- 2.11.0