X-Git-Url: https://plomlompom.com/repos/?a=blobdiff_plain;f=todo_templates%2Fcalendar.html;h=59dd5c57bf58654d9f7f4ce9410fa5b8ee0c518f;hb=ecee822bebf62049803b90fc8d8a0b484915a0fc;hp=bc77ccdb0669aed74dd67be1fa6ff7828301958a;hpb=979de59ced9fe3fd3860d19288b42485d7f02346;p=misc diff --git a/todo_templates/calendar.html b/todo_templates/calendar.html index bc77ccd..59dd5c5 100644 --- a/todo_templates/calendar.html +++ b/todo_templates/calendar.html @@ -1,13 +1,18 @@ {% 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: #cccccc; } span.selected_date { font-weight: bold; } +span.todos_sum { white-space: pre; } {% endblock %} + + {% block content %}

calendar

@@ -36,9 +41,9 @@ to: -{{ day.weekday }} {{ date }} +{{ day.weekday }} {{ date }} -|{{ '{:5.1f}'.format(day.todos_sum)}}| +|{{ '{:5.1f}'.format(day.todos_sum)}}| {{ day.comment|e }} @@ -48,7 +53,7 @@ to: {% if "cancelled" in todo.tags %}{% endif %} -[{% if todo.done and not "cancelled" in todo.tags %}✓{% else %} {% endif %}] +{{ macros.doneness_string(todo, true) }} {% if "deadline" in todo.tags %}DEADLINE: {% endif %} {{ todo.title|e }} @@ -65,6 +70,10 @@ to: +

+exportable +

+ {% endblock %}