diff --git a/flask/templates/admin.html b/flask/templates/admin.html
index 6e91f6b..2d061c6 100644
--- a/flask/templates/admin.html
+++ b/flask/templates/admin.html
@@ -3,33 +3,14 @@
- Admin — Loustiques
-
+ Loustiques Home - Admin
@@ -316,7 +237,7 @@
@@ -347,23 +266,23 @@
Créer un utilisateur
@@ -377,17 +296,7 @@
Comptes existants
-
-
-
MA
-
-
maxime
-
créé le 24/03/2026
-
-
admin
-
-
-
+
@@ -408,7 +317,7 @@ function checkStrength(val) {
if (/[A-Z]/.test(val)) score++;
if (/[0-9]/.test(val)) score++;
if (/[^A-Za-z0-9]/.test(val)) score++;
- const colors = ['#ff5f57', '#ff9f0a', '#ffd60a', '#30d158'];
+ const colors = ['#f87171', '#fb923c', '#facc15', '#4ade80'];
fill.style.width = (score * 25) + '%';
fill.style.background = colors[score - 1] || 'transparent';
}
@@ -443,6 +352,7 @@ function createUser() {
})
.catch(() => showToast('Erreur réseau', 'error'));
}
+
function loadUsers() {
fetch('/admin/get_users')
.then(r => r.json())
@@ -454,7 +364,8 @@ function loadUsers() {
});
}
-loadUsers();
+loadUsers();
+
function addUserRow(username, role) {
const initials = username.slice(0, 2).toUpperCase();
const today = new Date().toLocaleDateString('fr-FR');
@@ -494,4 +405,4 @@ function deleteUser(btn, username) {
-