Markup and style changes for new paged search results.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
This commit is contained in:
Owen Leonard 2007-12-18 16:16:05 -06:00 committed by Joshua Ferraro
parent 905c5de9c8
commit 7027f7beab
2 changed files with 32 additions and 6 deletions

View 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;
}

View 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>
@ -49,11 +49,9 @@
<!-- 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" -->