1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2024-12-23 07:52:23 +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>
{% 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 %}
@ -13,4 +13,4 @@ SPDX-License-Identifier: GPL-3.0-or-later
{% block content %}
<p>{% trans "Thanks for spending some quality time with the Web site today." %}</p>
<p><a href="{% url 'index' %}">{% trans 'Log in again' %}</a></p>
{% endblock %}
{% endblock %}

View File

@ -1,8 +1,17 @@
{% extends "admin/login.html" %}
{% extends "base.html" %}
{% comment %}
SPDX-License-Identifier: GPL-2.0-or-later
{% endcomment %}
{% 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 %}
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 %}