Add lightbox with download button + more photos per tool

This commit is contained in:
2026-05-02 09:27:08 +02:00
parent ae0e150bc1
commit 095f448c10
3 changed files with 76 additions and 2 deletions
+15
View File
@@ -216,6 +216,21 @@
</div>
</div>
<!-- LIGHTBOX -->
<div id="lightbox" class="lightbox hidden">
<div class="lightbox-overlay" onclick="closeLightbox()"></div>
<div class="lightbox-content">
<button class="lightbox-close" onclick="closeLightbox()"></button>
<button class="lightbox-nav lightbox-prev" onclick="lightboxNav(-1)"></button>
<img id="lightbox-img" src="" alt=""/>
<button class="lightbox-nav lightbox-next" onclick="lightboxNav(1)"></button>
<div class="lightbox-footer">
<span id="lightbox-counter"></span>
<a id="lightbox-download" href="" download class="btn btn-primary btn-sm">⬇ Télécharger</a>
</div>
</div>
</div>
<script src="/static/app.js"></script>
</body>
</html>