Mercurial > public > sg101
annotate gpp/templates/weblinks/view_links.html @ 163:4f07047e0a40
Shoutbox history CSS tweaks. For some reason, the table lost the top and bottom borders.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Tue, 22 Dec 2009 03:56:26 +0000 |
parents | dbd703f7d63a |
children | 952e05cb3d80 |
rev | line source |
---|---|
gremmie@1 | 1 {% extends 'weblinks/base.html' %} |
gremmie@1 | 2 {% block title %}Web Links: {{ category.title }}{% endblock %} |
gremmie@1 | 3 {% block weblinks_css %} |
gremmie@1 | 4 <link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/tab-nav.css" /> |
gremmie@1 | 5 <link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/pagination.css" /> |
gremmie@1 | 6 {% endblock %} |
gremmie@1 | 7 {% block weblinks_content %} |
gremmie@1 | 8 <h3>Category: {{ category.title }}</h3> |
gremmie@1 | 9 |
gremmie@1 | 10 {% if page.object_list %} |
gremmie@1 | 11 <ul class="tab-nav"> |
gremmie@1 | 12 <li><a href="{% url weblinks-view_links category=category.id,sort="title",page="1" %}" |
gremmie@1 | 13 {% ifequal s "title" %}class="active" {% endifequal %}>Title</a></li> |
gremmie@1 | 14 <li><a href="{% url weblinks-view_links category=category.id,sort="date",page="1" %}" |
gremmie@1 | 15 {% ifequal s "date" %}class="active"{% endifequal %}>Date</a></li> |
gremmie@1 | 16 <li><a href="{% url weblinks-view_links category=category.id,sort="hits",page="1" %}" |
gremmie@1 | 17 {% ifequal s "hits" %}class="active"{% endifequal %}>Hits</a></li> |
gremmie@1 | 18 </ul> |
gremmie@1 | 19 |
gremmie@1 | 20 {% include 'core/pagination.html' %} |
gremmie@1 | 21 |
gremmie@1 | 22 <dl> |
gremmie@1 | 23 {% for link in page.object_list %} |
gremmie@1 | 24 {% include 'weblinks/link.html' %} |
gremmie@1 | 25 {% endfor %} |
gremmie@1 | 26 </dl> |
gremmie@1 | 27 |
gremmie@1 | 28 {% include 'core/pagination.html' %} |
gremmie@1 | 29 {% endif %} |
gremmie@1 | 30 {% endblock %} |