X-Git-Url: https://plomlompom.com/repos/?p=misc;a=blobdiff_plain;f=todo_templates%2Ftodo.html;fp=todo_templates%2Ftodo.html;h=beccb75e2d051d5446b9adce9018ef7b3d5f3dce;hp=035c9496ddac666e9785c163e1b301e4f097e730;hb=76210b693b77e67bf8160a7fb869ae416309d333;hpb=28bd91c52ce1eab2b26793097e0d9cabc3c33c64 diff --git a/todo_templates/todo.html b/todo_templates/todo.html index 035c949..beccb75 100644 --- a/todo_templates/todo.html +++ b/todo_templates/todo.html @@ -1,11 +1,8 @@ {% extends 'base.html' %} {% block css %} th, td { vertical-align: top; text-align: left} -td.input { width: 100%; } td.checkbox { width: 0.1em; height: 0.1em; padding: 0em; text-align: center; } input[type="number"] { text-align: right; } -input[type="text"] { width: 100% } -textarea { width: 100% }; {% endblock %} {% block content %}
@@ -13,7 +10,7 @@ textarea { width: 100% }; - + @@ -22,48 +19,59 @@ textarea { width: 100% }; {% for date, effort in todo.efforts.items() %} - - - + + {% endfor %} - +
task{{ todo.task.title|e }}
task{{ todo.task.title.then|e }}
default effort{{ todo.default_effort }}
efforts
dateeffortdelete
+{% if not (todo.children and effort) %}{% endif %}
+ +total effort{{todo.all_days_effort}} + importance -comment -done +comment + +done + +{% if todo.children %}✓{% else %}{% endif %} + + day tags {% for tag in db.t_tags | sort %} -{% if tag in todo.task.tags %} âœ“{% else %}{% endif %} {{ tag }}
+{% if tag in todo.task.tags.now %} âœ“{% else %}{% endif %} {{ tag }}
{% endfor %} -add: +add: parent{% if todo.parent %}{{todo.parent.title}}{% else %}–{% endif %} children -{% for todo in linked_todos %} +{% for todo in child_todos %} - + + {% endfor %} +
{% if todo.done %}✓{% endif %}{{todo.all_days_effort}} {{todo.title}}