Fix gallery bugs

This commit is contained in:
2025-05-13 03:26:08 +02:00
parent 128efbb26e
commit 056766b262
5 changed files with 89 additions and 87 deletions

View File

@@ -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>