|
|
@ -5,32 +5,33 @@
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV/Dwwykc2MPK8M2HN" crossorigin="anonymous">
|
|
|
|
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV/Dwwykc2MPK8M2HN" crossorigin="anonymous">
|
|
|
|
</script>
|
|
|
|
<link rel="stylesheet" href="../css/global.css">
|
|
|
|
<link rel="stylesheet" href="css/global.css">
|
|
|
|
|
|
|
|
</head>
|
|
|
|
</head>
|
|
|
|
|
|
|
|
|
|
|
|
<body>
|
|
|
|
<body id="bodyStyle">
|
|
|
|
<div class="container mt-5">
|
|
|
|
<div>
|
|
|
|
|
|
|
|
<a href="/" role="button" class="btn btn-secondary position-absolute top-0 mt-2 end-0 me-2">
|
|
|
|
|
|
|
|
Retour
|
|
|
|
|
|
|
|
</a>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="container mt-5 text-light fs-4">
|
|
|
|
<h1>Liste des administrators</h1>
|
|
|
|
<h1>Liste des administrators</h1>
|
|
|
|
<ul class="list-group">
|
|
|
|
<ul class="list-group">
|
|
|
|
{% for admin in administrators %}
|
|
|
|
{% for admin in administrators %}
|
|
|
|
<li class="list-group-item d-flex justify-content-between align-items-center">
|
|
|
|
<li class="list-group-item d-flex justify-content-between align-items-center border-dark text-light bg-secondary">
|
|
|
|
{{ admin.username }}
|
|
|
|
{{ admin.username }}
|
|
|
|
<div class="btn-group" role="group">
|
|
|
|
<div class="btn-group" role="group">
|
|
|
|
<a type="button" href="/admin/administrators/updatemodal/{{ admin.id }}" class="btn btn-primary">Modifier</a>
|
|
|
|
<a type="button" href="/admin/administrators/updatemodal/{{ admin.id }}" class="btn btn-primary fs-5">Modifier</a>
|
|
|
|
<a type="button" href="/admin/administrators/delete/{{ admin.id }}" class="btn btn-danger">Supprimer</a>
|
|
|
|
<a type="button" href="/admin/administrators/delete/{{ admin.id }}" class="btn btn-danger fs-5">Supprimer</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
</li>
|
|
|
|
{% endfor %}
|
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="container mt-3">
|
|
|
|
<div class="container mt-3 d-flex justify-content-between">
|
|
|
|
<button type="button" class="btn btn-primary" data-bs-toggle="modal" data-bs-target="#modalAdministrators">Ajouter un administrateur</button>
|
|
|
|
<a type="button" href="/admin/questions" class="btn btn-secondary fs-5"> ← Questions </a>
|
|
|
|
<div class="btn-group" role="group">
|
|
|
|
<button type="button" class="btn btn-primary fs-5" data-bs-toggle="modal" data-bs-target="#modalAdministrators">Ajouter un administrateur</button>
|
|
|
|
<a href="/admin/questions" class="btn btn-secondary"> ← Questions </a>
|
|
|
|
<a type="button" href="/admin/chapters" class="btn btn-secondary fs-5">Chapitres →</a>
|
|
|
|
<a href="/" class="btn btn-secondary">Retour</a>
|
|
|
|
|
|
|
|
<a href="/admin/chapters" class="btn btn-secondary">Chapitres →</a>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js"></script>
|
|
|
|
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js"></script>
|
|
|
|