added wesite slideshow and attributions on website

This commit is contained in:
Rushabh Mehta
2012-12-25 18:18:17 +05:30
parent f50c012808
commit 7edf899706
21 changed files with 383 additions and 96 deletions

View File

@@ -9,21 +9,30 @@
{% block content %}
<div class="layout-wrapper layout-wrapper-background">
<div class="web-content" style="text-align: {{ text_align }};">
{% if layout and layout.startswith('Two column') %}
<div class="layout-main-section">
{% else %}
<div class="layout-main">
{% endif %}
{{ main_section_html }}
{% 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">&lsaquo;</a>
<a class="carousel-control right" href="#myCarousel"
data-slide="next">&rsaquo;</a>
</div>
<script>$(".carousel").carousel();</script>
{% endif %}
{{ main_section }}
</div>
{% if layout and layout.startswith('Two column') %}
<div class="layout-side-section">
{{ side_section_html }}
</div>
{% endif %}
<div style="clear: both"></div>
</div>
</div>
{% endblock %}