diff --git a/saturn/server/static/css/index.css b/saturn/server/static/css/index.css index 0bf4810..ea34ab5 100644 --- a/saturn/server/static/css/index.css +++ b/saturn/server/static/css/index.css @@ -72,6 +72,9 @@ body > #events { gap: 1rem; text-align: center; } +.event > .date.only-one { + grid-template-rows: auto; +} .event > .date > div > span { display: block; } diff --git a/saturn/server/templates/index.html b/saturn/server/templates/index.html index e08073a..240905a 100644 --- a/saturn/server/templates/index.html +++ b/saturn/server/templates/index.html @@ -14,7 +14,11 @@ {% for event in events %}
{{ event.summary }}
+ {% if event.is_one_day() and event.is_full_day() %} +
+ {% else %}
+ {% endif %}
{{ event.dtstart.strftime('%A').capitalize() }} @@ -31,6 +35,7 @@ {% endif %}
+ {% if not (event.is_one_day() and event.is_full_day()) %}
{% if not event.is_one_day() %} @@ -51,6 +56,7 @@ {% endif %}
+ {% endif %}