diff --git a/admin/admin.css b/admin/admin.css
index e968e57..5789de4 100644
--- a/admin/admin.css
+++ b/admin/admin.css
@@ -3,11 +3,11 @@
padding: 0;
--color1 : rgba(30, 30, 30, 1);
--color2 : rgba(255, 255, 255, 0.07);
- color: white;
}
body {
background-color: var(--color1);
+ color: white;
}
main {
@@ -31,12 +31,11 @@ nav ul li a {
text-decoration: none;
color: white;
font-weight: bold;
- transition: 3s ease;
}
nav ul li:hover {
transform: scale(1.05);
- transition: 0.3s ease;
+ transition: 0.2s ease;
}
@@ -51,4 +50,24 @@ nav ul li.red {
}
nav ul li.white {
border-bottom: 1px solid white;
+}
+
+table.acces {
+ width: 100%;
+ border: 0;
+ border-collapse: collapse;
+}
+
+table.acces th {
+ background-color: var(--color2);
+ padding: 20px;
+ border: 0;
+ text-align: center;
+ color: white;
+}
+
+table.acces td {
+ border: 3px solid var(--color2);
+ padding: 20px;
+ text-align: center;
}
\ No newline at end of file
diff --git a/admin/gestion_des_acces.php b/admin/gestion_des_acces.php
index 7dff395..f697b89 100644
--- a/admin/gestion_des_acces.php
+++ b/admin/gestion_des_acces.php
@@ -54,12 +54,37 @@ if(isset($_POST['send'])) {
}
?>
- query('SELECT id, pseudo, perm FROM admin');
- while($admin = $req->fetch()) {
- ?>
- = $admin['id'] ?> || = $admin['pseudo'] ?> || = $admin['perm'] ?>
-
+
| ID (db) + | Identifiant + | Perm + | + |
|---|---|---|---|
| = $admin['id'] ?> | += $admin['pseudo'] ?> | +GDA"; + break; + case 1: + echo "Bureau"; + break; + case 2: + echo "Admin"; + break; + } + ?> | ++ |