Skip to content

Commit 98412a6

Browse files
committed
feat: Redesign social login, login cancelled page
1 parent 6b1a3a3 commit 98412a6

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed
Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,19 @@
11
{% extends "socialaccount/base.html" %}
22

3-
{% load i18n %}
3+
{% load static %}
44

5-
{% block head_title %}{% trans "Login Cancelled" %}{% endblock %}
5+
{% block head_title %}Login Cancelled{% endblock %}
66

7-
{% block content_header %}{% trans "Login Cancelled" %}{% endblock %}
7+
{% block header %}{% endblock %}
88

99
{% block content %}
10-
{% url 'account_login' as login_url %}
11-
12-
<p>{% blocktrans %}You decided to cancel logging in to our site using one of your existing accounts. If this was a mistake, please proceed to <a href="{{ login_url }}">sign in</a>.{% endblocktrans %}</p>
10+
<div class="w-[40rem] flex flex-col items-center justify-center mx-auto p-8 font-common shadow-sign-content rounded-lg">
11+
<h3>Login Cancelled</h3>
12+
<img class="w-42" src="{% static 'img/problem.png' %}"/>
13+
<p class="text-center my-2">You decided to cancel logging in to our site using one of your existing accounts. If this was a mistake, please proceed to sign in.</p>
14+
<a class="button" href="{% url 'account_login' %}">Sign In</a>
15+
</div>
1316

1417
{% endblock %}
18+
19+
{% block footer %}{% endblock %}

0 commit comments

Comments
 (0)