X-Git-Url: https://plomlompom.com/repos/bar%20baz.html?a=blobdiff_plain;ds=sidebyside;f=templates%2Fcalendar.html;h=d7ec545bf3eb075b19cdce76d1fd7f9a7a9cf55d;hb=d916781d66c1aaf4e3a04580153dce61744d5729;hp=eae103d9929ccc061b6eff1d296ecf2767325e81;hpb=12be63c6ef58282cb6b7d5b7bc2eabe8946a1bfc;p=plomtask diff --git a/templates/calendar.html b/templates/calendar.html index eae103d..d7ec545 100644 --- a/templates/calendar.html +++ b/templates/calendar.html @@ -1,4 +1,6 @@ -{% extends 'base.html' %} +{% extends '_base.html' %} + + {% block css %} tr.week_row td { @@ -14,11 +16,16 @@ tr.month_row td { td.day_name { padding-right: 0.5em; } +td.today { + font-weight: bold; +} {% endblock %} {% block content %} +

calendar

+
from to @@ -41,10 +48,18 @@ to {{day.weekday|truncate(2,True,'',0)}} -{{day.date}} +{{day.date}} {{day.comment|e}} +{% for todo in day.calendarized_todos %} + +[{% if todo.is_done %}X{% else %} {% endif %}] +{{todo.title_then|e}} +{{todo.comment|e}} + +{% endfor %} + {% endfor %} {% endblock %}