Page admin final no css

This commit is contained in:
jleroy
2024-04-26 13:51:17 +02:00
parent b970ad4c30
commit ff7df78e31
10 changed files with 53 additions and 6 deletions

View File

@@ -24,7 +24,7 @@
</form>
</td>
<td>
<form th:action="@{/admin/catDelete}" method="post">
<form th:action="@{/admin/deleteC}" method="post">
<input type="hidden" name="deleteIdCategorie" id="deleteIdCategorie" th:value="${categorie.id}">
<button>Supprimer</button>
</form>
@@ -45,6 +45,7 @@
<th>Nom</th>
<th>Prénom</th>
<th>Email</th>
<th>Crédit(s)</th>
<th>Action</th>
</tr>
</thead>
@@ -55,6 +56,13 @@
<td th:text="${user.nom}"></td>
<td th:text="${user.prenom}"></td>
<td th:text="${user.email}"></td>
<td>
<form th:action="@{/admin/update/credit}" method="post">
<input type="number" name="newCredit" id="newCredit" th:value="${user.credit}">
<input type="hidden" name="idUser" id="idUser" th:value="${user.id}">
<button>Sauvegarder</button>
</form>
</td>
<td>
<form th:action="@{/admin/disabled}" method="post">
<input type="hidden" name="userDisabled" id="userDisabled" th:value="${user.id}">