X-Git-Url: https://plomlompom.com/repos/%7B%7B%20web_path%20%7D%7D/decks/%7B%7Bdeck_id%7D%7D/cards/%7B%7Bcard_id%7D%7D/static/git-logo.png?a=blobdiff_plain;f=templates%2Fcalendar.html;h=46742624270f9c1c8b10a528c2af18d4f6a2cd32;hb=0630d9cfdc47e306b96ad05b4077ee96eec71226;hp=832e03867614ef0aa08d7694dbfd4b325b8ac298;hpb=e51477ebea9fb701d88de85088b2fda1247c73a2;p=plomtask diff --git a/templates/calendar.html b/templates/calendar.html index 832e038..4674262 100644 --- a/templates/calendar.html +++ b/templates/calendar.html @@ -1,9 +1,66 @@ -{% extends 'base.html' %} +{% extends '_base.html' %} + + + +{% block css %} +tr.week_row td { + height: 0.3em; + background-color: black; + padding: 0; + margin: 0; +} +tr.month_row td { + border: 0.1em solid black; + text-align: center; + color: white; + background-color: #555555; +} +tr.day_row td { + background-color: #cccccc; +} +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 %} | +