From b683d8e8d8fb16557c2c8841eb68cfbd2ddd8ffb Mon Sep 17 00:00:00 2001 From: Raza Siddique Date: Fri, 8 Aug 2025 10:52:06 +0000 Subject: [PATCH 1/2] design GitHub login page --- website/templates/socialaccount/login.html | 37 ++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 website/templates/socialaccount/login.html diff --git a/website/templates/socialaccount/login.html b/website/templates/socialaccount/login.html new file mode 100644 index 0000000000..98221cfb00 --- /dev/null +++ b/website/templates/socialaccount/login.html @@ -0,0 +1,37 @@ +{% extends "base.html" %} +{% load i18n %} +{% block content %} +
+
+
+ +
+

{% trans "Connect GitHub" %}

+

{% trans "Continue with your GitHub account" %}

+ +
+ + + + +
+
+ +
+ {% csrf_token %} +
+

{% trans "You are about to connect your account with GitHub." %}

+ + +
+
+
+
+
+{% endblock %} From 0d475f0869a0bb1d8831de9683e4cf4b6f8e9862 Mon Sep 17 00:00:00 2001 From: Raza Siddique Date: Sat, 25 Oct 2025 05:29:25 +0000 Subject: [PATCH 2/2] Centralize allauth styling in base template --- website/templates/account/base.html | 11 ++++ website/templates/socialaccount/login.html | 62 ++++++++++------------ 2 files changed, 39 insertions(+), 34 deletions(-) create mode 100644 website/templates/account/base.html diff --git a/website/templates/account/base.html b/website/templates/account/base.html new file mode 100644 index 0000000000..ad365c50d7 --- /dev/null +++ b/website/templates/account/base.html @@ -0,0 +1,11 @@ +{% extends "base.html" %} +{% block content %} +
+
+
+ {% block account_content %} + {% endblock account_content %} +
+
+
+{% endblock content %} diff --git a/website/templates/socialaccount/login.html b/website/templates/socialaccount/login.html index 98221cfb00..b7465b76d9 100644 --- a/website/templates/socialaccount/login.html +++ b/website/templates/socialaccount/login.html @@ -1,37 +1,31 @@ -{% extends "base.html" %} +{% extends "account/base.html" %} {% load i18n %} -{% block content %} -
-
-
- -
-

{% trans "Connect GitHub" %}

-

{% trans "Continue with your GitHub account" %}

- -
- - - - -
-
- -
- {% csrf_token %} -
-

{% trans "You are about to connect your account with GitHub." %}

- - -
-
-
+{% block account_content %} + +
+

{% trans "Connect GitHub" %}

+

{% trans "Continue with your GitHub account" %}

+ +
+ + + +
-{% endblock %} + +
+ {% csrf_token %} +
+

{% trans "You are about to connect your account with GitHub." %}

+ + +
+
+{% endblock account_content %}