chore(accounts): Remove unused login view
This commit is contained in:
parent
bf5bce5fc5
commit
997fd254ca
2 changed files with 0 additions and 30 deletions
|
@ -21,7 +21,6 @@ from django.urls import include, path
|
||||||
from django.views.generic import TemplateView
|
from django.views.generic import TemplateView
|
||||||
|
|
||||||
urlpatterns = [
|
urlpatterns = [
|
||||||
path("login", TemplateView.as_view(template_name="login.html"), name="login"),
|
|
||||||
path("", include("dgsi.urls")),
|
path("", include("dgsi.urls")),
|
||||||
path("accounts/", include("allauth.urls")),
|
path("accounts/", include("allauth.urls")),
|
||||||
path("admin/", admin.site.urls),
|
path("admin/", admin.site.urls),
|
||||||
|
|
|
@ -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 %}
|
|
Loading…
Reference in a new issue