git.cweiske.de
/
phorkie.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bootstrap 2.0 support
[phorkie.git]
/
data
/
templates
/
list.htm
diff --git
a/data/templates/list.htm
b/data/templates/list.htm
index 5142a7bf40db7e8c0c4a5107d5a1823bb3c7b586..d0732ea45b48d464d21e807656eea9960e80e304 100644
(file)
--- a/
data/templates/list.htm
+++ b/
data/templates/list.htm
@@
-2,24
+2,12
@@
{% block title %}List of all pastes{% endblock %}
{% block content %}
{% block title %}List of all pastes{% endblock %}
{% block content %}
-<ul class="
list
">
+<ul class="
nav nav-pills nav-stacked
">
{% for repo in repos %}
{% 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>
{% endfor %}
</ul>
-<ul class="pager">
- {% if links.prev %}
- <li class="prev">
- <a href="{{links.prev}}">prev</a>
- </li>
- {% endif %}
- {% if links.next %}
- <li class="next">
- <a href="{{links.next}}">next</a>
- </li>
- {% endif %}
-</ul>
+
+ {% include 'pager.htm' %}
+
{% endblock %}
{% endblock %}