Bugzilla – Attachment 51553 Details for
Bug 16524
Use floating toolbar on item search
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 16524: Use floating toolbar on item search
Bug-16524-Use-floating-toolbar-on-item-search.patch (text/plain), 2.70 KB, created by
Aleisha Amohia
on 2016-05-17 00:24:02 UTC
(
hide
)
Description:
Bug 16524: Use floating toolbar on item search
Filename:
MIME Type:
Creator:
Aleisha Amohia
Created:
2016-05-17 00:24:02 UTC
Size:
2.70 KB
patch
obsolete
>From cedef8773a54b973b82172b23a6bd005a261b24e Mon Sep 17 00:00:00 2001 >From: Aleisha <aleishaamohia@hotmail.com> >Date: Tue, 17 May 2016 00:22:09 +0000 >Subject: [PATCH] Bug 16524: Use floating toolbar on item search > >To test: >1) Go to item search >2) Confirm toolbar at top of page with Search button, goes down page as you scroll >3) Confirm search button has been removed from final output fieldset >4) Confirm everything works as expected > >Sponsored-by: Catalyst IT >--- > .../intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt | 12 +++++++++--- > 1 file changed, 9 insertions(+), 3 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt >index f72ab8e..e52780e 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt >@@ -162,6 +162,7 @@ > <link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables.css" /> > [% INCLUDE 'datatables.inc' %] > <script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.dataTables.columnFilter.js"></script> >+ <script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.fixFloat.js"></script> > <link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/itemsearchform.css" /> > <script type="text/javascript"> > //<![CDATA[ >@@ -305,6 +306,7 @@ > } > > $(document).ready(function () { >+ $('#toolbar').fixFloat(); > // Add the "New field" link. > var form_field = $('div.form-field-select-text').last() > var NEW_FIELD = _("New field"); >@@ -366,6 +368,13 @@ > <h1>Item search</h1> > <p><a href="/cgi-bin/koha/catalogue/search.pl">Go to advanced search</a></p> > <form action="/cgi-bin/koha/catalogue/itemsearch.pl" method="get" id="itemsearchform"> >+ <div id="toolbar" class="btn-toolbar"> >+ <fieldset class="action"> >+ <div class="btn-group"> >+ <button class="btn btn-small"><i class="fa fa-search"></i> Search</button> >+ </div> >+ </fieldset> >+ </div> > <fieldset> > [% INCLUDE form_field_select > name="homebranch" >@@ -443,9 +452,6 @@ > <input type="radio" id="format-html" name="format" value="html" checked="checked" /> <label for="format-html">Screen</label> > <input type="radio" id="format-csv" name="format" value="csv" /> <label for="format-csv">CSV</label> > </div> >- <div class="form-actions"> >- <input type="submit" value="Search" /> >- </div> > </fieldset> > </form> > >-- >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 16524
:
51506
|
51553
|
51570
|
51594