summaryrefslogtreecommitdiffstats
path: root/templates/todolists/view.html
diff options
context:
space:
mode:
authoreliott <eliott@cactuswax.net>2007-11-03 08:45:10 +0100
committereliott <eliott@cactuswax.net>2007-11-03 08:45:10 +0100
commit39a548fd2629f3b6383990264b2e331b3aea99fb (patch)
treef68c3156dad5f7814473ceff2461679ddf11a2e8 /templates/todolists/view.html
downloadarchweb-39a548fd2629f3b6383990264b2e331b3aea99fb.tar.gz
archweb-39a548fd2629f3b6383990264b2e331b3aea99fb.tar.xz
Initial import for public release...
Special Note Prior to git import, approx 90% of the code was done by Judd Vinet. Thanks Judd!
Diffstat (limited to 'templates/todolists/view.html')
-rw-r--r--templates/todolists/view.html31
1 files changed, 31 insertions, 0 deletions
diff --git a/templates/todolists/view.html b/templates/todolists/view.html
new file mode 100644
index 0000000..89a07a9
--- /dev/null
+++ b/templates/todolists/view.html
@@ -0,0 +1,31 @@
+{% extends "base.html" %}
+
+{% block content %}
+ <div class="greybox">
+ <h3 class="title">ToDo List: {{ list.name }}</h2>
+ <table class="results" width="100%">
+ <tr>
+ <th>ID</th>
+ <th>Repo</th>
+ <th>Name</th>
+ <th>Maintainer</th>
+ <th>Status</th>
+ </tr>
+ {% for pkg in pkgs %}
+ <tr>
+ <td><a href="/packages/{{ pkg.pkg.id }}/">{{ pkg.pkg.id }}</a></td>
+ <td>{{ pkg.pkg.repo.name }}</td>
+ <td>{{ pkg.pkg.pkgname }}</td>
+ <td>{{ pkg.pkg.maintainer.get_full_name }}</td>
+ <td>
+ {% if pkg.complete %}
+ <a href="/todo/flag/{{ list.id }}/{{ pkg.id }}/"><span style="color:blue">Complete</span></a>
+ {% else %}
+ <a href="/todo/flag/{{ list.id }}/{{ pkg.id }}/"><span style="color:red">Incomplete</span></a>
+ {% endif %}
+ </td>
+ </tr>
+ {% endfor %}
+ </table>
+ </div>
+{% endblock %}