home · contact · privacy
Add titles and other metadata to pages.
authorChristian Heller <c.heller@plomlompom.de>
Sat, 18 May 2024 03:41:17 +0000 (05:41 +0200)
committerChristian Heller <c.heller@plomlompom.de>
Sat, 18 May 2024 03:41:17 +0000 (05:41 +0200)
templates/calendar.html
templates/conditions.html
templates/processes.html

index f6208bbc79d08bdad6301480293d548d89a09923..220e9bb0f8ced2fc07cba917c3256d1b1fa82c2a 100644 (file)
@@ -21,6 +21,8 @@ td.day_name {
 
 
 {% block content %}
+<h3>calendar</h3>
+
 <form action="calendar" method="GET">
 from <input name="start" value="{{start}}" />
 to <input name="end" value="{{end}}" />
index e2c4ec1ff7ff99be52c19903afe141a34fc11f12..88d1cc7244a32e91b7265c4f715af6a9161ebbe8 100644 (file)
@@ -1,12 +1,23 @@
 {% 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 %}
-<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 %}
-</ul>
-{% endblock %}
+</table>
 
+<p>
+<a href="condition">add</a>
+</p>
 
+{% endblock %}
index 6c3c64bc12b3d6b9c48d035bea28ee132f3f13af..5cd00b5c279b0f14b25cb258549a05596230422b 100644 (file)
@@ -1,11 +1,22 @@
 {% extends '_base.html' %}
 
 {% block content %}
-<a href="process">add</a>
-<ul>
+<h3>processes</h3>
+
+<table>
+<tr>
+<th>steps</th>
+<th>title</th>
+</tr>
 {% for process in processes %}
-<li><a href="process?id={{process.id_}}">{{process.title.newest}}</a>
+<tr>
+<td>{{ process.explicit_steps|count }}</td>
+<td><a href="process?id={{process.id_}}">{{process.title.newest}}</a></td>
+</tr>
 {% endfor %}
-</ul>
-{% endblock %}
+</table>
 
+<p>
+<a href="process">add</a>
+</p>
+{% endblock %}