-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(templates): Improve external stylability
Refactored the built-in templates, with the goal of being able to adjust the look and feel of the whole project by only overriding a few core templates. This approach allows you to achieve visual results fast, but is of course more limited compared to styling all templates yourself.
- Loading branch information
Showing
97 changed files
with
1,423 additions
and
1,354 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"custom_blocks": "element,slot" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 1 addition & 3 deletions
4
allauth/socialaccount/providers/facebook/templates/facebook/fbconnect.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,4 @@ | ||
{% load static %} | ||
<div id="fb-root"></div> | ||
<script id="allauth-facebook-settings" type="application/json"> | ||
{{ fb_data }} | ||
</script> | ||
<script id="allauth-facebook-settings" type="application/json">{{ fb_data }}</script> | ||
<script type="text/javascript" src="{% static 'facebook/js/fbconnect.js' %}"></script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
from django import forms | ||
from django.utils.html import mark_safe | ||
|
||
|
||
class LoginForm(forms.Form): | ||
openid = forms.URLField( | ||
label=("OpenID"), | ||
help_text=('Get an <a href="http://openidexplained.com/get">OpenID</a>'), | ||
help_text=mark_safe('Get an <a href="http://openidexplained.com/get">OpenID</a>'), | ||
) | ||
next = forms.CharField(widget=forms.HiddenInput, required=False) | ||
process = forms.CharField(widget=forms.HiddenInput, required=False) |
6 changes: 3 additions & 3 deletions
6
allauth/socialaccount/providers/telegram/templates/telegram/callback.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{% load static %} | ||
<html> | ||
<body> | ||
<script type="text/javascript" src="{% static 'telegram/js/telegram.js' %}"></script> | ||
</body> | ||
<body> | ||
<script type="text/javascript" src="{% static 'telegram/js/telegram.js' %}"></script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,12 @@ | ||
{% extends "account/base.html" %} | ||
|
||
{% extends "allauth/layouts/entrance.html" %} | ||
{% load i18n %} | ||
|
||
{% block head_title %}{% trans "Account Inactive" %}{% endblock head_title %} | ||
|
||
{% load allauth %} | ||
{% block head_title %} | ||
{% trans "Account Inactive" %} | ||
{% endblock head_title %} | ||
{% block content %} | ||
<h1>{% trans "Account Inactive" %}</h1> | ||
|
||
<p>{% trans "This account is inactive." %}</p> | ||
{% element h1 %} | ||
{% trans "Account Inactive" %} | ||
{% endelement %} | ||
<p>{% trans "This account is inactive." %}</p> | ||
{% endblock content %} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{% extends "allauth/layouts/entrance.html" %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{% extends "allauth/layouts/manage.html" %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{% extends "account/base_manage.html" %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{% extends "account/base_manage.html" %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.