X-Git-Url: https://plomlompom.com/repos/?a=blobdiff_plain;f=todo_templates%2Fcalendar.html;h=59dd5c57bf58654d9f7f4ce9410fa5b8ee0c518f;hb=HEAD;hp=5d49b5abc488df8e4a83ef94544d408ddeb08b33;hpb=8822ee7e3069193162469438bb54ee4629e1ae19;p=misc diff --git a/todo_templates/calendar.html b/todo_templates/calendar.html index 5d49b5a..59dd5c5 100644 --- a/todo_templates/calendar.html +++ b/todo_templates/calendar.html @@ -1,27 +1,79 @@ {% extends 'base.html' %} + + + {% block css %} +#filter { margin-bottom: 1em; } +tr.month_row td { color: white; background-color: #555555; text-align: center; } tr.week_row td { height: 0.1em; background-color: black; } -tr.day_row td { background-color: #f2f2f2 } -td.checkbox { width: 0.1em; height: 0.1em; padding: 0em; text-align: center; } +tr.day_row td { background-color: #cccccc; } +span.selected_date { font-weight: bold; } +span.todos_sum { white-space: pre; } {% endblock %} + + + {% block content %} -
-

+

calendar

+ + +
from: to: -

+
+ -{% for date, day in days.items() | sort() %} -{% if day.weekday == 'Mo' %}{% endif %} - -{% for task, todo in day.todos.items() | sort(attribute='1.title', reverse=True) %} +{% for date, day in days.items() %} + +{% if day.month_title %} + + + +{% endif %} + +{% if day.weekday == 'Mo' %} + + + +{% endif %} + + + + + +{% for todo in day.linked_todos_as_list %} {% if todo.visible %} - + + + + {% endif %} {% endfor %} + {% endfor %}
{{ day.weekday }} {{ date }} |{{ '%04.1f' % day.todos_sum|round(2) }}| {{ day.comment|e }}
{{ day.month_title }}
+ +{{ day.weekday }} {{ date }} + +|{{ '{:5.1f}'.format(day.todos_sum)}}| +{{ day.comment|e }} +
{% if todo.done %}✓{% else %}  {% endif %}{%if "cancelled" in todo.tags%}{% endif %}{% if "deadline" in todo.tags %}DEADLINE: {% endif %}{{ todo.title|e }}{%if "cancelled" in todo.tags%}{% endif %}{{ todo.comment|e }}
+{% if "cancelled" in todo.tags %}{% endif %} +{{ macros.doneness_string(todo, true) }} + +{% if "deadline" in todo.tags %}DEADLINE: {% endif %} +{{ todo.title|e }} + +{%if "cancelled" in todo.tags%}{% endif %} + +{{ todo.comment|e }} +
+ +

+exportable +

+
{% endblock %}