Skip to content

Commit 49ce196

Browse files
committed
improve the allauth layout
1 parent 5b9ab93 commit 49ce196

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

backend/templates/v2/allauth/layouts/base.html

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,4 @@
33

44
{% block title %}{% block head_title %}{% endblock head_title %}{% endblock %}
55

6-
{% block content_container %}
7-
<div class="container section tight-container">
8-
{% block content %}{% endblock content %}
9-
</div>
10-
{% endblock content_container %}
6+
{% block content %}{% endblock content %}

backend/templates/v2/socialaccount/login.html

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
{% extends "socialaccount/base_entrance.html" %}
2-
{% load i18n %}
3-
{% load allauth %}
2+
3+
{% load allauth i18n %}
4+
45
{% block head_title %}
56
{% trans "Sign In" %}
67
{% endblock head_title %}
8+
79
{% block content %}
810

911
{% comment %}
@@ -34,7 +36,7 @@ <h1 class="text-center text-gray-900 text-3xl font-bold leading-9 my-6">
3436
x-data="{ show: false }"
3537
x-show="show"
3638
x-init="$el.querySelector('button').click()"
37-
x-init="setTimeout(() => show = true, 10000)">
39+
x-init="setTimeout(() => show = true, 5000)">
3840

3941
{% element form method="post" no_visible_fields=True %}
4042
{% slot actions %}

0 commit comments

Comments
 (0)