This commit is contained in:
2024-10-11 17:15:04 +02:00
parent a390944917
commit fdc4037786
11 changed files with 163 additions and 138 deletions

25
crud/vue/details.twig Normal file
View File

@@ -0,0 +1,25 @@
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<title>Détails de l'utilisateur</title>
<link rel="stylesheet" href="style/style.css" />
</head>
<body>
<div>
<h1>Détails pour lutilisateur {{ user.login }}</h1>
<p>ID : {{ user.id }}</p>
<p>Login : {{ user.login }}</p>
<p>FirstName : {{ user.firstname }}</p>
<p>LastName : {{ user.lastname }}</p>
<p>Role : {{ user.role }}</p>
<p>
<button onclick="window.location.href='edit.php?id={{ user.id }}'">Modifier</button>
<button onclick="window.location.href='delete.php?id={{ user.id }}'">Supprimer</button>
</p>
</div>
</body>
</html>