Ajout galerie publique pour tous les users / anonymes

This commit is contained in:
2025-12-01 21:18:47 +01:00
parent e2c714185b
commit ca3e693969
22 changed files with 60 additions and 2 deletions

View File

@@ -0,0 +1,17 @@
<!doctype html>
<html xmlns:th="http://www.thymeleaf.org">
<head><meta charset="utf-8"><title>Galerie</title></head>
<body>
<h1>Galerie publique</h1>
<p><a th:href="@{/}">Accueil</a></p>
<ul>
<li th:each="p : ${photos}">
<span th:text="${p.nomFichierOriginal}">nom</span>
<a th:href="@{'/photo/' + ${p.id} + '/raw'}" target="_blank">Voir</a>
</li>
</ul>
</body>
</html>