patch session utilisateur

This commit is contained in:
jleroy
2024-04-24 08:47:39 +02:00
parent ce9b0a212c
commit d3bb566ad2

View File

@@ -0,0 +1,50 @@
<!DOCTYPE html>
<html lang="fr" th:replace="~{modele-page :: layout('Votre profile',~{::link} , ~{::#container-main})}" xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="UTF-8">
</head>
<body>
<div id="container-main">
<h1>Mon profil</h1>
<div class="champ-affichage">
<label>Pseudo: </label>
<span th:text="${userProfile.pseudo}"></span>
</div>
<div class="champ-affichage">
<label>Prénom: </label>
<span th:text="${userProfile.prenom}"></span>
</div>
<div class="champ-affichage">
<label>Nom: </label>
<span th:text="${userProfile.nom}"></span>
</div>
<div class="champ-affichage">
<label>Email: </label>
<span th:text="${userProfile.email}"></span>
</div>
<div class="champ-affichage">
<label>Téléphone: </label>
<span th:text="${userProfile.telephone}"></span>
</div>
<div class="champ-affichage">
<label>Rue: </label>
<span th:text="${userProfile.rue}"></span>
</div>
<div class="champ-affichage">
<label>Code postal: </label>
<span th:text="${userProfile.code_postal}"></span>
</div>
<div class="champ-affichage">
<label>Ville: </label>
<span th:text="${userProfile.ville}"></span>
</div>
<div class="champ-affichage">
<label>Crédits: </label>
<span th:text="${userProfile.credit}"></span>
</div>
<form th:action="@{/profil/edit}" method="post">
<button type="submit">Modifier</button>
</form>
</div>
</body>
</html>