X-Git-Url: https://plomlompom.com/repos/?p=misc;a=blobdiff_plain;f=todo_templates%2Ftasks.html;fp=todo_templates%2Ftasks.html;h=90f43585e1b956f8be0562e21b8398e5450746dd;hp=a125985d9df32c85d338a327f0f1d00985531d37;hb=59056f396c4761f9cd7ffbc569e3ddf8994d5e83;hpb=38b9ce0ba2b5af072554999bc5836ffe455f06db diff --git a/todo_templates/tasks.html b/todo_templates/tasks.html index a125985..90f4358 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,47 @@ 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.now') %} +
default
effort
tasktags
+ + + + + + +{% 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 %} -
+effort + +depth + +todo +tags
{{ t.default_effort.now }} +{{ '{:5.1f}'.format(t.default_effort.now) }} + +{{ '{:5.1f}'.format(t.subtask_depth) }} + -{% if uuid == expand_uuid %} -[-] -{% elif t.subtasks|count > 0 %} -[+] -{% endif %} -{{ t.title.now|e }} {% 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 %}