From 091fab154ab9d91292c39c7ffa8c3ae826581ac4 Mon Sep 17 00:00:00 2001 From: vabene1111 Date: Thu, 10 Mar 2022 15:24:13 +0100 Subject: [PATCH] improved openid and social auth pages --- cookbook/templates/openid/login.html | 39 +++++++++++++++++++ .../socialaccount/authentication_error.html | 33 ++++++++++++++++ 2 files changed, 72 insertions(+) create mode 100644 cookbook/templates/openid/login.html create mode 100644 cookbook/templates/socialaccount/authentication_error.html diff --git a/cookbook/templates/openid/login.html b/cookbook/templates/openid/login.html new file mode 100644 index 000000000..412f70b55 --- /dev/null +++ b/cookbook/templates/openid/login.html @@ -0,0 +1,39 @@ +{% extends "base.html" %} +{% load crispy_forms_filters %} +{% load i18n %} +{% load static %} + +{% load account socialaccount %} + +{% block title %}OpenID {% trans 'Login' %}{% endblock %} + +{% block content %} + + +
+
+

{% trans "Sign In" %}

+
+
+ + +
+
+
+ +
+
+ + + + +{% endblock %} + + diff --git a/cookbook/templates/socialaccount/authentication_error.html b/cookbook/templates/socialaccount/authentication_error.html new file mode 100644 index 000000000..a267106f6 --- /dev/null +++ b/cookbook/templates/socialaccount/authentication_error.html @@ -0,0 +1,33 @@ +{% extends "base.html" %} +{% load i18n %} +{% load static %} + +{% load account socialaccount %} + +{% block head_title %}{% trans "Social Network Login Failure" %}{% endblock %} + + +{% block content %} + + +
+
+

{% trans "Sign In" %}

+
+
+ + +
+
+
+
{% trans "Social Network Login Failure" %}
+ +

{% trans "An error occurred while attempting to login via your social network account." %}

+ + {% trans "Back" %} +
+
+ + + +{% endblock %}