c9768ff6d44730f3b2b77aaaaabaaf57d1df6766
[phorkie.git] / data / templates / list.htm
1 {% extends "base.htm" %}
2 {% block title %}List of all pastes{% endblock %}
3
4 {% block meta %}
5  <link rel="alternate" type="application/atom+xml" title="New pastes" href="feed/new" />
6  <link rel="alternate" type="application/atom+xml" title="Updated pastes" href="feed/updated" />
7 {% endblock %}
8
9 {% block content %}
10 <div style="height: 1em"></div>
11 <ul class="nav nav-pills nav-stacked">
12 {% for repo in repos %}
13  {% include 'repo-list.htm' %}
14 {% endfor %}
15 </ul>
16
17  {% include 'pager.htm' %}
18
19 {% endblock %}
20
21 {% block sidebar %}
22  {% if recents.results %}
23   <h4>Recently updated</h4>
24   <ul class="unstyled">
25   {% for repo in recents.repos %}
26    {% include 'repo-sidebar-list.htm' %}
27   {% endfor %}
28   </ul>
29  {% endif %}
30 {% endblock %}