From e78ba492529117c0b87321ab92f8252c6619aa13 Mon Sep 17 00:00:00 2001 From: Alexandre Iooss Date: Mon, 10 Aug 2020 12:08:21 +0200 Subject: [PATCH] Override Django Registration templates --- .../templates/registration/logged_out.html | 0 .../templates/registration/login.html | 3 --- .../templates/registration/password_change_done.html | 0 .../templates/registration/password_change_form.html | 0 .../templates/registration/password_reset_complete.html | 0 .../templates/registration/password_reset_confirm.html | 0 .../templates/registration/password_reset_done.html | 0 .../templates/registration/password_reset_form.html | 0 .../templates/registration/signup.html | 0 9 files changed, 3 deletions(-) rename {apps/registration => note_kfet}/templates/registration/logged_out.html (100%) rename {apps/registration => note_kfet}/templates/registration/login.html (95%) rename {apps/registration => note_kfet}/templates/registration/password_change_done.html (100%) rename {apps/registration => note_kfet}/templates/registration/password_change_form.html (100%) rename {apps/registration => note_kfet}/templates/registration/password_reset_complete.html (100%) rename {apps/registration => note_kfet}/templates/registration/password_reset_confirm.html (100%) rename {apps/registration => note_kfet}/templates/registration/password_reset_done.html (100%) rename {apps/registration => note_kfet}/templates/registration/password_reset_form.html (100%) rename {apps/registration => note_kfet}/templates/registration/signup.html (100%) diff --git a/apps/registration/templates/registration/logged_out.html b/note_kfet/templates/registration/logged_out.html similarity index 100% rename from apps/registration/templates/registration/logged_out.html rename to note_kfet/templates/registration/logged_out.html diff --git a/apps/registration/templates/registration/login.html b/note_kfet/templates/registration/login.html similarity index 95% rename from apps/registration/templates/registration/login.html rename to note_kfet/templates/registration/login.html index d22203ef..7cdec5b3 100644 --- a/apps/registration/templates/registration/login.html +++ b/note_kfet/templates/registration/login.html @@ -4,9 +4,6 @@ SPDX-License-Identifier: GPL-2.0-or-later {% endcomment %} {% load i18n crispy_forms_tags static %} -{# Use a fixed-width container #} -{% block containertype %}container{% endblock %} - {# Change page title without displaying it in header #} {% block title %}{% trans "Log in" %}{% endblock %} {% block contenttitle %}{% endblock %} diff --git a/apps/registration/templates/registration/password_change_done.html b/note_kfet/templates/registration/password_change_done.html similarity index 100% rename from apps/registration/templates/registration/password_change_done.html rename to note_kfet/templates/registration/password_change_done.html diff --git a/apps/registration/templates/registration/password_change_form.html b/note_kfet/templates/registration/password_change_form.html similarity index 100% rename from apps/registration/templates/registration/password_change_form.html rename to note_kfet/templates/registration/password_change_form.html diff --git a/apps/registration/templates/registration/password_reset_complete.html b/note_kfet/templates/registration/password_reset_complete.html similarity index 100% rename from apps/registration/templates/registration/password_reset_complete.html rename to note_kfet/templates/registration/password_reset_complete.html diff --git a/apps/registration/templates/registration/password_reset_confirm.html b/note_kfet/templates/registration/password_reset_confirm.html similarity index 100% rename from apps/registration/templates/registration/password_reset_confirm.html rename to note_kfet/templates/registration/password_reset_confirm.html diff --git a/apps/registration/templates/registration/password_reset_done.html b/note_kfet/templates/registration/password_reset_done.html similarity index 100% rename from apps/registration/templates/registration/password_reset_done.html rename to note_kfet/templates/registration/password_reset_done.html diff --git a/apps/registration/templates/registration/password_reset_form.html b/note_kfet/templates/registration/password_reset_form.html similarity index 100% rename from apps/registration/templates/registration/password_reset_form.html rename to note_kfet/templates/registration/password_reset_form.html diff --git a/apps/registration/templates/registration/signup.html b/note_kfet/templates/registration/signup.html similarity index 100% rename from apps/registration/templates/registration/signup.html rename to note_kfet/templates/registration/signup.html