moved things
This commit is contained in:
29
tpCrudTwig/templates/users/details.twig
Normal file
29
tpCrudTwig/templates/users/details.twig
Normal file
@@ -0,0 +1,29 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="fr">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Détails de l'utilisateur</title>
|
||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
|
||||
{# <link rel="stylesheet" href="style/style.css" /> #}
|
||||
{# <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz" crossorigin="anonymous"></script> #}
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="container text-center bg-light">
|
||||
<h1>Détails pour l’utilisateur {{ user.login }}</h1>
|
||||
<div class="container bg-white w-25 border my-2">
|
||||
<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>
|
||||
</div>
|
||||
<div>
|
||||
<button type="button" class="btn btn-warning" onclick="window.location.href='edit.php?id={{ user.id }}'">Modifier</button>
|
||||
<button type="button" class="btn btn-danger" onclick="window.location.href='delete.php?id={{ user.id }}'">Supprimer</button>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Reference in New Issue
Block a user