use twitter bootstrap for layouting
[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="list">
6 {% for repo in repos %}
7  <li>
8   <h2><a href="{{repo.getLink('display')}}">{{repo.id}}</a></h2>
9   <p>{{repo.getDescription}}</p>
10  </li>
11 {% endfor %}
12 </ul>
13 <ul class="pager">
14  {% if links.prev %}
15  <li class="previous">
16   <a href="{{links.prev}}">&larr; prev</a>
17  </li>
18  {% else %}
19  <li class="previous disabled">
20   <a href="#">&larr; prev</a>
21  </li>
22  {% endif %}
23  {% if links.next %}
24  <li class="next">
25   <a href="{{links.next}}">next &rarr;</a>
26  </li>
27  {% else %}
28  <li class="next disabled">
29   <a href="#">next &rarr;</a>
30  </li>
31  {% endif %}
32 </ul>
33 {% endblock %}