1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2024-11-27 02:43:01 +00:00

move all templates to use base.html

This commit is contained in:
Pierre-antoine Comby 2019-08-11 16:21:59 +02:00
parent 4a732498b9
commit fbc6570eb6
9 changed files with 20 additions and 11 deletions

View File

@ -55,7 +55,7 @@
</li> </li>
{% else%} {% else%}
<li class="nav-item active"> <li class="nav-item active">
<a class="nav-link" href="{% url 'signup' %}"> <a class="nav-link" href="{% url 'member:signup' %}">
<i class="fa fa-user-plus"></i> S'inscrire <i class="fa fa-user-plus"></i> S'inscrire
</a> </a>
</li> </li>

View File

@ -1,4 +1,4 @@
{% extends "registration/logged_out.html" %} {% extends "base.html" %}
{% comment %} {% comment %}
SPDX-License-Identifier: GPL-3.0-or-later SPDX-License-Identifier: GPL-3.0-or-later
{% endcomment %} {% endcomment %}

View File

@ -1,4 +1,4 @@
{% extends "admin/login.html" %} {% extends "base.html" %}
{% comment %} {% comment %}
SPDX-License-Identifier: GPL-2.0-or-later SPDX-License-Identifier: GPL-2.0-or-later
{% endcomment %} {% endcomment %}
@ -6,3 +6,12 @@ SPDX-License-Identifier: GPL-2.0-or-later
{% load i18n %} {% load i18n %}
{% block title %}{% trans "Log in" %}{% endblock %} {% block title %}{% trans "Log in" %}{% endblock %}
{% block content %}
<h2>Login</h2>
<form method="post">
{% csrf_token %}
{{ form.as_p }}
<button type="submit">Login</button>
</form>
{% endblock %}

View File

@ -1,4 +1,4 @@
{% extends "registration/password_change_done.html" %} {% extends "base.html" %}
{% comment %} {% comment %}
SPDX-License-Identifier: GPL-3.0-or-later SPDX-License-Identifier: GPL-3.0-or-later
{% endcomment %} {% endcomment %}

View File

@ -1,4 +1,4 @@
{% extends "registration/password_change_form.html" %} {% extends "base.html" %}
{% comment %} {% comment %}
SPDX-License-Identifier: GPL-3.0-or-later SPDX-License-Identifier: GPL-3.0-or-later
{% endcomment %} {% endcomment %}

View File

@ -1,4 +1,4 @@
{% extends "registration/password_reset_complete.html" %} {% extends "base.html" %}
{% comment %} {% comment %}
SPDX-License-Identifier: GPL-3.0-or-later SPDX-License-Identifier: GPL-3.0-or-later
{% endcomment %} {% endcomment %}

View File

@ -1,4 +1,4 @@
{% extends "registration/password_reset_confirm.html" %} {% extends "base.html" %}
{% comment %} {% comment %}
SPDX-License-Identifier: GPL-3.0-or-later SPDX-License-Identifier: GPL-3.0-or-later
{% endcomment %} {% endcomment %}

View File

@ -1,4 +1,4 @@
{% extends "registration/password_reset_done.html" %} {% extends "base.html" %}
{% comment %} {% comment %}
SPDX-License-Identifier: GPL-3.0-or-later SPDX-License-Identifier: GPL-3.0-or-later
{% endcomment %} {% endcomment %}

View File

@ -1,4 +1,4 @@
{% extends "registration/password_reset_form.html" %} {% extends "base.html" %}
{% comment %} {% comment %}
SPDX-License-Identifier: GPL-3.0-or-later SPDX-License-Identifier: GPL-3.0-or-later
{% endcomment %} {% endcomment %}