use base template for new paste creation page
[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="prev">
16   <a href="{{links.prev}}">prev</a>
17  </li>
18  {% endif %}
19  {% if links.next %}
20  <li class="next">
21   <a href="{{links.next}}">next</a>
22  </li>
23  {% endif %}
24 </ul>
25 {% endblock %}