first commit
This commit is contained in:
5
templates/allauth/elements/alert.html
Executable file
5
templates/allauth/elements/alert.html
Executable file
@@ -0,0 +1,5 @@
|
||||
{% load allauth %}
|
||||
<p>
|
||||
{% slot message %}
|
||||
{% endslot %}
|
||||
</p>
|
||||
5
templates/allauth/elements/badge.html
Executable file
5
templates/allauth/elements/badge.html
Executable file
@@ -0,0 +1,5 @@
|
||||
{% load allauth %}
|
||||
<strong {% if attrs.title %}title="{{ attrs.title }}"{% endif %}>
|
||||
{% slot %}
|
||||
{% endslot %}
|
||||
</strong>
|
||||
13
templates/allauth/elements/button.html
Executable file
13
templates/allauth/elements/button.html
Executable 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.id %}id="{{ attrs.id }}"{% endif %}
|
||||
>
|
||||
{% slot %}
|
||||
{% endslot %}
|
||||
</{% if attrs.href %}a{% else %}button{% endif %}>
|
||||
5
templates/allauth/elements/button_group.html
Executable file
5
templates/allauth/elements/button_group.html
Executable file
@@ -0,0 +1,5 @@
|
||||
{% load allauth %}
|
||||
<div>
|
||||
{% slot %}
|
||||
{% endslot %}
|
||||
</div>
|
||||
47
templates/allauth/elements/field.html
Executable file
47
templates/allauth/elements/field.html
Executable file
@@ -0,0 +1,47 @@
|
||||
{% load allauth %}
|
||||
{{ attrs.errors }}
|
||||
<p>
|
||||
{% if attrs.type == "textarea" %}
|
||||
<label for="{{ attrs.id }}">
|
||||
{% slot label %}
|
||||
{% endslot %}
|
||||
</label>
|
||||
<textarea {% if attrs.required %}required{% endif %}
|
||||
{% if attrs.rows %}rows="{{ attrs.rows }}"{% endif %}
|
||||
{% if attrs.disabled %}disabled{% endif %}
|
||||
{% if attrs.readonly %}readonly{% endif %}
|
||||
{% if attrs.checked %}checked{% endif %}
|
||||
{% if attrs.name %}name="{{ attrs.name }}"{% endif %}
|
||||
{% if attrs.id %}id="{{ attrs.id }}"{% endif %}
|
||||
{% if attrs.placeholder %}placeholder="{{ attrs.placeholder }}"{% endif %}>{% slot value %}{% endslot %}</textarea>
|
||||
{% else %}
|
||||
{% if attrs.type != "checkbox" and attrs.type != "radio" %}
|
||||
<label for="{{ attrs.id }}">
|
||||
{% slot label %}
|
||||
{% endslot %}
|
||||
</label>
|
||||
{% endif %}
|
||||
<input {% if attrs.required %}required{% endif %}
|
||||
{% if attrs.disabled %}disabled{% endif %}
|
||||
{% if attrs.readonly %}readonly{% endif %}
|
||||
{% if attrs.checked %}checked{% endif %}
|
||||
{% if attrs.name %}name="{{ attrs.name }}"{% endif %}
|
||||
{% if attrs.id %}id="{{ attrs.id }}"{% endif %}
|
||||
{% if attrs.placeholder %}placeholder="{{ attrs.placeholder }}"{% endif %}
|
||||
{% if attrs.autocomplete %}autocomplete="{{ attrs.autocomplete }}"{% endif %}
|
||||
{% if attrs.value is not None %}value="{{ attrs.value }}"{% endif %}
|
||||
type="{{ attrs.type }}">
|
||||
{% if attrs.type == "checkbox" or attrs.type == "radio" %}
|
||||
<label for="{{ attrs.id }}">
|
||||
{% slot label %}
|
||||
{% endslot %}
|
||||
</label>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% if slots.help_text %}
|
||||
<span>
|
||||
{% slot help_text %}
|
||||
{% endslot %}
|
||||
</span>
|
||||
{% endif %}
|
||||
</p>
|
||||
1
templates/allauth/elements/fields.html
Executable file
1
templates/allauth/elements/fields.html
Executable file
@@ -0,0 +1 @@
|
||||
{{ attrs.form.as_p }}
|
||||
7
templates/allauth/elements/form.html
Executable file
7
templates/allauth/elements/form.html
Executable file
@@ -0,0 +1,7 @@
|
||||
{% load allauth %}
|
||||
<form method="{{ attrs.method }}" action="{{ attrs.action }}">
|
||||
{% slot body %}
|
||||
{% endslot %}
|
||||
{% slot actions %}
|
||||
{% endslot %}
|
||||
</form>
|
||||
1
templates/allauth/elements/h1.html
Executable file
1
templates/allauth/elements/h1.html
Executable file
@@ -0,0 +1 @@
|
||||
{% comment %} djlint:off {% endcomment %}{% load allauth %}<h1>{% slot %}{% endslot %}</h1>
|
||||
1
templates/allauth/elements/h2.html
Executable file
1
templates/allauth/elements/h2.html
Executable file
@@ -0,0 +1 @@
|
||||
{% comment %} djlint:off {% endcomment %}{% load allauth %}<h2>{% slot %}{% endslot %}</h2>
|
||||
1
templates/allauth/elements/hr.html
Executable file
1
templates/allauth/elements/hr.html
Executable file
@@ -0,0 +1 @@
|
||||
<hr>
|
||||
2
templates/allauth/elements/img.html
Executable file
2
templates/allauth/elements/img.html
Executable file
@@ -0,0 +1,2 @@
|
||||
<img src="{{ attrs.src }}"
|
||||
{% if attrs.alt %}alt="{{ attrs.alt }}"{% endif %}>
|
||||
1
templates/allauth/elements/p.html
Executable file
1
templates/allauth/elements/p.html
Executable file
@@ -0,0 +1 @@
|
||||
{% comment %} djlint:off {% endcomment %}{% load allauth %}<p>{% slot %}{% endslot %}</p>
|
||||
14
templates/allauth/elements/panel.html
Executable file
14
templates/allauth/elements/panel.html
Executable file
@@ -0,0 +1,14 @@
|
||||
{% load allauth %}
|
||||
<section>
|
||||
<h2>
|
||||
{% slot title %}
|
||||
{% endslot %}
|
||||
</h2>
|
||||
{% slot body %}
|
||||
{% endslot %}
|
||||
{% if slots.actions %}
|
||||
<ul>
|
||||
{% for action in slots.actions %}<li>{{ action }}</li>{% endfor %}
|
||||
</ul>
|
||||
{% endif %}
|
||||
</section>
|
||||
3
templates/allauth/elements/provider.html
Executable file
3
templates/allauth/elements/provider.html
Executable file
@@ -0,0 +1,3 @@
|
||||
<li>
|
||||
<a title="{{ attrs.name }}" href="{{ attrs.href }}">{{ attrs.name }}</a>
|
||||
</li>
|
||||
5
templates/allauth/elements/provider_list.html
Executable file
5
templates/allauth/elements/provider_list.html
Executable file
@@ -0,0 +1,5 @@
|
||||
{% load allauth %}
|
||||
<ul>
|
||||
{% slot %}
|
||||
{% endslot %}
|
||||
</ul>
|
||||
5
templates/allauth/elements/table.html
Executable file
5
templates/allauth/elements/table.html
Executable file
@@ -0,0 +1,5 @@
|
||||
{% load allauth %}
|
||||
<table>
|
||||
{% slot %}
|
||||
{% endslot %}
|
||||
</table>
|
||||
5
templates/allauth/elements/tbody.html
Executable file
5
templates/allauth/elements/tbody.html
Executable file
@@ -0,0 +1,5 @@
|
||||
{% load allauth %}
|
||||
<tbody>
|
||||
{% slot %}
|
||||
{% endslot %}
|
||||
</tbody>
|
||||
5
templates/allauth/elements/td.html
Executable file
5
templates/allauth/elements/td.html
Executable file
@@ -0,0 +1,5 @@
|
||||
{% load allauth %}
|
||||
<td {% if attrs.align %}align="{{ attrs.align }}"{% endif %}>
|
||||
{% slot %}
|
||||
{% endslot %}
|
||||
</td>
|
||||
5
templates/allauth/elements/th.html
Executable file
5
templates/allauth/elements/th.html
Executable file
@@ -0,0 +1,5 @@
|
||||
{% load allauth %}
|
||||
<th>
|
||||
{% slot %}
|
||||
{% endslot %}
|
||||
</th>
|
||||
5
templates/allauth/elements/thead.html
Executable file
5
templates/allauth/elements/thead.html
Executable file
@@ -0,0 +1,5 @@
|
||||
{% load allauth %}
|
||||
<thead>
|
||||
{% slot %}
|
||||
{% endslot %}
|
||||
</thead>
|
||||
5
templates/allauth/elements/tr.html
Executable file
5
templates/allauth/elements/tr.html
Executable file
@@ -0,0 +1,5 @@
|
||||
{% load allauth %}
|
||||
<tr>
|
||||
{% slot %}
|
||||
{% endslot %}
|
||||
</tr>
|
||||
Reference in New Issue
Block a user