X-Git-Url: https://plomlompom.com/repos/?a=blobdiff_plain;f=todo_templates%2Ftasks.html;h=cd5ef0ff7c7a69247ae415b3d9cf24bdfe64af81;hb=11df024d5f24e8d7916f57c907975ebe27db617f;hp=29ae64f31ca1855c3ced973c39a9e41c6140f696;hpb=942c977e0052d09300625e7a5c1b5fc2eede9098;p=misc diff --git a/todo_templates/tasks.html b/todo_templates/tasks.html index 29ae64f..cd5ef0f 100644 --- a/todo_templates/tasks.html +++ b/todo_templates/tasks.html @@ -1,27 +1,47 @@ {% extends 'base.html' %} + {% block css %} table.alternating tr:nth-child(even) { - background-color: #f2f2f2; + background-color: #cccccc; } table.alternating tr:nth-child(odd) { background-color: #ffffff; } -td.number { text-align: right; } {% endblock %} + {% block content %} -
+

review tasks

+ + {% include 'tagfilters.html' %} +
+match: +
+ - -{% for uuid, t in db.tasks.items() | sort(attribute='1.title') %} + +{{ macros.sort_head(sort, "default_effort", "effort") }} +{{ macros.sort_head(sort, "weight", "weight") }} +{{ macros.sort_head(sort, "title", "task") }} + + +{% for t in tasks %} {% if t.visible %} - - - + + + + + {% endif %} {% endfor %}
default
effort
tasktags
tags
{{ t.default_effort }}{{ t.title|e }}{% for tag in t.tags | sort %}{{ tag }} {% endfor %} +{{ '{:5.1f}'.format(t.default_effort.now) }} + +{{ '{:5.1f}'.format(t.subtask_weight) }} + +{{ t.title.now|e }}{% for tag in t.tags.now | sort %}{{ tag }} {% endfor %}
+ {% endblock %}