git.cweiske.de
/
phorkie.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
setup check
[phorkie.git]
/
data
/
templates
/
list.htm
diff --git
a/data/templates/list.htm
b/data/templates/list.htm
index 5142a7bf40db7e8c0c4a5107d5a1823bb3c7b586..4e2e4a677f847d17440c431e0dfabc642b5853e1 100644
(file)
--- a/
data/templates/list.htm
+++ b/
data/templates/list.htm
@@
-2,23
+2,34
@@
{% 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 %}
<li>
{% for repo in repos %}
<li>
- <h2><a href="{{repo.getLink('display')}}">{{repo.id}}</a></h2>
- <p>{{repo.getDescription}}</p>
+ <a href="{{repo.getLink('display')}}">
+ {{repo.id}}
+ {{repo.getDescription}}
+ </a>
</li>
{% endfor %}
</ul>
</li>
{% endfor %}
</ul>
+
<ul class="pager">
{% if links.prev %}
<ul class="pager">
{% if links.prev %}
- <li class="prev">
- <a href="{{links.prev}}">prev</a>
+ <li class="previous">
+ <a href="{{links.prev}}">← prev</a>
+ </li>
+ {% else %}
+ <li class="previous disabled">
+ <a href="#">← prev</a>
</li>
{% endif %}
{% if links.next %}
<li class="next">
</li>
{% endif %}
{% if links.next %}
<li class="next">
- <a href="{{links.next}}">next</a>
+ <a href="{{links.next}}">next →</a>
+ </li>
+ {% else %}
+ <li class="next disabled">
+ <a href="#">next →</a>
</li>
{% endif %}
</ul>
</li>
{% endif %}
</ul>