From 3da396f24ad22cc80e05558deb40c39db1a92295 Mon Sep 17 00:00:00 2001 From: Christian Franke Date: Tue, 5 Apr 2016 14:52:50 -0300 Subject: Add css for event details --- public/css/sublab.calendar.css | 7 +++++++ template/tabcalendar_list.j2 | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/public/css/sublab.calendar.css b/public/css/sublab.calendar.css index 5e3b15e..24a5e05 100644 --- a/public/css/sublab.calendar.css +++ b/public/css/sublab.calendar.css @@ -75,3 +75,10 @@ .tabcalendar-event-details .date { font-size: 0.8em; } +.tabcalendar-event-details { + margin-bottom: 10px; + border: 2px solid #303030; + border-radius: 4px; + padding: 4px; + padding-left: 8px; +} diff --git a/template/tabcalendar_list.j2 b/template/tabcalendar_list.j2 index 02d7c2b..a61a013 100644 --- a/template/tabcalendar_list.j2 +++ b/template/tabcalendar_list.j2 @@ -1,6 +1,6 @@
{%- for event in events %} -
+

{%- if event.multiday %} {{- event.start.strftime('%A, %d. %B %Y').decode('utf-8') }} - {{ event.end.strftime('%A, %d. %B %Y').decode('utf-8') }} -- cgit v1.2.1