1 {% extends 'base.html' %}
3 table.alternating tr:nth-child(even) {
4 background-color: #f2f2f2;
6 table.alternating tr:nth-child(odd) {
7 background-color: #ffffff;
9 td.number { text-align: right; }
12 <form action="{{action|e}}" method="POST">
13 {% include 'tagfilters.html' %}
15 <table class="alternating">
16 <tr><th>default<br />weight</th><th>task</th><th>tags</th></tr>
17 {% for uuid, t in db.tasks.items() | sort(attribute='1.title') %}
20 <td class="number">{{ t.default_weight }}</a></td>
21 <td><a href="{{db.prefix}}/task?id={{ uuid }}" />{{ t.title|e }}</a></td>
22 <td>{% for tag in t.tags | sort %}<a href="{{db.prefix}}/tasks?t_and={{tag|e}}">{{ tag }}</a> {% endfor %}</td>