From 1c4eb6ba834cf2421afbb7a79993d692aa688ed9 Mon Sep 17 00:00:00 2001 From: Max Hohlfeld Date: Sat, 24 May 2025 22:39:35 +0200 Subject: [PATCH] feat: style navigation for mobile --- web/static/style.scss | 2 +- web/templates/index.html | 48 ++++++++++++++++++++- web/templates/user/forgot_password.html | 56 ++++++++++++++++--------- 3 files changed, 84 insertions(+), 22 deletions(-) diff --git a/web/static/style.scss b/web/static/style.scss index c8ea4075..f3be258e 100644 --- a/web/static/style.scss +++ b/web/static/style.scss @@ -35,7 +35,7 @@ $primary: $crimson, @forward "bulma/sass/layout/container"; @forward "bulma/sass/layout/level"; -@forward "bulma/sass/layout/section"; +@use "bulma/sass/layout/section" with ($section-padding: 1.5rem 1.5rem); @forward "bulma/sass/layout/hero"; @forward "bulma/sass/grid"; diff --git a/web/templates/index.html b/web/templates/index.html index ef3dedcb..6608cd14 100644 --- a/web/templates/index.html +++ b/web/templates/index.html @@ -4,7 +4,8 @@
-
+ + + +
+ + +
+ +
+ + +
+ + {% if user.role == Role::Admin %} +
+
+
+ +
+
+
+ {% endif %} +
diff --git a/web/templates/user/forgot_password.html b/web/templates/user/forgot_password.html index 993ba78b..e8bec298 100644 --- a/web/templates/user/forgot_password.html +++ b/web/templates/user/forgot_password.html @@ -2,26 +2,42 @@ {% block body %}
-
-

Brass - Passwort zurücksetzen

-
-
- Gib deine E-Mail Adresse ein und erhalte einen Link zum Zurücksetzen deines Passworts, sofern ein Account mit dieser Adresse existiert. Bei Problemen wende dich an {{ webmaster_email }}. -
-
-
-
- -
- -
-
+
+

Brass - Passwort zurücksetzen

+
+
+ Gib deine E-Mail Adresse ein und erhalte einen Link zum Zurücksetzen deines Passworts, sofern ein Account mit + dieser Adresse existiert. Bei Problemen wende dich an {{ webmaster_email + }}. +
+
+ +
+ +
+ +
+
- - -
+
+
+ +
+ +
+ +
{% endblock %}