summaryrefslogtreecommitdiff
path: root/slideshows/default/template.html
diff options
context:
space:
mode:
Diffstat (limited to 'slideshows/default/template.html')
-rw-r--r--slideshows/default/template.html21
1 files changed, 19 insertions, 2 deletions
diff --git a/slideshows/default/template.html b/slideshows/default/template.html
index a37b369..f814317 100644
--- a/slideshows/default/template.html
+++ b/slideshows/default/template.html
@@ -12,11 +12,28 @@
<div class="frame">
<div class="content">
<ul class="rui-billboard" data-billboard='{fxName: null, autostart: true, showButtons: false, delay: 10000}'>
- $IMAGES
+ {% for slide in slides %}
+ <li>
+ {% if slide.image %}<img src={{slide.image}}>{% endif %}
+ {% if slide.description %}<div class="slideDesc"><div class="slideHead">{{slide.description}}</div>{% if slide.text %}<div class="slideText">{{slide.text}}</div>{% endif %}</div>{% endif %}
+ {% if slide.image %}</img>{% endif %}
+ </li>
+ {% endfor %}
</ul>
</div>
<div class="events">
- $EVENTS
+ {% for date in events %}
+ <div class="event"><div class="eventDate">{{date.date}}</div>
+ {% if date.events %}<ul class="eventList">{% endif %}
+ {% for event in date.events %}
+ <li class="eventEl">
+ {% if event.start %}<div class="eventfield start">{{event.start}}</div>{% endif %}
+ {% if event.summary %}<div class="eventField summary">{{event.summary}}</div>{% endif %}
+ </li>
+ {% endfor %}
+ </ul>
+ </div>
+ {% endfor %}
</div>
</div>
</body>