search paging
[phorkie.git] / data / templates / list.htm
1 {% extends "base.htm" %}
2 {% block title %}List of all pastes{% endblock %}
3
4 {% block content %}
5 <ul class="nav nav-pills nav-stacked">
6 {% for repo in repos %}
7  {% include 'repo-list.htm' %}
8 {% endfor %}
9 </ul>
10
11 <ul class="pager">
12  {% if links.prev %}
13  <li class="previous">
14   <a href="{{links.prev}}">&larr; prev</a>
15  </li>
16  {% else %}
17  <li class="previous disabled">
18   <a href="#">&larr; prev</a>
19  </li>
20  {% endif %}
21  {% if links.next %}
22  <li class="next">
23   <a href="{{links.next}}">next &rarr;</a>
24  </li>
25  {% else %}
26  <li class="next disabled">
27   <a href="#">next &rarr;</a>
28  </li>
29  {% endif %}
30 </ul>
31 {% endblock %}