X-Git-Url: https://plomlompom.com/repos/?a=blobdiff_plain;f=todo_templates%2Ftasks.html;h=cd5ef0ff7c7a69247ae415b3d9cf24bdfe64af81;hb=11df024d5f24e8d7916f57c907975ebe27db617f;hp=7d245dc9aba46139f8889c61eb6895eb988de9e1;hpb=8822ee7e3069193162469438bb54ee4629e1ae19;p=misc diff --git a/todo_templates/tasks.html b/todo_templates/tasks.html index 7d245dc..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: #e2e2e2; + 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 %}