X-Git-Url: https://plomlompom.com/repos/foo.html?a=blobdiff_plain;f=todo_templates%2Ftask.html;h=7a8f981fef608cbad413a66b866ad452cbbfdc88;hb=979de59ced9fe3fd3860d19288b42485d7f02346;hp=ef2402daec9847013e77e71adec306b5f00d5bc8;hpb=942c977e0052d09300625e7a5c1b5fc2eede9098;p=misc diff --git a/todo_templates/task.html b/todo_templates/task.html index ef2402d..7a8f981 100644 --- a/todo_templates/task.html +++ b/todo_templates/task.html @@ -1,47 +1,124 @@ {% 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% }; +th { padding-right: 1em; } {% endblock %} + {% block content %} -

edit task

- + + + + - - - + + + + + + + + + + + + + + + + + + - +add: +
+
+history + +
+ + + + + +
title
history
    {% for k,v in task.title_history.items() | sort(attribute='0', reverse=True) %}
  • {{ k }}: {{ v|e }}{% endfor %}
default effort
history
    {% for k,v in task.default_effort_history.items() | sort(attribute='0', reverse=True) %}
  • {{ k }}: {{ v|e }}{% endfor %}
tags
title + +
+history +
    +{% for k,v in task.title.history.items() | sort(attribute='0', reverse=True) %} +
  • {{ k }}: {{ v|e }} +{% endfor %} +
+
+
comment + +
default effort +{% if task.subtasks %} +{{ task.default_effort.now }} +{% else %} + +
+history +
    +{% for k,v in task.default_effort.history.items() | sort(attribute='0', reverse=True) %} +
  • {{ k }}: {{ v|e }} +{% endfor %} +
+
+{% endif %} +
tags -{% for tag in db.t_tags | sort %} - {{ tag }}
+{% for tag in tags | sort %} + {{ tag }} +
{% endfor %} -add:
-
history
    {% for k,v in task.tags_history.items() | sort(attribute='0', reverse=True) %}
  • {{ k }}: {{ v|e }}{% endfor %}
-
links
children -{% for other_task_id, other_task in db.tasks.items() | sort(attribute='1.title') %} -{% if task.id_ != other_task_id and other_task.visible and other_task_id in task.links %} - {{ other_task.title|e }}
-{% endif %} + + +{% for subtask in task.subtasks %} + + + + {% endfor %} -{% for other_task_id, other_task in db.tasks.items() | sort(attribute='1.title') %} -{% if task.id_ != other_task_id and other_task.visible and not other_task_id in task.links %} -{{ other_task.title|e }}
-{% endif %} + + + + + +{% for subtask in filtered_tasks %} + + + + {% endfor %} + +
+ + +{{subtask.title.now}} +
---
+ + +{{subtask.title.now}} +
- -
-
- + +
{% include 'tagfilters.html' %} +
+search: +
+ {% include 'watch_form.html' %} + {% endblock %}