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>
{% else%}
<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
</a>
</li>

View File

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

View File

@ -1,4 +1,4 @@
{% extends "admin/login.html" %}
{% extends "base.html" %}
{% comment %}
SPDX-License-Identifier: GPL-2.0-or-later
{% endcomment %}
@ -6,3 +6,12 @@ SPDX-License-Identifier: GPL-2.0-or-later
{% load i18n %}
{% 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 %}
SPDX-License-Identifier: GPL-3.0-or-later
{% endcomment %}

View File

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

View File

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

View File

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

View File

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

View File

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