From 8d6988da1666bf422de05a47ef00f095ed14b9f4 Mon Sep 17 00:00:00 2001 From: Son NK Date: Sun, 22 Dec 2019 08:26:20 +0000 Subject: [PATCH] add warning message for social login options. --- app/auth/templates/auth/login.html | 80 +++++++++++++++----------- app/auth/templates/auth/register.html | 81 ++++++++++++++++----------- 2 files changed, 95 insertions(+), 66 deletions(-) diff --git a/app/auth/templates/auth/login.html b/app/auth/templates/auth/login.html index cfd14b2a..d708a23a 100644 --- a/app/auth/templates/auth/login.html +++ b/app/auth/templates/auth/login.html @@ -30,50 +30,53 @@ {% endif %} -
- {{ form.csrf_token }} -
-
- - {{ form.email(class="form-control", type="email") }} - {{ render_field_errors(form.email) }} -
+
+ + {{ form.csrf_token }} +
+
+ + {{ form.email(class="form-control", type="email") }} + {{ render_field_errors(form.email) }} +
-
- - {{ form.password(class="form-control", type="password") }} - {{ render_field_errors(form.password) }} -
+
+ + {{ form.password(class="form-control", type="password") }} + {{ render_field_errors(form.password) }} +
- + - + + +
+ Don't have an account yet? Sign up
- - -
- Don't have an account yet? Sign up
-
OR
+
Or with social login +
@@ -90,8 +93,19 @@ Sign in with Facebook
+
+ + We don't use the Facebook/Google SDK to avoid their trackers.
+ + However when using a social login button, please keep in mind that this social network will know that + you are using SimpleLogin. + + Warning + +
+
diff --git a/app/auth/templates/auth/register.html b/app/auth/templates/auth/register.html index 6e196a6f..924de075 100644 --- a/app/auth/templates/auth/register.html +++ b/app/auth/templates/auth/register.html @@ -18,51 +18,55 @@
-
- {{ form.csrf_token }} -
-
- - {{ form.name(class="form-control") }} - {{ render_field_errors(form.name) }} -
+
+ + {{ form.csrf_token }} +
+
+ + {{ form.name(class="form-control") }} + {{ render_field_errors(form.name) }} +
-
- - {{ form.email(class="form-control", type="email") }} - {{ render_field_errors(form.email) }} -
+
+ + {{ form.email(class="form-control", type="email") }} + {{ render_field_errors(form.email) }} +
-
- - {{ form.password(class="form-control", type="password") }} - {{ render_field_errors(form.password) }} -
+
+ + {{ form.password(class="form-control", type="password") }} + {{ render_field_errors(form.password) }} +
- + - + + +
+ Already have account? Sign in
- - -
- Already have account? Sign in
+ +
-
OR
+
Or with social login
@@ -80,6 +84,17 @@
+
+ + We don't use the Facebook/Google SDK to avoid their trackers.
+ + However when using a social login button, please keep in mind that this social network will know that + you are using SimpleLogin. + + Warning + +
+