CORRECTION : MAJ balises html pour cohérence dans la forme

This commit is contained in:
2025-12-03 14:57:58 +01:00
parent 96c060e206
commit 50ad334177
14 changed files with 266 additions and 64 deletions

View File

@@ -4,6 +4,16 @@
<meta charset="utf-8"/>
<title>Upload - FotoSharing</title>
</head>
<header>
<p>
<a th:href="@{/}">Accueil</a> |
<a th:href="@{/upload}">Uploader une photo</a> |
<a th:href="@{/mes-photos}">Mes photos</a> |
<a th:href="@{/mes-albums}">Mes albums</a> |
<a th:href="@{/galerie}">Galerie publique</a>
</p>
<hr/>
</header>
<body>
<h1>Uploader une photo</h1>
<form th:action="@{/upload}" method="post" enctype="multipart/form-data">
@@ -17,8 +27,16 @@
</label><br/>
<button type="submit">Envoyer</button>
</form>
<p><a th:href="@{/galerie}">Galerie publique</a></p>
<div th:if="${error}" th:text="${error}"></div>
<div th:if="${message}" th:text="${message}"></div>
</body>
<footer>
<hr/>
<form th:action="@{/logout}" method="post" style="display: inline;">
<button type="submit"
style="background: none; border: none; color: blue; text-decoration: underline; cursor: pointer;">
Se déconnecter
</button>
</form>
</footer>
</html>