fichier langue / bootstrap

This commit is contained in:
mepiphana2023
2024-04-24 11:19:28 +02:00
parent 86bcf8c022
commit 067920189f
5 changed files with 59 additions and 46 deletions

View File

@@ -3,48 +3,60 @@
<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>
<body>
<div class="container-fluid" id="container-main">
<div class="row mt-3">
<div class="col-md-6 offset-md-3">
<div class="card">
<div class="card-header">
<h4>Mon profil</h4>
</div>
<div class="card-body">
<ul class="list-group">
<li class="list-group-item">
<strong><label class="col-form-label">Pseudo:</label></strong>
<span th:text="${userProfile.pseudo}"></span>
</li>
<li class="list-group-item">
<strong><label class="col-form-label">Prénom:</label></strong>
<span th:text="${userProfile.prenom}"></span>
</li>
<li class="list-group-item">
<strong><label class="col-form-label">Nom:</label></strong>
<span th:text="${userProfile.nom}"></span>
</li>
<li class="list-group-item">
<strong><label class="col-form-label">Email:</label></strong>
<span th:text="${userProfile.email}"></span>
</li>
<li class="list-group-item">
<strong><label class="col-form-label">Téléphone:</label></strong>
<span th:text="${userProfile.telephone}"></span>
</li>
<li class="list-group-item">
<strong><label class="col-form-label">Rue:</label></strong>
<span th:text="${userProfile.rue}"></span>
</li>
<li class="list-group-item">
<strong><label class="col-form-label">Code postal:</label></strong>
<span th:text="${userProfile.code_postal}"></span>
</li>
<li class="list-group-item">
<strong><label class="col-form-label">Ville:</label></strong>
<span th:text="${userProfile.ville}"></span>
</li>
<li class="list-group-item">
<strong><label class="col-form-label">Crédits:</label></strong>
<span th:text="${userProfile.credit}"></span>
</li>
</ul>
<form th:action="@{/profil/edit}" method="post" class="mt-3">
<button type="submit" class="btn btn-primary">Modifier</button>
</form>
</div>
</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>
</div>
</div>
</body>
</html>