summaryrefslogtreecommitdiff
path: root/frontend.js
diff options
context:
space:
mode:
Diffstat (limited to 'frontend.js')
-rw-r--r--frontend.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/frontend.js b/frontend.js
index ed093f4..c99a361 100644
--- a/frontend.js
+++ b/frontend.js
@@ -29,12 +29,12 @@ exports.start = function(config) {
var eventStr = '';
for(var date in slides['events']) {
if(!slides['events'].hasOwnProperty(date)) { continue; }
- eventStr = eventStr + '<h4>'+date+'</h4><hr><ul>';
+ eventStr = eventStr + '<div class="event"><div class="eventDate">'+date+'</div><ul class="eventList">';
for(var ev in slides['events'][date]) {
if(!slides['events'][date].hasOwnProperty(ev)) { continue; }
- eventStr = eventStr + '<li>'+slides['events'][date][ev]['time']+' - '+slides['events'][date][ev]['summary']+'</li>';
+ eventStr = eventStr + '<li class="eventEl">'+slides['events'][date][ev]['time']+' - '+slides['events'][date][ev]['summary']+'</li>';
}
- eventStr = eventStr + '</ul>';
+ eventStr = eventStr + '</ul></div>';
}
body = body.replace("$IMAGES", slideStr);
body = body.replace("$EVENTS", eventStr);