Fix bugs in section files
This commit is contained in:
@@ -3,24 +3,31 @@
|
||||
|
||||
{% block main %}
|
||||
|
||||
<div class="container theme-showcase" role="main">
|
||||
|
||||
|
||||
<br />
|
||||
|
||||
<div id="gallery center" style= "margin-top:10vw;">
|
||||
{% if fichiers %}
|
||||
|
||||
|
||||
<div id="gallery">
|
||||
{% for image in fichiers %}
|
||||
|
||||
<img src="/myfiles/images/thumbnails/{{ image }}" class="img-rounded" alt=""/>
|
||||
|
||||
|
||||
{% for image in fichiers %}
|
||||
<a href="/myfiles/images/{{ image }}" class="glightbox">
|
||||
<img src="/myfiles/images/thumbnails/{{ image }}" class="img-rounded gallery" alt=""/>
|
||||
</a>
|
||||
{% endfor %}
|
||||
|
||||
{% else %}
|
||||
|
||||
</div>
|
||||
|
||||
<h2> Il n'y a aucunes images dans votre gallerie </h2>
|
||||
|
||||
|
||||
|
||||
{% endif %}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user