Bug 11088: Floating Save div for Patron entry page
authorAleisha <aleishaamohia@hotmail.com>
Thu, 28 Apr 2016 08:05:03 +0000 (08:05 +0000)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 29 Apr 2016 11:41:16 +0000 (11:41 +0000)
To test:
1) Go to add a new patron
2) Confirm floating save div scrolls down page with you and works as
   expected
3) Go to edit an existing patron
4) Repeat Step 2

Sponsored-by: Catalyst IT
Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css
koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt

index a638129..69f987c 100644 (file)
@@ -336,6 +336,15 @@ legend {
     padding: 0.2em 0.5em;
 }
 
+#save {
+    width:150px;
+    background-color:rgba(0,0,0,0.1);
+    position:fixed;
+    left:900px;
+    top:350px;
+    right:200px;
+}
+
 #breadcrumbs {
     background-color : #e6f0f2;
     clear : both;
index 667915f..87cc2c4 100644 (file)
@@ -1146,6 +1146,7 @@ function select_user(borrowernumber, borrower) {
   </fieldset>
 [% END %] [% END %]
 
+<fieldset class="rows" id="save">
 [% UNLESS ( check_member ) %]
     <fieldset class="action">
         <input type="submit" name="save" onclick="return check_form_borrowers();" value="Save" />
@@ -1156,6 +1157,7 @@ function select_user(borrowernumber, borrower) {
           [% END %]
     </fieldset>
 [% END %]
+</fieldset>
 </form>
   
 </div>