From e186f735a728089f3120e51ac6f89ccf14d28a05 Mon Sep 17 00:00:00 2001 From: DaanoGames Date: Tue, 15 Apr 2025 10:54:26 +0200 Subject: [PATCH] admin register page --- application/dash/templates/admin.html | 24 ++++++++++++++++++++++++ application/templates/base_template.html | 17 ++++------------- 2 files changed, 28 insertions(+), 13 deletions(-) create mode 100644 application/dash/templates/admin.html diff --git a/application/dash/templates/admin.html b/application/dash/templates/admin.html new file mode 100644 index 0000000..dca647b --- /dev/null +++ b/application/dash/templates/admin.html @@ -0,0 +1,24 @@ +{% extends 'base_template.html' %} + +{% block title %} +Register +{% endblock %} + +{% block content %} +{% if feedback %} +

{{feedback}}

+{% endif %} + +
+ {{ form.hidden_tag() }} +
+ {{ form.username.label }}
{{ form.username() }} +
+
+ {{ form.password.label }}
{{ form.password() }} +
+
+ {{ form.submit() }} +
+
+{% endblock %} \ No newline at end of file diff --git a/application/templates/base_template.html b/application/templates/base_template.html index ba77c3d..8a77a90 100644 --- a/application/templates/base_template.html +++ b/application/templates/base_template.html @@ -30,20 +30,11 @@ - + {% endif %} {% if current_user.is_authenticated %} Logout