Bugzilla – Attachment 31071 Details for
Bug 12576
search links need style id
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 12576: Make the more/fewer options and "new search" links on the advanced search page look better.
Bug-12576-Make-the-morefewer-options-and-new-searc.patch (text/plain), 2.82 KB, created by
Jonathan Druart
on 2014-08-22 10:12:25 UTC
(
hide
)
Description:
Bug 12576: Make the more/fewer options and "new search" links on the advanced search page look better.
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2014-08-22 10:12:25 UTC
Size:
2.82 KB
patch
obsolete
>From d1f2a73e3c0ca024e354867e06aa85f8d690cfc1 Mon Sep 17 00:00:00 2001 >From: Sean Hamlin <seanh@catalyst.net.nz> >Date: Fri, 25 Jul 2014 14:51:35 +1200 >Subject: [PATCH] Bug 12576: Make the more/fewer options and "new search" links > on the advanced search page look better. > >How to test: >1/ Visit /cgi-bin/koha/opac-search.pl >2/ Assert the "More/Fewer options" buttons look like bootstrap default buttons >3/ Assert the "New search" button looks like a bootstrap default button >4/ Assert the visited colour of the buttons remains #333 (light grey) >5/ Assert the buttons still function as expected > >Signed-off-by: Nick Clemens <nick@quecheelibrary.org> > >Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> >--- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt | 6 +++--- > koha-tmpl/opac-tmpl/bootstrap/less/opac.less | 7 ++++++- > 2 files changed, 9 insertions(+), 4 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt >index d9b2d4b..c265578 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt >@@ -358,11 +358,11 @@ > <p> > <input class="btn btn-success" type="submit" accesskey="s" name="do" title="Search" value="Search" /> > [% IF ( expanded_options ) %] >- <a href="/cgi-bin/koha/opac-search.pl?expanded_options=0">[Fewer options]</a> >+ <a href="/cgi-bin/koha/opac-search.pl?expanded_options=0" class="btn btn-default more-less-options">Fewer options</a> > [% ELSE %] >- <a href="/cgi-bin/koha/opac-search.pl?expanded_options=1">[More options]</a> >+ <a href="/cgi-bin/koha/opac-search.pl?expanded_options=1" class="btn btn-default more-less-options">More options</a> > [% END %] >- <a href="/cgi-bin/koha/opac-search.pl?do=Clear">[New search]</a> >+ <a href="/cgi-bin/koha/opac-search.pl?do=Clear" class="btn btn-default new-search">New search</a> > </p> > [% END %] > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/less/opac.less b/koha-tmpl/opac-tmpl/bootstrap/less/opac.less >index bccfcb0..e23ae4d 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/less/opac.less >+++ b/koha-tmpl/opac-tmpl/bootstrap/less/opac.less >@@ -57,6 +57,11 @@ a { > font-weight: bold; > font-size : 108%; > } >+ &.btn { >+ &:visited { >+ color : #333; >+ } >+ } > &.btn-primary { > &:visited { > color : #FFF; >@@ -360,7 +365,7 @@ td { > background: linear-gradient(to bottom, #c7c7c1 38%,#a7a7a2 100%); > /* W3C */ > filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#c7c7c1', endColorstr='#a7a7a2',GradientType=0 ); >- /* IE6-9 */; >+ /* IE6-9 */ > label { > font-size: 115%; > font-weight: bold; >-- >2.0.0.rc2
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 12576
:
29687
|
30065
|
30489
| 31071 |
31072
|
31073