X-Git-Url: https://plomlompom.com/repos/?a=blobdiff_plain;f=todo_templates%2Ftodo.html;h=beccb75e2d051d5446b9adce9018ef7b3d5f3dce;hb=76210b693b77e67bf8160a7fb869ae416309d333;hp=09aaf452bb260db264624f58b8460113b43695ad;hpb=13a15b95ade73f4455db648b70e1de784c515039;p=misc diff --git a/todo_templates/todo.html b/todo_templates/todo.html index 09aaf45..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,29 +19,61 @@ 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 child_todos %} + + + + + +{% endfor %} + +
{% if todo.done %}✓{% endif %}{{todo.all_days_effort}}{{todo.title}}
+