X-Git-Url: https://plomlompom.com/repos/%7B%7Bprefix%7D%7D/copy_free?a=blobdiff_plain;ds=inline;f=templates%2Fcalendar.html;h=699caabdd05b687a262be37ea32ac1da7ca3c1bc;hb=19f308751a3e651296d8ef9f87059279fad6267b;hp=0b7197fd526b171c81d112171abf83f69fb9b354;hpb=bf8b491d50379772879f1cc9cbe6846fe50ce63b;p=plomtask diff --git a/templates/calendar.html b/templates/calendar.html index 0b7197f..699caab 100644 --- a/templates/calendar.html +++ b/templates/calendar.html @@ -1,9 +1,72 @@ -{% extends 'base.html' %} +{% extends '_base.html' %} + + + +{% block css %} +tr.week_row td { + height: 0.3em; + background-color: black; + padding: 0; + margin: 0; + border-top: 0.2em solid white; +} +tr.month_row td { + border-top: 0.2em solid white; + color: white; + background-color: #555555; +} +table { + width: 100%; +} +tr.day_row td { + background-color: #cccccc; + border-top: 0.2em solid white; +} +td.day_name { + padding-right: 0.5em; +} +td.today { + font-weight: bold; +} +{% endblock %} + + {% block content %} -
{{ day.month_name }} | +|
+ | |
{{day.weekday|truncate(2,True,'',0)}} {% if day.date == today %} {% endif %}{{day.date}} {{day.comment|e}} | +|
[{% if todo.is_done %}X{% else %} {% endif %}] {{todo.title_then|e}}{% if todo.comment %} · {{todo.comment|e}}{% endif %} | +