From 3613dd0804a9c18b006c42854fb665aaa1305fc2 Mon Sep 17 00:00:00 2001 From: Chris Mann Date: Mon, 24 Jul 2023 10:36:34 +0200 Subject: [PATCH] Improved Menu System --- static/css/lesgv.css | 4 +++- templates/admin_activate.html | 5 ++++- templates/admin_create.html | 6 +++++- templates/admin_groups.html | 6 +++++- templates/admin_ldap.html | 6 +++++- templates/admin_mailing.html | 2 ++ templates/admin_users.html | 6 +++++- templates/home.html | 3 ++- templates/layout.html | 16 +++++++++++----- templates/profile.html | 5 ++++- 10 files changed, 46 insertions(+), 13 deletions(-) diff --git a/static/css/lesgv.css b/static/css/lesgv.css index 15d54f2..2d9e2db 100644 --- a/static/css/lesgv.css +++ b/static/css/lesgv.css @@ -62,4 +62,6 @@ div.card-header { div.card { flex-direction: column; } -} \ No newline at end of file +} + + diff --git a/templates/admin_activate.html b/templates/admin_activate.html index 557a34c..3e37317 100644 --- a/templates/admin_activate.html +++ b/templates/admin_activate.html @@ -1,8 +1,10 @@ {{define "title"}}Activer des utilisateurs |{{end}} + {{define "admenu"}} {{if .Login.CanAdmin}} -
  • Administrer LDAP +
  • Administration