1 {% extends 'base.html' %}
6 #filter { margin-bottom: 1em; }
7 tr.month_row td { color: white; background-color: #555555; text-align: center; }
8 tr.week_row td { height: 0.1em; background-color: black; }
9 tr.day_row td { background-color: #cccccc; }
10 span.selected_date { font-weight: bold; }
11 span.todos_sum { white-space: pre; }
18 <form action="calendar" method="POST">
21 from: <input name="start" {% if start_date %}value="{{ start_date }}"{% endif %} placeholder="yesterday" />
22 to: <input name="end" {% if end_date %}value="{{ end_date }}"{% endif %} placeholder="2030-12-31" />
23 <input type="submit" value="OK" />
27 {% for date, day in days.items() %}
29 {% if day.month_title %}
30 <tr class="month_row">
31 <td colspan=3>{{ day.month_title }}</td>
35 {% if day.weekday == 'Mo' %}
43 <span {% if date == selected_date %}class="selected_date"{% endif %}>
44 <a href="day_todos?date={{date}}">{{ day.weekday }} {{ date }}</a>
46 <span class="todos_sum">|{{ '{:5.1f}'.format(day.todos_sum)}}|</span>
51 {% for todo in day.linked_todos_as_list %}
55 {% if "cancelled" in todo.tags %}<s>{% endif %}
56 {{ macros.doneness_string(todo, true) }}
57 <a href="todo?id={{todo.id_}}">
58 {% if "deadline" in todo.tags %}DEADLINE: {% endif %}
61 {%if "cancelled" in todo.tags%}</s>{% endif %}
74 <a href="calendar_export?{% if start_date %}start={{start_date}}&{% endif %}{% if end_date %}end={{end_date}}{% endif %}">exportable</a>