Add lightbox with download button + more photos per tool
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user