diff options
-rw-r--r-- | public/css/sublab.calendar.css | 7 | ||||
-rw-r--r-- | template/tabcalendar_list.j2 | 2 |
2 files changed, 8 insertions, 1 deletions
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 @@ <div class="tabcalendar-details"> {%- for event in events %} -<div class="tabcalendar-event-details" id="{{event.id}}"> +<div class="tabcalendar-event-details" id="event-{{event.id}}"> <p><span class="date"> {%- if event.multiday %} {{- event.start.strftime('%A, %d. %B %Y').decode('utf-8') }} - {{ event.end.strftime('%A, %d. %B %Y').decode('utf-8') }} |