updated main pages links
This commit is contained in:
parent
d29902c676
commit
5fd4275046
46 changed files with 467 additions and 770 deletions
19
cms_templates/gallery.html
Normal file
19
cms_templates/gallery.html
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
{% load thumbnail %}
|
||||
<div id="dg-gallery-{{gallery.name}}" class="carousel slide">
|
||||
<!-- Indicators --><!-- Wrapper for slides -->
|
||||
<div class="carousel-inner">
|
||||
{% for image in gallery.dgpicture_set.all %}
|
||||
<div class="item {% if forloop.first %} active {% endif %} ">
|
||||
<img class="img-responsive img-full" src="{{ image.image.url }}" alt="{{ image.description }}">
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
||||
<!-- Controls -->
|
||||
<a class="left carousel-control" href="#dg-gallery-{{gallery.name}}" data-slide="prev">
|
||||
<span class="icon-prev"></span>
|
||||
</a>
|
||||
<a class="right carousel-control" href="#dg-gallery-{{gallery.name}}" data-slide="next">
|
||||
<span class="icon-next"></span>
|
||||
</a>
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue