Bugzilla – Attachment 51506 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), 3.79 KB, created by
Aleisha Amohia
on 2016-05-16 01:00:33 UTC
(
hide
)
Description:
Bug 16524: Use floating toolbar on item search
Filename:
MIME Type:
Creator:
Aleisha Amohia
Created:
2016-05-16 01:00:33 UTC
Size:
3.79 KB
patch
obsolete
>From e6af10d42becced8cac2d54458eed4a260a27613 Mon Sep 17 00:00:00 2001 >From: Aleisha <aleishaamohia@hotmail.com> >Date: Mon, 16 May 2016 00:58:39 +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, goes down page as you scroll >3) Both output options (screen and CSV) work as expected > >Sponsored-by: Catalyst IT >--- > .../intranet-tmpl/prog/css/itemsearchform.css | 3 ++- > .../prog/en/modules/catalogue/itemsearch.tt | 26 ++++++++++++-------- > 2 files changed, 18 insertions(+), 11 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/css/itemsearchform.css b/koha-tmpl/intranet-tmpl/prog/css/itemsearchform.css >index 8edc941..701fd55 100644 >--- a/koha-tmpl/intranet-tmpl/prog/css/itemsearchform.css >+++ b/koha-tmpl/intranet-tmpl/prog/css/itemsearchform.css >@@ -18,10 +18,11 @@ > > .form-field-radio > * { > vertical-align: middle; >+ padding: 0 4px; > } > > .form-actions { >- margin-top: 20px; >+ margin-top: 10px; > } > > th.active { >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..e7e66a0 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,20 @@ > <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"> >+ <div class="form-field-radio"> >+ <label>Output:</label> >+ <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"> >+ <button class="btn btn-small"><i class="fa fa-search"></i> Search</button> >+ </div> >+ </div> >+ </fieldset> >+ </div> > <fieldset> > [% INCLUDE form_field_select > name="homebranch" >@@ -437,16 +453,6 @@ > <span class="hint">ISO Format (YYYY-MM-DD)</span> > </div> > </fieldset> >- <fieldset> >- <div class="form-field-radio"> >- <label>Output:</label> >- <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> > > <p><a id="editsearchlink" href="#" style="display:none">Edit search</a></p> >-- >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