Bugzilla – Attachment 20226 Details for
Bug 10404
Add previous/next browsing to staff client search results
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 10404 [CSS follow-up] Add previous/next browsing to staff client search results
Bug-10404-CSS-follow-up-Add-previousnext-browsing-.patch (text/plain), 3.72 KB, created by
Kyle M Hall
on 2013-08-09 13:18:17 UTC
(
hide
)
Description:
Bug 10404 [CSS follow-up] Add previous/next browsing to staff client search results
Filename:
MIME Type:
Creator:
Kyle M Hall
Created:
2013-08-09 13:18:17 UTC
Size:
3.72 KB
patch
obsolete
>From 362c99dc22fab60c3aad4702afef021871febcf3 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Mon, 5 Aug 2013 09:42:36 -0400 >Subject: [PATCH] Bug 10404 [CSS follow-up] Add previous/next browsing to staff client search results > >This patch slightly modifies the styles of the previous/next links in a >way that I think is simpler and clearer. > >To test, apply the patch and clear your browser cache if necessary. >Perform a search in the staff client, click any result, and look at the >prevous/next links. If you think this is an improvement, sign off! > >Signed-off-by: Magnus Enger <magnus@enger.priv.no> >Looks like an improvement to me! > >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >--- > koha-tmpl/intranet-tmpl/js/browser.js | 2 +- > .../intranet-tmpl/prog/en/css/staff-global.css | 40 ++++++++++++++----- > 2 files changed, 30 insertions(+), 12 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/js/browser.js b/koha-tmpl/intranet-tmpl/js/browser.js >index bd73a4f..fd99bb1 100644 >--- a/koha-tmpl/intranet-tmpl/js/browser.js >+++ b/koha-tmpl/intranet-tmpl/js/browser.js >@@ -67,7 +67,7 @@ KOHA.browser = function (searchid, biblionumber) { > } else { > nextbutton = '<a href="#" id="browse-next" class="browse-button">' + BROWSER_NEXT + ' »</a>'; > } >- $('#menu').before('<div class="browse-controls"><div class="browse-controls-inner"><div class="browse-label"><a href="' + searchURL + '" id="browse-return-to-results" class="browse-button">' + BROWSER_RETURN_TO_SEARCH + '</a></div><div>' + prevbutton + nextbutton + '</div></div></div>'); >+ $('#menu').before('<div class="browse-controls"><div class="browse-controls-inner"><div class="browse-label"><a href="' + searchURL + '" id="browse-return-to-results" class="browse-button">' + BROWSER_RETURN_TO_SEARCH + '</a></div><div class="browse-prev-next">' + prevbutton + nextbutton + '</div></div></div>'); > $('a#browse-previous').click(function (ev) { > ev.preventDefault(); > browseRecords(searchid, -1); >diff --git a/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css b/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css >index 086489b..e792cab 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css >+++ b/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css >@@ -2592,28 +2592,20 @@ fieldset.rows table.mceListBox { > } > > .browse-controls { >- padding-top: 1em; > margin-left: 1.1em; >- border-right: 1px solid #b9d8d9; > margin-right: .5em; > padding-bottom: 1em; >-} >- >-.browse-controls-inner { >- padding: 0.3em; >- background: #e8f0f6; >- border-top-left-radius: 5px; >- border-bottom-left-radius: 5px; >- border: 1px solid #b9d8d9; >+ padding-top: 1em; > } > > #browse-return-to-results { >+ border-top-left-radius : 3px; >+ border-top-right-radius : 3px; > display: block; > text-align: center; > } > > .browse-button { >- border: 1px solid #b9d8d9; > color: #004d99; > padding: .4em .6em; > display: inline-block; >@@ -2628,6 +2620,32 @@ span.browse-button { > background: #fafafa; > } > >+.browse-label, >+.browse-prev-next { >+ border: 1px solid #b9d8d9; >+} >+ >+.browse-label { >+ border-top-left-radius : 5px; >+ border-top-right-radius : 5px; >+ background-color : #e8f0f6; >+} >+ >+.browse-prev-next { >+ border-top-width: 0; >+ border-bottom-left-radius: 5px; >+ border-bottom-right-radius: 5px; >+} >+ >+#browse-previous { >+ border-right : 1px solid #B9D8D9; >+ border-bottom-left-radius: 5px; >+ padding-right: 1em; >+} >+ > #browse-next { >+ border-top-width : 0; >+ border-bottom-right-radius: 5px; > float: right; >+ padding-right: 1em; > } >-- >1.7.2.5
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 10404
:
20025
|
20132
|
20176
|
20177
|
20215
|
20225
| 20226