From 29c6d00b66c3c2da609b1e3bab9638859db25e7f Mon Sep 17 00:00:00 2001 From: Baptiste Date: Wed, 15 Jun 2022 17:59:43 +0200 Subject: [PATCH] font acces v1 --- admin/admin.css | 25 ++++++++++++++++++++++--- admin/gestion_des_acces.php | 37 +++++++++++++++++++++++++++++++------ 2 files changed, 53 insertions(+), 9 deletions(-) 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()) { - ?> - || || - + + + + query('SELECT id, pseudo, perm FROM admin'); + while($admin = $req->fetch()) { + ?> + + + + + + + +
ID (db) + Identifiant + Perm + +
GDA"; + break; + case 1: + echo "Bureau"; + break; + case 2: + echo "Admin"; + break; + } + ?>
\ No newline at end of file