X-Git-Url: https://plomlompom.com/repos/?a=blobdiff_plain;f=todo_templates%2Ftasks.html;h=cd5ef0ff7c7a69247ae415b3d9cf24bdfe64af81;hb=11df024d5f24e8d7916f57c907975ebe27db617f;hp=7943b8231eb233630ac3871f0687186960ba8a89;hpb=13a15b95ade73f4455db648b70e1de784c515039;p=misc diff --git a/todo_templates/tasks.html b/todo_templates/tasks.html index 7943b82..cd5ef0f 100644 --- a/todo_templates/tasks.html +++ b/todo_templates/tasks.html @@ -1,4 +1,5 @@ {% extends 'base.html' %} + {% block css %} table.alternating tr:nth-child(even) { background-color: #cccccc; @@ -6,44 +7,41 @@ table.alternating tr:nth-child(even) { 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') %} +
default
effort
tasktags
+ +{{ 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 %} - - + + - - - -{% if uuid == expand_uuid %} -{% for uuid, t in expanded_tasks.items() %} - - - - +{{ t.title.now|e }} + -{% endfor %} -{% endif %} - {% endif %} {% endfor %} -
tags
{{ t.default_effort }} +{{ '{:5.1f}'.format(t.default_effort.now) }} + +{{ '{:5.1f}'.format(t.subtask_weight) }} + -{% if uuid == expand_uuid %} -[-] -{% elif t.links|count > 0 %} -[+] -{% endif %} -{{ t.title|e }}{% for tag in t.tags | sort %}{{ tag }} {% endfor %}
{{ t.default_effort }}  [+] {{ t.title|e }}{% for tag in t.tags | sort %}{{ tag }} {% endfor %}{% for tag in t.tags.now | sort %}{{ tag }} {% endfor %}
+ {% endblock %}