X-Git-Url: https://plomlompom.com/repos/%7B%7Bdb.prefix%7D%7D/task?a=blobdiff_plain;f=templates%2Fcalendar.html;h=d7ec545bf3eb075b19cdce76d1fd7f9a7a9cf55d;hb=d916781d66c1aaf4e3a04580153dce61744d5729;hp=0f18203b639eab7ada07d69a98d71d56330d489a;hpb=ee89735cb3714dc7c3ec8bbd0643cf279ee9a1ef;p=plomtask diff --git a/templates/calendar.html b/templates/calendar.html index 0f18203..d7ec545 100644 --- a/templates/calendar.html +++ b/templates/calendar.html @@ -1,9 +1,65 @@ -{% extends 'base.html' %} +{% extends '_base.html' %} + + + +{% block css %} +tr.week_row td { + height: 0.1em; + background-color: black; + padding: 0; + margin: 0; +} +tr.month_row td { + border: 0.1em solid black; + text-align: center; +} +td.day_name { + padding-right: 0.5em; +} +td.today { + font-weight: bold; +} +{% endblock %} + + {% block content %} -
{{ day.month_name }} | +||
+ | ||
{{day.weekday|truncate(2,True,'',0)}} | +{{day.date}} | +{{day.comment|e}} | +
[{% if todo.is_done %}X{% else %} {% endif %}] | +{{todo.title_then|e}} | +{{todo.comment|e}} | +