forked from lix-project/hydra
Fix pager prev/next button.
This commit is contained in:
parent
6b65712045
commit
1e7f9c8a15
|
@ -396,7 +396,7 @@
|
|||
<li><a href="[% "$baseUri?page=1" %]">First</a></li>
|
||||
|
||||
<li [% IF page == 1 %]class="disabled"[% END %]><a href="[% "$baseUri?page="; (page - 1) %]">Previous</a></li>
|
||||
<li [% IF page * resultsPerPage < total %]class="disabled"[% END %]><a href="[% "$baseUri?page="; (page + 1) %]">Next</a></li>
|
||||
<li [% IF page * resultsPerPage >= total %]class="disabled"[% END %]><a href="[% "$baseUri?page="; (page + 1) %]">Next</a></li>
|
||||
<li><a href="[% "$baseUri?page="; (total - 1) div resultsPerPage + 1 %]">Last</a></li>
|
||||
</ul>
|
||||
<!--
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
}
|
||||
|
||||
.logo {
|
||||
height: 30px;
|
||||
height: 20px;
|
||||
}
|
||||
|
||||
th {
|
||||
|
|
Loading…
Reference in a new issue