searching works now (pager missing)
[phorkie.git] / data / templates / list.htm
index ea71bd65fdea92686b201dfeb911d88ac326daf1..b92e5882873287653b601c0c708b72c1cc1a78d5 100644 (file)
@@ -2,14 +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">