This commit is contained in:
Parpaillax
2024-04-24 15:06:33 +02:00
parent 3713edd3fa
commit 96e63e84b3
2 changed files with 2 additions and 5 deletions

View File

@@ -13,10 +13,7 @@
<a class="navbar-brand" href="/accueil"> <a class="navbar-brand" href="/accueil">
<img src="/img/logo.png" width="70" height="70" alt="Logo"> <img src="/img/logo.png" width="70" height="70" alt="Logo">
</a> </a>
<div th:if="${#authentication.principal != 'anonymousUser'}"> <div th:if="${#authentication.principal != 'anonymousUser'}" class="text-light d-flex justify-content-center align-items-center" th:text="#{'Mes crédits : '} + ${user}"></div>
<p>Mes crédits :</p>
<p th:text="${user}"></p>
</div>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation"> <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span> <span class="navbar-toggler-icon"></span>
</button> </button>

View File

@@ -50,7 +50,7 @@
<span th:text="${userProfile.credit}"></span> <span th:text="${userProfile.credit}"></span>
</li> </li>
</ul> </ul>
<form th:action="@{/profil/edit}" method="post" class="mt-3"> <form th:action="@{/profil/edit}" method="post" class="d-flex justify-content-end align-items-center mt-3">
<button type="submit" class="btn btn-primary" th:text="#{profil.button}"></button> <button type="submit" class="btn btn-primary" th:text="#{profil.button}"></button>
</form> </form>
</div> </div>