From f91165d7b908b3378cdcf138b7bb3170ca8ce8bf Mon Sep 17 00:00:00 2001 From: Niko Abeler Date: Tue, 13 Jun 2023 20:24:54 +0200 Subject: [PATCH] more cleanup --- guild/templates/guild/home.html | 38 +++++++++++++++++++----------- guild/urls.py | 9 +++++++ guild/views/account.py | 0 guild/views/adventure.py | 1 + guild_journal/urls.py | 1 - templates/base.html | 11 +++++++++ templates/registration/login.html | 2 +- templates/registration/logout.html | 9 +++++++ 8 files changed, 55 insertions(+), 16 deletions(-) create mode 100644 guild/views/account.py create mode 100644 templates/registration/logout.html diff --git a/guild/templates/guild/home.html b/guild/templates/guild/home.html index c86e91c..1515846 100644 --- a/guild/templates/guild/home.html +++ b/guild/templates/guild/home.html @@ -3,19 +3,15 @@ {% block content %}

Home

- +
+
+

Adventures

+
+ +
-

Adventures

-

Characters

+
+
+

Characters

+
+ +
-

Players

+
+
+

Players

+
+ +
diff --git a/templates/registration/login.html b/templates/registration/login.html index 4e47fd6..46fffff 100644 --- a/templates/registration/login.html +++ b/templates/registration/login.html @@ -15,7 +15,7 @@ {% endif %} {% endif %} -
+ {% csrf_token %} {{form}} diff --git a/templates/registration/logout.html b/templates/registration/logout.html new file mode 100644 index 0000000..30e8e43 --- /dev/null +++ b/templates/registration/logout.html @@ -0,0 +1,9 @@ +{% extends "base.html" %} + +{% block content %} + +

Logged Out

+ +

You have been logged out. Log in again.

+ +{% endblock %} \ No newline at end of file