Jan Dittberner
8e42cb9c18
- drop jQuery and fontawesome dependencies - add bootstrap5 and bootstrap-icons - update fonts mfizz - update base templates and the first set of other templates - replace blocktrans and trans with blocktranslate and translate to prepare for Django 4 - move hostingpakcage templates to hostingpackages/templates - update translations
24 lines
1 KiB
HTML
24 lines
1 KiB
HTML
{% load socialaccount %}
|
|
|
|
{% get_providers as socialaccount_providers %}
|
|
<ul class="list-unstyled">
|
|
{% for provider in socialaccount_providers %}
|
|
{% if provider.id == "openid" %}
|
|
{% for brand in provider.get_brands %}
|
|
<li>
|
|
<a title="{{ brand.name }}"
|
|
class="socialaccount_provider {{ provider.id }} {{ brand.id }}"
|
|
href="{% provider_login_url provider.id openid=brand.openid_url process=process %}"
|
|
>{{ brand.name }}</a>
|
|
</li>
|
|
{% endfor %}
|
|
{% endif %}
|
|
<li>
|
|
<a title="{{ provider.name }}"
|
|
class="socialaccount_provider {{ provider.id }}"
|
|
href="{% provider_login_url provider.id process=process scope=scope auth_params=auth_params %}"><i
|
|
class="{% if provider.id == 'google' %}bi-google{% elif provider.id == 'linkedin_oauth2' %}bi-linkedin{% endif %}"></i> {{ provider.name }}
|
|
</a>
|
|
</li>
|
|
{% endfor %}
|
|
</ul>
|