Markup and style changes for new paged search results.
authorOwen Leonard <oleonard@myacpl.org>
Tue, 18 Dec 2007 22:16:05 +0000 (16:16 -0600)
committerJoshua Ferraro <jmf@liblime.com>
Tue, 18 Dec 2007 22:40:15 +0000 (16:40 -0600)
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css
koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tmpl

index 2faefef..63e1504 100644 (file)
@@ -1204,7 +1204,7 @@ overflow :  hidden;
 #searchheader {
        background-color : #f3f3f3;
        font-size : 80%;
-       margin-bottom : .5em;
+       margin : 0 0 .5em -1px;
        padding : .1em 0 .1em 1em;
 }
 
@@ -1251,4 +1251,31 @@ overflow :  hidden;
 #search-facets li.showmore {
        font-weight : bold;
        text-indent : 1em;
+}
+
+div.pages {
+       margin-top : .5em;
+}
+
+div.pages a {
+       font-weight: bold;
+       padding: 1px 5px 1px 5px;
+       text-decoration: none;
+}
+
+div.pages a:link {
+       background-color : #eeeeee;
+       color : #3366CC;
+}
+
+div.pages a:hover {
+       background-color : #e8f0f6;
+}
+
+div.pages a:active {
+       background-color : #ffc;
+}
+
+div.browse {
+       margin : .5em 0;
 }
\ No newline at end of file
index 8ece441..6c5f07d 100644 (file)
@@ -17,7 +17,7 @@
 <!-- TMPL_INCLUDE NAME="patron-toolbar.inc" -->
 
 
-<div>
+<div class="browse">
     Browse by last name:
     <a href="/cgi-bin/koha/members/member.pl?member=a">A</a>
     <a href="/cgi-bin/koha/members/member.pl?member=b">B</a>
 
 
 <!-- TMPL_IF NAME="resultsloop" -->
-    <h3>Results for Search: <span class="ex"><!-- TMPL_VAR NAME="member" --></span></h3>
-       <div class="results"><!-- TMPL_VAR Name ="numresults" --> patrons found<br/>
-  Page : <!-- TMPL_VAR Name ="startfrom" --> Results <!-- TMPL_VAR Name ="from" --> to <!-- TMPL_VAR Name ="to" --></div>
+   <div id="searchheader"> <h3>Results <!-- TMPL_VAR Name ="from" --> to <!-- TMPL_VAR Name ="to" --> of <!-- TMPL_VAR Name ="numresults" --> found for '<span class="ex"><!-- TMPL_VAR NAME="member" --></span>'</h3></div>
 <div class="searchresults">
-<p align="center"><!--TMPL_IF Name="multipage"--><!--TMPL_VAR Name="paginationbar" --><!--/TMPL_IF--></p>
+
     <table>
     <tr>
     <th><a href="member.pl?member=<!--TMPL_VAR Name="member" -->&amp;orderby=cardnumber">Card</a></th>
@@ -94,6 +92,7 @@
     </tr>
     <!-- /TMPL_LOOP -->
     </table>
+       <div class="pages"><!--TMPL_IF Name="multipage"--><!--TMPL_VAR Name="paginationbar" --><!--/TMPL_IF--></div>
 </div>
 <!-- TMPL_ELSE -->
 <!-- TMPL_IF NAME="searching" -->