X-Git-Url: https://plomlompom.com/repos/bar%20baz.html?a=blobdiff_plain;f=todo_templates%2Ftasks.html;h=7943b8231eb233630ac3871f0687186960ba8a89;hb=13a15b95ade73f4455db648b70e1de784c515039;hp=34976eb5396278b803711111bafc48ab57f03416;hpb=53b84307929582af2aaeac2247cc57db4a7bedf4;p=misc diff --git a/todo_templates/tasks.html b/todo_templates/tasks.html index 34976eb..7943b82 100644 --- a/todo_templates/tasks.html +++ b/todo_templates/tasks.html @@ -1,27 +1,49 @@ {% 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; } +tr.expanded { color: #888888; } {% endblock %} {% block content %}
{% include 'tagfilters.html' %}
- + + {% for uuid, t in db.tasks.items() | sort(attribute='1.title') %} {% if t.visible %} + - - + + + + + +{% if uuid == expand_uuid %} +{% for uuid, t in expanded_tasks.items() %} + + + + +{% endfor %} +{% endif %} + {% endif %} {% endfor %} +
default
weight
tasktags
default
effort
tasktags
{{ t.default_weight }}{{ t.title|e }}{{ t.default_effort }} +{% 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 %}
{% endblock %}