From 90109fabc67e487e60e39f090d3cfce90af9564a Mon Sep 17 00:00:00 2001 From: Rogier Neeleman Date: Wed, 22 Jul 2020 16:36:28 +0200 Subject: [PATCH] Make the login pages a mobile aware page. --- app/templates/auth/login.html | 14 ++++++++------ app/templates/auth/register.html | 18 ++++++++++-------- app/templates/auth/user_hash_login.html | 18 ++++++++++++------ 3 files changed, 30 insertions(+), 20 deletions(-) diff --git a/app/templates/auth/login.html b/app/templates/auth/login.html index c345890..ec88b87 100644 --- a/app/templates/auth/login.html +++ b/app/templates/auth/login.html @@ -2,12 +2,14 @@ {% import 'bootstrap/wtf.html' as wtf %} {% block app_content %} -

Sign In

-
- {{ wtf.quick_form(form, button_map={'submit': 'primary'}) }} +
+
+

Sign In

+ {{ wtf.quick_form(form, button_map={'submit': 'primary'}) }} +
+

New User? Click to Register!

+
-
-

New User? Click to Register!

-{% endblock %} \ No newline at end of file +{% endblock %} diff --git a/app/templates/auth/register.html b/app/templates/auth/register.html index af31b5c..54eeb5a 100644 --- a/app/templates/auth/register.html +++ b/app/templates/auth/register.html @@ -2,12 +2,14 @@ {% import 'bootstrap/wtf.html' as wtf %} {% block app_content %} -

Register

-
-
- {{ wtf.quick_form(form, button_map={'submit': 'primary'}) }} -
+
+
+
+

Register

+ {{ wtf.quick_form(form, button_map={'submit': 'primary'}) }} +
+

Already have an account? Click to Sign In!

-
-

Already have an account? Click to Sign In!

-{% endblock %} \ No newline at end of file +
+
+{% endblock %} diff --git a/app/templates/auth/user_hash_login.html b/app/templates/auth/user_hash_login.html index cf1785f..4a4cd4a 100644 --- a/app/templates/auth/user_hash_login.html +++ b/app/templates/auth/user_hash_login.html @@ -2,13 +2,19 @@ {% import 'bootstrap/wtf.html' as wtf %} {% block app_content %} -

Welcome, {{ user.name }}!

-

+

+
+
+

Welcome, {{ user.name }}!

+

If you found this page, it probably means someone who is organising a hunt invited you by sending a link or QR-code to this page. You can start playing right away, if and if you get logged out just visit this page again. However, if you want to be sure other people can't steal this account, please set a password. -

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

+ + +
+
+
+{% endblock %}