home
·
contact
·
privacy
projects
/
plomtask
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add titles and other metadata to pages.
[plomtask]
/
templates
/
conditions.html
diff --git
a/templates/conditions.html
b/templates/conditions.html
index e2c4ec1ff7ff99be52c19903afe141a34fc11f12..88d1cc7244a32e91b7265c4f715af6a9161ebbe8 100644
(file)
--- a/
templates/conditions.html
+++ b/
templates/conditions.html
@@
-1,12
+1,23
@@
{% extends '_base.html' %}
{% block content %}
{% extends '_base.html' %}
{% block content %}
-<a href="condition">add</a>
-<ul>
+<h3>conditions</h3>
+
+<table>
+<tr>
+<th>active</th>
+<th>title</th>
+</tr>
{% for condition in conditions %}
{% for condition in conditions %}
-<li><a href="condition?id={{condition.id_}}">{{condition.title.newest}}</a>
+<tr>
+<td>[{% if condition.is_active %}X{% else %} {% endif %}]</td>
+<td><a href="condition?id={{condition.id_}}">{{condition.title.newest}}</a></td>
+</tr>
{% endfor %}
{% endfor %}
-</ul>
-{% endblock %}
+</table>
+<p>
+<a href="condition">add</a>
+</p>
+{% endblock %}