diff options
author | eliott <eliott@cactuswax.net> | 2008-03-30 00:34:44 +0100 |
---|---|---|
committer | eliott <eliott@cactuswax.net> | 2008-03-30 00:34:44 +0100 |
commit | 37d97cfff830b4dcce5a74bb95d0b203a2e865e9 (patch) | |
tree | b47b868a8c71d5d59c5517ed53ef4224860210b5 /templates/todolists/list.html | |
parent | 7e2d0f2f0cd8f176cf82c02d704ad4fe25a07b3b (diff) | |
download | archweb-37d97cfff830b4dcce5a74bb95d0b203a2e865e9.tar.gz archweb-37d97cfff830b4dcce5a74bb95d0b203a2e865e9.tar.xz |
Added column sorting via javascript.
Diffstat (limited to 'templates/todolists/list.html')
-rw-r--r-- | templates/todolists/list.html | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/templates/todolists/list.html b/templates/todolists/list.html index 980328a..714e113 100644 --- a/templates/todolists/list.html +++ b/templates/todolists/list.html @@ -1,5 +1,4 @@ {% extends "base.html" %} - {% block content %} <div class="greybox"> {% if perms.todolists.add_todolist %} @@ -9,6 +8,7 @@ {% endif %} <h2 class="title">Package ToDo lists</h2> <table class="results" width="100%"> + <thead> <tr> <th>Name</th> <th>Creation Date</th> @@ -16,6 +16,8 @@ <th>Description</th> <th>Status</th> </tr> + </thead> + <tbody> {% for list in lists %} <tr class="{% cycle pkgr2,pkgr1 %}"> <td style="white-space:nowrap"><a href="/todo/{{ list.id }}/">{{ list.name }}</a></td> @@ -25,6 +27,7 @@ <td>{% if list.complete %}<span style="color:blue">Complete</span>{% else %}<span style="color:red">Incomplete</span>{% endif %}</td> </tr> {% endfor %} + </tbody> </table> </div> {% endblock %} |