home · contact · privacy
Add foreign key restraints, expand and fix tests, add deletion and forking.
[misc] / todo_templates / tasks.html
1 {% extends 'base.html' %}
2
3
4
5 {% block content %}
6 <h3>review tasks</h3>
7
8 <form action="tasks" method="POST">
9 {% include 'tagfilters.html' %}
10 <br />
11 match: <input name="search" value="{{search|e}}" />
12 <input id="filter_button" type="submit" name="filter" value="match" />
13 </form>
14
15 <table class="alternating">
16 <tr>
17 {{ macros.sort_head(sort, "default_effort", "effort") }}
18 {{ macros.sort_head(sort, "weight", "weight") }}
19 {{ macros.sort_head(sort, "title", "task") }}
20 {{ macros.sort_head(sort, "latest_effort_date", "last todo") }}
21 <th>tags</th>
22 </tr>
23 {% for t in tasks %}
24 {% if t.visible %}
25 <tr>
26 <td class="number">
27 {{ '{:5.1f}'.format(t.default_effort.now) }}
28 </td>
29 <td class="number">
30 {{ '{:5.1f}'.format(t.deps_weight) }}
31 </td>
32 <td>
33 <a href="task?id={{ t.id_ }}" />{{ t.title.now|e }}</a></td>
34 <td>{{ t.latest_effort_date }}</td>
35 <td>{% for tag in t.tags.now | sort %}<a href="tasks?and_tag={{tag|e}}">{{ tag }}</a> {% endfor %}</td>
36 </tr>
37 {% endif %}
38 {% endfor %}
39 </table>
40
41 {% endblock %}
42