X-Git-Url: https://plomlompom.com/repos/?a=blobdiff_plain;f=todo_templates%2Ftasks.html;h=80f5a603efbd123a7d13e0954569bb61f0bbcbb5;hb=HEAD;hp=29ae64f31ca1855c3ced973c39a9e41c6140f696;hpb=942c977e0052d09300625e7a5c1b5fc2eede9098;p=misc diff --git a/todo_templates/tasks.html b/todo_templates/tasks.html index 29ae64f..80f5a60 100644 --- a/todo_templates/tasks.html +++ b/todo_templates/tasks.html @@ -1,27 +1,42 @@ {% extends 'base.html' %} -{% block css %} -table.alternating tr:nth-child(even) { - background-color: #f2f2f2; -} -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") }} +{{ macros.sort_head(sort, "latest_effort_date", "last todo") }} + + +{% 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.deps_weight) }} + +{{ t.title.now|e }}{{ t.latest_effort_date }}{% for tag in t.tags.now | sort %}{{ tag }} {% endfor %}
+ {% endblock %}