chore(accounts): Remove unused login view

This commit is contained in:
Tom Hubrecht 2024-09-26 16:11:06 +02:00
parent bf5bce5fc5
commit 997fd254ca
Signed by: thubrecht
SSH key fingerprint: SHA256:r+nK/SIcWlJ0zFZJGHtlAoRwq1Rm+WcKAm5ADYMoQPc
2 changed files with 0 additions and 30 deletions

View file

@ -21,7 +21,6 @@ from django.urls import include, path
from django.views.generic import TemplateView
urlpatterns = [
path("login", TemplateView.as_view(template_name="login.html"), name="login"),
path("", include("dgsi.urls")),
path("accounts/", include("allauth.urls")),
path("admin/", admin.site.urls),

View file

@ -1,29 +0,0 @@
{% extends "base.html" %}
{% load i18n socialaccount %}
{% block content %}
<div class="fixed-grid">
<div class="grid">
<a href="{% provider_login_url 'kanidm' %}"
class="cell has-background-primary-dark p-6 has-radius-normal has-text-centered has-text-white">
<span class="icon-text">
<span class="icon">
<i class="ti ti-login"></i>
</span>
<span><b>{% trans "Connexion via la DGNum" %}</b></span>
</span>
</a>
<a href="{% provider_login_url 'ens_cas' %}"
class="cell has-background-primary p-6 has-radius-normal has-text-centered has-text-white">
<span class="icon-text">
<span class="icon">
<i class="ti ti-login"></i>
</span>
<span><b>{% trans "Connexion via l'ENS" %}</b></span>
</span>
</a>
</div>
</div>
{% endblock content %}