Bugzilla – Attachment 49520 Details for
Bug 15793
UX of circulation patron search with long lists of returned borrowers
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 15793: Add floating toolbar to circulation.tt
Bug-15793-Add-floating-toolbar-to-circulationtt.patch (text/plain), 4.26 KB, created by
Marc Véron
on 2016-03-24 08:01:12 UTC
(
hide
)
Description:
Bug 15793: Add floating toolbar to circulation.tt
Filename:
MIME Type:
Creator:
Marc Véron
Created:
2016-03-24 08:01:12 UTC
Size:
4.26 KB
patch
obsolete
>From 56d23db1123ebf1e43c39112ec5c3abc6b6f3498 Mon Sep 17 00:00:00 2001 >From: Aleisha <aleishaamohia@hotmail.com> >Date: Thu, 11 Feb 2016 20:38:36 +0000 >Subject: [PATCH] Bug 15793: Add floating toolbar to circulation.tt >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >To test: >1) Put in a patron search that will bring back a long list of patrons (ie the letter 'a') >2) Confirm 'Select patron' button is now at the top >3) Scroll down page, confirm button toolbar follows you down the page >4) Select a patron and click button - confirm you are taken to the correct patron page > >Signed-off-by: Liz Rea <liz@catalyst.net.nz> >This is much nicer, thank you. :) > >Signed-off-by: Marc Véron <veron@veron.ch> >--- > koha-tmpl/intranet-tmpl/lib/bootstrap/bootstrap.min.css | 2 +- > koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt | 10 +++++++++- > 2 files changed, 10 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/lib/bootstrap/bootstrap.min.css b/koha-tmpl/intranet-tmpl/lib/bootstrap/bootstrap.min.css >index 0a4c9df..dfe908b 100644 >--- a/koha-tmpl/intranet-tmpl/lib/bootstrap/bootstrap.min.css >+++ b/koha-tmpl/intranet-tmpl/lib/bootstrap/bootstrap.min.css >@@ -268,7 +268,7 @@ button.btn.btn-mini,input[type="submit"].btn.btn-mini{*padding-top:1px;*padding- > .icon-fullscreen{background-position:-456px -144px;} > .btn-group{position:relative;display:inline-block;*display:inline;*zoom:1;font-size:0;vertical-align:middle;white-space:nowrap;*margin-left:.3em;}.btn-group:first-child{*margin-left:0;} > .btn-group+.btn-group{margin-left:5px;} >-.btn-toolbar{font-size:0;margin-top:10px;margin-bottom:10px;}.btn-toolbar>.btn+.btn,.btn-toolbar>.btn-group+.btn,.btn-toolbar>.btn+.btn-group{margin-left:5px;} >+.btn-toolbar{font-size:0;margin-top:0;margin-bottom:10px;}.btn-toolbar>.btn+.btn,.btn-toolbar>.btn-group+.btn,.btn-toolbar>.btn+.btn-group{margin-left:5px;} > .btn-group>.btn{position:relative;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;} > .btn-group>.btn+.btn{margin-left:-1px;} > .btn-group>.btn,.btn-group>.dropdown-menu,.btn-group>.popover{font-size:14px;} >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt >index eaae5d7..3bfc7fe 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt >@@ -28,6 +28,7 @@ > <script type="text/javascript" src="[% themelang %]/js/pages/circulation.js"></script> > <script type="text/javascript" src="[% themelang %]/js/checkouts.js"></script> > <script type="text/javascript" src="[% themelang %]/js/holds.js"></script> >+<script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.fixFloat.js"></script> > <script type="text/javascript"> > //<![CDATA[ > /* Set some variable needed in circulation.js */ >@@ -89,6 +90,8 @@ $(document).ready(function() { > } > }); > >+ $("#selecttoolbar").fixFloat(); >+ > [% IF !( CircAutoPrintQuickSlip == 'clear' ) %] > // listen submit to trigger qslip on empty checkout > $('#mainform').bind('submit',function() { >@@ -560,6 +563,7 @@ No patron matched <span class="ex">[% message %]</span> > <form method="post" action="/cgi-bin/koha/circ/circulation.pl" id="mainform" name="mainform" autocomplete="off"> > <input type="hidden" name="restoreduedatespec" /> > <fieldset id="circ_circulation_selectborrower" class="brief"> >+ > <legend>Patron selection</legend> > > [% IF (forceallow) %]<input type="hidden" name="forceallow" value="1">[% END %] >@@ -568,6 +572,11 @@ No patron matched <span class="ex">[% message %]</span> > <input type="hidden" name="duedatespec" value="[% duedatespec %]" /> > <input type="hidden" name="stickyduedate" value="[% stickyduedate %]" /> > >+<div id="selecttoolbar" class="btn-toolbar"> >+ <fieldset class="action"><button type="submit" class="btn btn-small"><i class="fa fa-check"></i> Select patron</button></fieldset> >+</div> >+ >+ > <table id="table_borrowers"> > <thead> > <tr> >@@ -592,7 +601,6 @@ No patron matched <span class="ex">[% message %]</span> > [% END %] > </tbody> > </table> >- <fieldset class="action"><input type="submit" value="Select" /></fieldset> > </fieldset> > </form> > [% ELSE %] >-- >1.7.10.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 15793
:
47938
|
47940
|
47992
|
49457
|
49472
|
49520
|
49521
|
49611
|
49655
|
49656
|
49734