From 7784c60c03ec277b456db6e2709383e302d9382b Mon Sep 17 00:00:00 2001 From: Tom van der Lee Date: Fri, 3 Jul 2026 15:49:08 +0200 Subject: Added basic oauth flow --- authentication/templates/authorize.html | 5 +++ authentication/templates/base.html | 63 +++++++++++++++++++++++++++++++++ authentication/templates/login.html | 18 ++++++++++ 3 files changed, 86 insertions(+) create mode 100644 authentication/templates/authorize.html create mode 100644 authentication/templates/base.html create mode 100644 authentication/templates/login.html (limited to 'authentication/templates') diff --git a/authentication/templates/authorize.html b/authentication/templates/authorize.html new file mode 100644 index 0000000..1ed6506 --- /dev/null +++ b/authentication/templates/authorize.html @@ -0,0 +1,5 @@ +{% extends "./base.html" %} + +{% block content %} +

AUTH

+{% endblock %} diff --git a/authentication/templates/base.html b/authentication/templates/base.html new file mode 100644 index 0000000..47d007e --- /dev/null +++ b/authentication/templates/base.html @@ -0,0 +1,63 @@ + + + + + TTUN + + + +
+ +
+ {% block content %}{% endblock %} + + diff --git a/authentication/templates/login.html b/authentication/templates/login.html new file mode 100644 index 0000000..fcba5cd --- /dev/null +++ b/authentication/templates/login.html @@ -0,0 +1,18 @@ +{% extends "./base.html" %} + +{% block content %} +
+ + + {% if errors and errors.username %} + {{ errors.username }} + {% endif %} + + + + {% if errors and errors.password%} + {{ errors.password }} + {% endif %} + +
+{% endblock %} -- cgit v1.2.3