Fix gallery bugs
This commit is contained in:
@@ -7,20 +7,29 @@
|
||||
|
||||
<br />
|
||||
|
||||
<div id="gallery center" style= "margin-top:10vw;">
|
||||
<div class="center row">
|
||||
{% if fichiers %}
|
||||
|
||||
|
||||
|
||||
{% for image in fichiers %}
|
||||
<a href="/myfiles/images/{{ image }}" class="glightbox">
|
||||
<img src="/myfiles/images/thumbnails/{{ image }}" class="img-rounded gallery" alt=""/>
|
||||
</a>
|
||||
<div class="column">
|
||||
<a href="/myfiles/images/{{ image }}" class="glightbox">
|
||||
<img src="/myfiles/images/thumbnails/{{ image }}" class="img-rounded gallery" alt=""/>
|
||||
</a>
|
||||
|
||||
<div class="control">
|
||||
<a href="{{ url_for('mygallery.remove_privateImage', filename=image) }}"> <button class="btn btn-danger "><span class="glyphicon glyphicon-trash"></span> </button></a>
|
||||
<!-- <button class="btn btn-success "><span class="glyphicon glyphicon-globe"></span></button> -->
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% endfor %}
|
||||
|
||||
|
||||
|
||||
{% else %}
|
||||
|
||||
<h2> Il n'y a aucunes images dans votre gallerie </h2>
|
||||
<h2> Il n'y a aucunes images dans votre gallerie </h2>
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user