X-Git-Url: https://plomlompom.com/repos/%7B%7B%20web_path%20%7D%7D/decks/%7B%7Bdeck_id%7D%7D/cards/%7B%7Bcard_id%7D%7D/form?a=blobdiff_plain;f=todo_templates%2Ftasks.html;h=ed01d3071646d0adf58ea6658e23347b4ca5400b;hb=979de59ced9fe3fd3860d19288b42485d7f02346;hp=7d245dc9aba46139f8889c61eb6895eb988de9e1;hpb=8822ee7e3069193162469438bb54ee4629e1ae19;p=misc diff --git a/todo_templates/tasks.html b/todo_templates/tasks.html index 7d245dc..ed01d30 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: #e2e2e2; + 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') %} + +{% for uuid, t in db.tasks.items() | sort(attribute='1.title.now') %} {% if t.visible %} + + + + + + +{% if uuid == expand_uuid %} +{% for uuid, t in expanded_tasks.items() %} + - - + + + +{% endfor %} +{% endif %} + {% endif %} {% endfor %} +
default
effort
tasktags
{{ t.default_effort.now }} +{% 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|e }}{% for tag in t.tags | sort %}{{ tag }} {% endfor %}  [+] {{ t.title.now|e }}{% for tag in t.tags.now | sort %}{{ tag }} {% endfor %}
{% endblock %}