From a9918cc2fb416c5a81587e8b2a07f81f626091a5 Mon Sep 17 00:00:00 2001 From: Asaf Gartner Date: Wed, 3 Jul 2024 10:14:36 +0300 Subject: [PATCH] Slightly nicer admin panel in user_profile --- src/templates/src/user_profile.html | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/src/templates/src/user_profile.html b/src/templates/src/user_profile.html index f48478b2..dceebed7 100644 --- a/src/templates/src/user_profile.html +++ b/src/templates/src/user_profile.html @@ -93,7 +93,7 @@ {{ if .User }} {{ if .User.IsStaff }} -
+
Admin actions
@@ -101,35 +101,34 @@
-
+ {{ csrftoken .Session }} -
-
User status:
- -
Only sets status. Doesn't delete anything.
-
-
Education role:
-
-
- +
+
-
-
Danger zone:
+
+
{{ csrftoken .Session }}