Browse Source

Handle paging. re #79

master
Sébastien Lucas 10 years ago
parent
commit
1708f58d42
1 changed files with 7 additions and 0 deletions
  1. +7
    -0
      templates/bootstrap/main.html

+ 7
- 0
templates/bootstrap/main.html View File

@@ -50,4 +50,11 @@
{{~}}
</div>
{{?}}
{{? it.isPaginated == 1}}
<ul class="pager">
<li><a id="prevLink" href="{{=it.prevLink}}" {{? it.prevLink == ""}}disabled{{?}}><span class="glyphicon glyphicon-chevron-left"></span></a></li>
<li> {{=it.currentPage}} / {{=it.maxPage}} </li>
<li><a id="nextLink" href="{{=it.nextLink}}" {{? it.nextLink == ""}}disabled{{?}}><span class="glyphicon glyphicon-chevron-right"></span></a></li>
</ul>
{{?}}
</div>

Loading…
Cancel
Save