X-Git-Url: https://plomlompom.com/repos/berlin_corona.txt?a=blobdiff_plain;f=templates%2Fcalendar.html;h=46742624270f9c1c8b10a528c2af18d4f6a2cd32;hb=2337eb37f27fdc60e3cb000052f00218d815c49f;hp=77242037982762100a20e21bf0d8b453877c7fe3;hpb=e150bee233a648950061b716dc1780581105ede6;p=plomtask diff --git a/templates/calendar.html b/templates/calendar.html index 7724203..4674262 100644 --- a/templates/calendar.html +++ b/templates/calendar.html @@ -4,7 +4,7 @@ {% block css %} tr.week_row td { - height: 0.1em; + height: 0.3em; background-color: black; padding: 0; margin: 0; @@ -12,10 +12,18 @@ tr.week_row td { 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 %} @@ -33,27 +41,23 @@ to {% if day.first_of_month %} -{{ day.month_name }} +{{ day.month_name }} {% endif %} {% if day.weekday == "Monday" %} - + {% endif %} - -{{day.weekday|truncate(2,True,'',0)}} -{{day.date}} -{{day.comment|e}} + +{{day.weekday|truncate(2,True,'',0)}} {% if day.date == today %} {% endif %}{{day.date}} {{day.comment|e}} {% for todo in day.calendarized_todos %} -[{% if todo.is_done %}X{% else %} {% endif %}] -{{todo.title.newest|e}} -{{todo.comment|e}} +[{% if todo.is_done %}X{% else %} {% endif %}] {{todo.title_then|e}}{% if todo.comment %} · {{todo.comment|e}}{% endif %} {% endfor %}