X-Git-Url: https://plomlompom.com/repos/?a=blobdiff_plain;f=todo_templates%2Ftasks.html;h=80f5a603efbd123a7d13e0954569bb61f0bbcbb5;hb=HEAD;hp=a125985d9df32c85d338a327f0f1d00985531d37;hpb=38b9ce0ba2b5af072554999bc5836ffe455f06db;p=misc diff --git a/todo_templates/tasks.html b/todo_templates/tasks.html index a125985..80f5a60 100644 --- a/todo_templates/tasks.html +++ b/todo_templates/tasks.html @@ -1,49 +1,42 @@ {% extends 'base.html' %} -{% block css %} -table.alternating tr:nth-child(even) { - background-color: #cccccc; -} -table.alternating tr:nth-child(odd) { - background-color: #ffffff; -} -td.number { text-align: right; } -tr.expanded { color: #888888; } -{% endblock %} + + + {% block content %} +

review tasks

+
{% include 'tagfilters.html' %} +
+match: +
- - -{% for uuid, t in db.tasks.items() | sort(attribute='1.title.now') %} +
default
effort
tasktags
+ +{{ 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 %} - - + + +{{ t.title.now|e }} + - -{% if uuid == expand_uuid %} -{% for uuid, t in expanded_tasks.items() %} - - - - - -{% endfor %} -{% endif %} - {% endif %} {% endfor %} -
tags
{{ t.default_effort.now }} +{{ '{:5.1f}'.format(t.default_effort.now) }} + +{{ '{:5.1f}'.format(t.deps_weight) }} + -{% if uuid == expand_uuid %} -[-] -{% elif t.subtasks|count > 0 %} -[+] -{% endif %} -{{ t.title.now|e }}{{ t.latest_effort_date }} {% for tag in t.tags.now | sort %}{{ tag }} {% endfor %}
{{ t.default_effort }}  [+] {{ t.title.now|e }}{% for tag in t.tags.now | sort %}{{ tag }} {% endfor %}
+ {% endblock %}