Add section_about and _about_item templates

This commit is contained in:
M.Ravi 2017-10-18 16:53:05 +02:00
parent 9ff5b4015f
commit 5e2d1966f8
2 changed files with 28 additions and 0 deletions

View file

@ -0,0 +1,10 @@
<li {% if instance.inverted %}class="timeline-inverted"{% endif %}>
<div class="timeline-image">
<img class="img-circle img-responsive" src="{{ instance.image.url }}" alt="">
</div>
<div class="timeline-panel wow {% if instance.inverted %}slideInRight{% else %}slideInLeft{% endif %}">
<div class="timeline-body">
<p>{{ instance.title }}</p>
</div>
</div>
</li>

View file

@ -0,0 +1,18 @@
{% load cms_tags %}
<section id="about">
<div class="container">
<div class="text-center wow fadeInDown">
<h2 class="section-heading">{{ about_instance.title }}</h2>
<h3 class="section-subheading text-muted">{{ about_instance.sub_title }}</h3>
</div>
<div class="row">
<div class="col-lg-12">
<ul class="timeline">
{% for plugin in about_instance.child_plugin_instances %}
{% render_plugin plugin %}
{% endfor %}
</ul>
</div>
</div>
</div>
</section>