X-Git-Url: https://plomlompom.com/repos/?p=misc;a=blobdiff_plain;f=todo_templates%2Ftasks.html;fp=todo_templates%2Ftasks.html;h=34976eb5396278b803711111bafc48ab57f03416;hp=0000000000000000000000000000000000000000;hb=53b84307929582af2aaeac2247cc57db4a7bedf4;hpb=bd32647c67dd9a4979a39efaf31bfe63c82c72d0 diff --git a/todo_templates/tasks.html b/todo_templates/tasks.html new file mode 100644 index 0000000..34976eb --- /dev/null +++ b/todo_templates/tasks.html @@ -0,0 +1,27 @@ +{% extends 'base.html' %} +{% block css %} +table.alternating tr:nth-child(even) { + background-color: #f2f2f2; +} +table.alternating tr:nth-child(odd) { + background-color: #ffffff; +} +td.number { text-align: right; } +{% endblock %} +{% block content %} +
+{% include 'tagfilters.html' %} +
+ + +{% for uuid, t in db.tasks.items() | sort(attribute='1.title') %} +{% if t.visible %} + + + + +{% endif %} +{% endfor %} +
default
weight
tasktags
{{ t.default_weight }}{{ t.title|e }}{% for tag in t.tags | sort %}{{ tag }} {% endfor %}
+{% endblock %} +