X-Git-Url: https://plomlompom.com/repos/?a=blobdiff_plain;f=todo_templates%2Fcalendar.html;h=59dd5c57bf58654d9f7f4ce9410fa5b8ee0c518f;hb=HEAD;hp=8f0aa8e52bb598cfcdeb20bb41593feda30503a4;hpb=53b84307929582af2aaeac2247cc57db4a7bedf4;p=misc diff --git a/todo_templates/calendar.html b/todo_templates/calendar.html index 8f0aa8e..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 %} -
-

-from: +

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 %}