2012-07-12 13:11:12 +00:00
|
|
|
{% extends "html/page.html" %}
|
|
|
|
|
|
|
|
{% block javascript %}
|
|
|
|
{% if insert_code %}
|
|
|
|
{{ javascript }}
|
|
|
|
{% endif %}
|
|
|
|
{% endblock %}
|
2012-06-22 14:31:07 +00:00
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
<div class="layout-wrapper layout-wrapper-background">
|
|
|
|
<div class="web-content" style="text-align: {{ text_align }};">
|
|
|
|
<div class="layout-main">
|
2012-12-25 12:48:17 +00:00
|
|
|
{% if slideshow %}
|
|
|
|
{{ slideshow_header }}
|
|
|
|
<div id="myCarousel" class="carousel slide">
|
|
|
|
<div class="carousel-inner">
|
|
|
|
{% for slide in obj.slides %}
|
|
|
|
<div class="{% if slide.idx==1 %}active {% endif %}item">
|
|
|
|
<img src="{{ slide.image }}" />
|
|
|
|
<div class="carousel-caption">
|
|
|
|
<h4>{{ slide.heading }}</h4>
|
|
|
|
<p>{{ slide.description }}</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endfor %}
|
|
|
|
</div>
|
|
|
|
<a class="carousel-control left" href="#myCarousel"
|
|
|
|
data-slide="prev">‹</a>
|
|
|
|
<a class="carousel-control right" href="#myCarousel"
|
|
|
|
data-slide="next">›</a>
|
|
|
|
</div>
|
|
|
|
<script>$(".carousel").carousel();</script>
|
|
|
|
{% endif %}
|
|
|
|
{{ main_section }}
|
2012-06-22 14:31:07 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endblock %}
|