From c66055db9dd578268c78955637510d52f14cb5c5 Mon Sep 17 00:00:00 2001 From: Mark Veidemanis Date: Thu, 21 Jul 2022 22:22:20 +0100 Subject: [PATCH] Begin work on the management panel --- core/templates/base.html | 120 ++++++++++++++++++++++++++++ core/templates/manage/overview.html | 9 +++ core/views/manage/permissions.py | 6 ++ core/views/manage/threshold.py | 0 4 files changed, 135 insertions(+) create mode 100644 core/templates/manage/overview.html create mode 100644 core/views/manage/permissions.py create mode 100644 core/views/manage/threshold.py diff --git a/core/templates/base.html b/core/templates/base.html index e1fb172..0f413fd 100644 --- a/core/templates/base.html +++ b/core/templates/base.html @@ -37,6 +37,37 @@ @@ -64,6 +95,95 @@ Billing {% endif %} + {% if user.is_superuser %} + + {% endif %} {% if user.is_authenticated %}