X-Git-Url: https://plomlompom.com/repos/feed.xml?a=blobdiff_plain;f=templates%2Fcalendar.html;h=11ac2a8816800eb0c11516610fe9e71eecda4027;hb=b4a34a415fb31a00ee1e092fcc2a6b5d97edd52a;hp=46742624270f9c1c8b10a528c2af18d4f6a2cd32;hpb=2337eb37f27fdc60e3cb000052f00218d815c49f;p=plomtask diff --git a/templates/calendar.html b/templates/calendar.html index 4674262..11ac2a8 100644 --- a/templates/calendar.html +++ b/templates/calendar.html @@ -8,15 +8,19 @@ tr.week_row td { background-color: black; padding: 0; margin: 0; + border-top: 0.2em solid white; } tr.month_row td { - border: 0.1em solid black; - text-align: center; + 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; @@ -24,6 +28,9 @@ td.day_name { td.today { font-weight: bold; } +span.total_effort { + white-space: pre; +} {% endblock %} @@ -31,9 +38,11 @@ td.today { {% block content %}

calendar

+

basic view

+
-from -to +from +to
@@ -52,7 +61,10 @@ to {% endif %} - + {% for todo in day.calendarized_todos %}
{{day.weekday|truncate(2,True,'',0)}} {% if day.date == today %} {% endif %}{{day.date}} {{day.comment|e}} +{{day.weekday|truncate(2,True,'',0)}} {% if day.date == today %} {% endif %}{{day.date}} +[{{ '{:5.1f}'.format(day.total_effort) }}] +{{day.comment|e}}