Merge remote-tracking branch 'jnovack/markdown'
[phorkie.git] / data / templates / list.htm
index ea71bd65fdea92686b201dfeb911d88ac326daf1..d0732ea45b48d464d21e807656eea9960e80e304 100644 (file)
@@ -2,32 +2,12 @@
 {% block title %}List of all pastes{% endblock %}
 
 {% block content %}
-<ul class="list">
+<ul class="nav nav-pills nav-stacked">
 {% for repo in repos %}
- <li>
-  <h2><a href="{{repo.getLink('display')}}">{{repo.id}}</a></h2>
-  <p>{{repo.getDescription}}</p>
- </li>
+ {% include 'repo-list.htm' %}
 {% endfor %}
 </ul>
-<ul class="pager">
- {% if links.prev %}
- <li class="previous">
-  <a href="{{links.prev}}">&larr; prev</a>
- </li>
- {% else %}
- <li class="previous disabled">
-  <a href="#">&larr; prev</a>
- </li>
- {% endif %}
- {% if links.next %}
- <li class="next">
-  <a href="{{links.next}}">next &rarr;</a>
- </li>
- {% else %}
- <li class="next disabled">
-  <a href="#">next &rarr;</a>
- </li>
- {% endif %}
-</ul>
+
+ {% include 'pager.htm' %}
+
 {% endblock %}