Align correctly the pager info

This commit is contained in:
Las Zenow 2013-08-31 01:33:28 +02:00
parent 56964ec45f
commit d7b207159b

View file

@ -1,13 +1,15 @@
{{template "header.html" .S}}
<p class="centered">Found {{.Found}} books. Page {{.Page}} <a href="/search/?fmt=rss&q={{.S.Search}}"><img src="/img/feed.png"/></a></p>
<ul class="pager">
{{if .Prev}}
<li class="previous">
<a href="{{.Prev}}">&larr; Prev</a>
</li>
{{else}}
<div class="span1"></div>
{{end}}
<p class="centered span9">Found {{.Found}} books. Page {{.Page}} <a href="{{.S.FullURL}}&fmt=rss"><img src="/img/feed.png"/></a> <br />
{{if .Next}}
<li class="next">
<a href="{{.Next}}">Next &rarr;</a>