2025.10.06-03:08:05
This commit is contained in:
13
templates/allauth/elements/button.html
Normal file
13
templates/allauth/elements/button.html
Normal file
@@ -0,0 +1,13 @@
|
||||
{% load allauth %}
|
||||
{% comment %} djlint:off {% endcomment %}
|
||||
<{% if attrs.href %}a href="{{ attrs.href }}"{% else %}button{% endif %}
|
||||
{% if attrs.form %}form="{{ attrs.form }}"{% endif %}
|
||||
{% if attrs.id %}id="{{ attrs.id }}"{% endif %}
|
||||
{% if attrs.name %}name="{{ attrs.name }}"{% endif %}
|
||||
{% if attrs.value %}value="{{ attrs.value }}"{% endif %}
|
||||
{% if attrs.type %}type="{{ attrs.type }}"{% endif %}
|
||||
{% if attrs.class %}class="{{ attrs.class }}"{% endif %}
|
||||
>
|
||||
{% slot %}
|
||||
{% endslot %}
|
||||
</{% if attrs.href %}a{% else %}button{% endif %}>
|
||||
21
templates/allauth/elements/provider.html
Normal file
21
templates/allauth/elements/provider.html
Normal file
@@ -0,0 +1,21 @@
|
||||
{% load static %}
|
||||
{% if not attrs.name|lower == "openid" %}
|
||||
<li class="list-group-item">
|
||||
<a title="{{ attrs.name }}" href="{{ attrs.href }}" class="icon-link">
|
||||
{% if attrs.name|lower == "steam" %}
|
||||
<svg class="bi">
|
||||
<use xlink:href="{% static "img/bootstrap-icons.svg" %}#steam"></use>
|
||||
</svg>
|
||||
{% elif attrs.name|lower == "github" %}
|
||||
<svg class="bi">
|
||||
<use xlink:href="{% static "img/bootstrap-icons.svg" %}#github"></use>
|
||||
</svg>
|
||||
{% elif attrs.name|lower == "google" %}
|
||||
<svg class="bi">
|
||||
<use xlink:href="{% static "img/bootstrap-icons.svg" %}#google"></use>
|
||||
</svg>
|
||||
{% endif %}
|
||||
{{ attrs.name }}
|
||||
</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
5
templates/allauth/elements/provider_list.html
Normal file
5
templates/allauth/elements/provider_list.html
Normal file
@@ -0,0 +1,5 @@
|
||||
{% load allauth %}
|
||||
<ul class="list-group">
|
||||
{% slot %}
|
||||
{% endslot %}
|
||||
</ul>
|
||||
2
templates/allauth/layouts/base.html
Normal file
2
templates/allauth/layouts/base.html
Normal file
@@ -0,0 +1,2 @@
|
||||
{% extends 'base.html' %}
|
||||
|
||||
Reference in New Issue
Block a user