From 2f50efb5d43d24f4921b9710bdb83a5a37173aa6 Mon Sep 17 00:00:00 2001 From: Midgard Date: Wed, 22 Jul 2020 14:06:16 +0200 Subject: [PATCH] Layout be less bad --- templates/base.html | 74 ++++++++++++++++++------------------ users/templates/profile.html | 49 +++++++----------------- 2 files changed, 50 insertions(+), 73 deletions(-) diff --git a/templates/base.html b/templates/base.html index 09dadd7..a818a26 100644 --- a/templates/base.html +++ b/templates/base.html @@ -6,6 +6,12 @@ {% block title %}Zeus WPI Kelderregistratiesysteem™{% endblock %} {% block styles %}{% endblock %}

Zeus WPI Kelderregistratiesysteem™

+
{% block content %}{% endblock %} - +
+ diff --git a/users/templates/profile.html b/users/templates/profile.html index d2ba0cb..b83aed3 100644 --- a/users/templates/profile.html +++ b/users/templates/profile.html @@ -2,42 +2,19 @@ {% block title %}KeRS - Profile{% endblock %} -{% block styles %} - -{% endblock %} - {% block content %} -
-

Profile

- {% if user.is_authenticated %} -

Username: {{ username }}

- - - - - - Logout - {% else %} -

Not logged in

- Login - {% endif %} -
+

Profile

+ {% if user.is_authenticated %} +

Username: {{ username }}

+ + + + + + Logout + {% else %} +

Not logged in

+ Login + {% endif %} {% endblock %}