X-Git-Url: https://plomlompom.com/repos/?a=blobdiff_plain;f=todo_templates%2Ftasks.html;h=cd5ef0ff7c7a69247ae415b3d9cf24bdfe64af81;hb=11df024d5f24e8d7916f57c907975ebe27db617f;hp=34976eb5396278b803711111bafc48ab57f03416;hpb=53b84307929582af2aaeac2247cc57db4a7bedf4;p=misc diff --git a/todo_templates/tasks.html b/todo_templates/tasks.html index 34976eb..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: #f2f2f2; + 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
weight
tasktags
tags
{{ t.default_weight }}{{ 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 %}