diff options
author | Christian Franke <nobody@nowhere.ws> | 2016-04-05 14:52:50 -0300 |
---|---|---|
committer | Christian Franke <nobody@nowhere.ws> | 2016-04-05 14:52:50 -0300 |
commit | 3da396f24ad22cc80e05558deb40c39db1a92295 (patch) | |
tree | 87c32cc29ce580ee299c9119290927429291cb1b | |
parent | 6fb1deda0d09fa1be55888e878e6cacef0da1b65 (diff) |
Add css for event details
-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') }} |