gva/gnuviechadmin/templates/account/login.html
Jan Dittberner 8e42cb9c18 Start switch to Bootstrap 5
- 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
2023-04-16 22:11:32 +02:00

33 lines
1.4 KiB
HTML

{% extends "account/base.html" %}
{% load account socialaccount crispy_forms_tags i18n %}
{% block title %}{{ block.super }} - {% translate "Sign In" %}{% endblock title %}
{% block page_title %}{% translate "Sign In" %}{% endblock page_title %}
{% block content %}
{% get_providers as socialaccount_providers %}
<div class="row">
<div class="col-lg-6 col-12">
<form class="login form" method="POST" action="{% url 'account_login' %}">
{% csrf_token %}
{{ form | crispy }}
{% if redirect_field_value %}
<input type="hidden" name="{{ redirect_field_name }}" value="{{ redirect_field_value }}"/>
{% endif %}
<a class="btn btn-default" href="{% url 'account_reset_password' %}">{% translate "Forgot Password?" %}</a>
<button class="btn btn-primary" type="submit">{% translate "Sign In" %}</button>
</form>
</div>
<div class="col-lg-6 col-12">
{% if socialaccount_providers %}
<ul class="list-inline">
{% include "socialaccount/snippets/provider_list.html" with process="login" %}
</ul>
{% endif %}
</div>
</div>
{% endblock %}
{% block extra_js %}
{% include "socialaccount/snippets/login_extra.html" %}
{% endblock extra_js %}