Compatibility with latest bootstrap

This commit is contained in:
Eelco Dolstra 2013-02-20 14:06:17 +01:00
parent c2e5bec1e1
commit 3df9665f60
2 changed files with 9 additions and 7 deletions

View file

@ -417,12 +417,14 @@ BLOCK hydraStatus %]
BLOCK renderPager %] BLOCK renderPager %]
<ul class="pagination"> <div class="pagination">
<li><a href="[% "$baseUri?page=1" %]">First</a></li> <ul>
<li [% IF page == 1 %]class="disabled"[% END %]><a href="[% "$baseUri?page="; (page - 1) %]">Previous</a></li> <li><a href="[% "$baseUri?page=1" %]">First</a></li>
<li [% IF page * resultsPerPage >= total %]class="disabled"[% END %]><a href="[% "$baseUri?page="; (page + 1) %]">Next</a></li> <li [% IF page == 1 %]class="disabled"[% END %]><a href="[% "$baseUri?page="; (page - 1) %]">Previous</a></li>
<li><a href="[% "$baseUri?page="; (total - 1) div resultsPerPage + 1 %]">Last</a></li> <li [% IF page * resultsPerPage >= total %]class="disabled"[% END %]><a href="[% "$baseUri?page="; (page + 1) %]">Next</a></li>
</ul> <li><a href="[% "$baseUri?page="; (total - 1) div resultsPerPage + 1 %]">Last</a></li>
</ul>
</div>
[% END; [% END;

View file

@ -80,7 +80,7 @@
<body> <body>
<div class="navbar navbar-fixed-top"> <div class="navbar navbar-fixed-top navbar-inverse">
<div class="navbar-inner"> <div class="navbar-inner">
<div class="container"> <div class="container">
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse"> <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">