From 43622ab18398e297c81c5f0dc5c0ec639b27f647 Mon Sep 17 00:00:00 2001 From: Fabian Weisshaar Date: Sun, 29 Dec 2013 22:56:07 +0100 Subject: [PATCH] remove login, password_change and password_reset template from old location --- .../templates/registration/login.html | 48 ------------------- .../registration/password_change.html | 15 ------ .../registration/password_change_done.html | 7 --- .../registration/password_reset_complete.html | 6 --- .../registration/password_reset_confirm.html | 12 ----- .../registration/password_reset_done.html | 9 ---- .../registration/password_reset_email.html | 17 ------- .../registration/password_reset_form.html | 13 ----- 8 files changed, 127 deletions(-) delete mode 100644 nsupdate/accounts/templates/registration/login.html delete mode 100644 nsupdate/accounts/templates/registration/password_change.html delete mode 100644 nsupdate/accounts/templates/registration/password_change_done.html delete mode 100644 nsupdate/accounts/templates/registration/password_reset_complete.html delete mode 100644 nsupdate/accounts/templates/registration/password_reset_confirm.html delete mode 100644 nsupdate/accounts/templates/registration/password_reset_done.html delete mode 100644 nsupdate/accounts/templates/registration/password_reset_email.html delete mode 100644 nsupdate/accounts/templates/registration/password_reset_form.html diff --git a/nsupdate/accounts/templates/registration/login.html b/nsupdate/accounts/templates/registration/login.html deleted file mode 100644 index 0744a91..0000000 --- a/nsupdate/accounts/templates/registration/login.html +++ /dev/null @@ -1,48 +0,0 @@ -{% extends "registration/registration_base.html" %} -{% load i18n %}{% load bootstrap %} -{% block title %}{% trans "Login" %}{% endblock %} -{% block content %} -
-
-

Login with a local Account

- {% if form.errors %} -

{% blocktrans %}Your username and password didn't match. Please try again.{% endblocktrans %}

- {% endif %} -
- {% csrf_token %} - {{ form|bootstrap }} -
- - -
- - -
-
-

Forgot your password?

-

- Request a password reset -

-

Don't have an account yet?

-

- Register an account -

-
-
-
-
-

Login with a remote Account

- -
-
-
-
-{% endblock %} diff --git a/nsupdate/accounts/templates/registration/password_change.html b/nsupdate/accounts/templates/registration/password_change.html deleted file mode 100644 index d8049c3..0000000 --- a/nsupdate/accounts/templates/registration/password_change.html +++ /dev/null @@ -1,15 +0,0 @@ -{% extends "registration/registration_base.html" %} -{% load i18n %}{% load bootstrap %} -{% block title %}{% trans "Change password" %}{% endblock %} -{% block content %} -

Change password

-
-
-
- {% csrf_token %} - {{ form|bootstrap }} - -
-
-
-{% endblock %} diff --git a/nsupdate/accounts/templates/registration/password_change_done.html b/nsupdate/accounts/templates/registration/password_change_done.html deleted file mode 100644 index d49d6cc..0000000 --- a/nsupdate/accounts/templates/registration/password_change_done.html +++ /dev/null @@ -1,7 +0,0 @@ -{% extends "registration/registration_base.html" %} -{% load i18n %} -{% block title %}{% trans "Password changed" %}{% endblock %} -{% block content %} -{% trans "Password successfully changed!" %} -{% endblock %} - diff --git a/nsupdate/accounts/templates/registration/password_reset_complete.html b/nsupdate/accounts/templates/registration/password_reset_complete.html deleted file mode 100644 index 064701e..0000000 --- a/nsupdate/accounts/templates/registration/password_reset_complete.html +++ /dev/null @@ -1,6 +0,0 @@ -{% extends "registration/registration_base.html" %} -{% load i18n %} -{% block title %}{% trans "Password reset complete" %}{% endblock %} -{% block content %}{% blocktrans %} -Your password has been reset! You may now log in. -{% endblocktrans %}{% endblock %} diff --git a/nsupdate/accounts/templates/registration/password_reset_confirm.html b/nsupdate/accounts/templates/registration/password_reset_confirm.html deleted file mode 100644 index 7ddc115..0000000 --- a/nsupdate/accounts/templates/registration/password_reset_confirm.html +++ /dev/null @@ -1,12 +0,0 @@ -{% extends "registration/registration_base.html" %} -{% load i18n %} -{% block title %}{% trans "Confirm password reset" %}{% endblock %} -{% block content %} -{% trans "Enter your new password below to reset your password:" %} -
{% csrf_token %} - - {{ form.as_table }} - -
-
-{% endblock %} diff --git a/nsupdate/accounts/templates/registration/password_reset_done.html b/nsupdate/accounts/templates/registration/password_reset_done.html deleted file mode 100644 index 9d283e3..0000000 --- a/nsupdate/accounts/templates/registration/password_reset_done.html +++ /dev/null @@ -1,9 +0,0 @@ -{% extends "registration/registration_base.html" %} -{% load i18n %} -{% block title %}{% trans "Password reset" %}{% endblock %} -{% block content %} -

-{% blocktrans %}We have sent you an email with a link to reset your password. -Please check your email and click the link to continue.{% endblocktrans %} -

-{% endblock %} diff --git a/nsupdate/accounts/templates/registration/password_reset_email.html b/nsupdate/accounts/templates/registration/password_reset_email.html deleted file mode 100644 index 287737f..0000000 --- a/nsupdate/accounts/templates/registration/password_reset_email.html +++ /dev/null @@ -1,17 +0,0 @@ -{% load i18n %}{% trans "Greetings" %} {% if user.get_full_name %}{{ user.get_full_name }}{% else %}{{ user }}{% endif %}, - -{% blocktrans %}You are receiving this email because you (or someone pretending to be you) -requested that your password be reset on the {{ domain }} site. If you do not -wish to reset your password, please ignore this message. - -To reset your password, please click the following link, or copy and paste it -into your web browser:{% endblocktrans %} - -{{ protocol }}://{{ domain }}{% url 'auth_password_reset_confirm' uid token %} - -{% blocktrans with username=user.username %} -Your username, in case you've forgotten: {{ username }} - -Best regards, -{{ site_name }} Management -{% endblocktrans %} \ No newline at end of file diff --git a/nsupdate/accounts/templates/registration/password_reset_form.html b/nsupdate/accounts/templates/registration/password_reset_form.html deleted file mode 100644 index 35811fe..0000000 --- a/nsupdate/accounts/templates/registration/password_reset_form.html +++ /dev/null @@ -1,13 +0,0 @@ -{% extends "registration/registration_base.html" %} -{% load i18n %} -{% block title %}{% trans "Reset password" %}{% endblock %} -{% block content %}{% blocktrans %} -Forgot your password? Enter your email in the form below and we'll send you -instructions for creating a new one.{% endblocktrans %} -
{% csrf_token %} - - {{ form }} - -
-
-{% endblock %}