From c49b7fd7c92d5dd3ccf2b401c1f5b6ac99ae8a71 Mon Sep 17 00:00:00 2001 From: Fergal Moran Date: Thu, 26 Sep 2013 22:15:09 +0100 Subject: [PATCH] Removed account templates --- templates/account/base.html | 3 - templates/account/email.html | 71 ------------------- templates/account/login.html | 30 -------- templates/account/logout.html | 21 ------ templates/account/password_change.html | 14 ---- templates/account/password_delete.html | 14 ---- templates/account/password_delete_done.html | 10 --- templates/account/password_reset.html | 30 -------- templates/account/password_reset_done.html | 16 ----- .../account/password_reset_from_key.html | 24 ------- .../account/password_reset_key_message.txt | 9 --- templates/account/password_set.html | 15 ---- templates/account/registration_form.html | 6 -- templates/account/signup.html | 28 -------- .../account/snippets/already_logged_in.html | 5 -- templates/account/user_details.html | 22 ------ templates/account/verification_sent.html | 12 ---- .../account/verified_email_required.html | 26 ------- 18 files changed, 356 deletions(-) delete mode 100755 templates/account/base.html delete mode 100755 templates/account/email.html delete mode 100755 templates/account/login.html delete mode 100755 templates/account/logout.html delete mode 100755 templates/account/password_change.html delete mode 100755 templates/account/password_delete.html delete mode 100755 templates/account/password_delete_done.html delete mode 100755 templates/account/password_reset.html delete mode 100755 templates/account/password_reset_done.html delete mode 100755 templates/account/password_reset_from_key.html delete mode 100755 templates/account/password_reset_key_message.txt delete mode 100755 templates/account/password_set.html delete mode 100755 templates/account/registration_form.html delete mode 100755 templates/account/signup.html delete mode 100755 templates/account/snippets/already_logged_in.html delete mode 100755 templates/account/user_details.html delete mode 100755 templates/account/verification_sent.html delete mode 100755 templates/account/verified_email_required.html diff --git a/templates/account/base.html b/templates/account/base.html deleted file mode 100755 index e428b9d..0000000 --- a/templates/account/base.html +++ /dev/null @@ -1,3 +0,0 @@ -{% extends "base.html" %} - - diff --git a/templates/account/email.html b/templates/account/email.html deleted file mode 100755 index f6882e6..0000000 --- a/templates/account/email.html +++ /dev/null @@ -1,71 +0,0 @@ -{% extends "account/base.html" %} - -{% load i18n %} -{% load url from future %} - -{% block head_title %}{% trans "Account" %}{% endblock %} - -{% block content %} -

{% trans "E-mail Addresses" %}

-{% if user.emailaddress_set.all %} -

{% trans 'The following e-mail addresses are associated to your account:' %}

- -
-{% csrf_token %} -
- - {% for emailaddress in user.emailaddress_set.all %} -
- -
- {% endfor %} - -
- - - -
- -
-
- -{% else %} -

{% trans 'Warning:'%} {% trans "You currently do not have any e-mail address set up. You should really add an e-mail address so you can receive notifications, reset your password, etc." %}

- -{% endif %} - - -

{% trans "Add E-mail Address" %}

- -
- {% csrf_token %} - {{ add_email_form.as_p}} - -
- -{% endblock %} - - -{% block extra_body %} - -{% endblock %} diff --git a/templates/account/login.html b/templates/account/login.html deleted file mode 100755 index a8abca5..0000000 --- a/templates/account/login.html +++ /dev/null @@ -1,30 +0,0 @@ -{% extends "account/base.html" %} -{% load account_tags %} -{% block head_title %}"Sign In"{% endblock %} -{% block content %} -
-

Login to Deep South Sounds

-
- -
-
Please note that using a social account does not give us access to your private information
-
-
-
-{% endblock %} diff --git a/templates/account/logout.html b/templates/account/logout.html deleted file mode 100755 index 57f85bb..0000000 --- a/templates/account/logout.html +++ /dev/null @@ -1,21 +0,0 @@ -{% extends "account/base.html" %} -{% load i18n %} -{% block head_title %}{% trans "Signed Out" %}{% endblock %} -{% block content %} -

{% trans "Signed Out" %}

-

{% trans "You have signed out." %}

- - {% if user.is_authenticated %} -

Authenticated

- {% else %} -

Not Authenticated

- {% endif %} - -{% endblock %} -{% block footerscripts %} - -{% endblock %} \ No newline at end of file diff --git a/templates/account/password_change.html b/templates/account/password_change.html deleted file mode 100755 index cf3d7b1..0000000 --- a/templates/account/password_change.html +++ /dev/null @@ -1,14 +0,0 @@ -{% extends "account/base.html" %} - -{% load i18n %} -{% block head_title %}{% trans "Change Password" %}{% endblock %} - -{% block content %} -

{% trans "Change Password" %}

- -
- {% csrf_token %} - {{ password_change_form.as_p }} - -
-{% endblock %} diff --git a/templates/account/password_delete.html b/templates/account/password_delete.html deleted file mode 100755 index ade1c48..0000000 --- a/templates/account/password_delete.html +++ /dev/null @@ -1,14 +0,0 @@ -{% extends "account/base.html" %} - -{% load i18n %} - -{% block head_title %}{% trans "Delete Password" %}{% endblock %} - -{% block content %} -

{% trans "Delete Password" %}

-

{% blocktrans %}You may delete your password since you are currently logged in using OpenID.{% endblocktrans %}

-
- {% csrf_token %} - -
-{% endblock %} diff --git a/templates/account/password_delete_done.html b/templates/account/password_delete_done.html deleted file mode 100755 index 5b23700..0000000 --- a/templates/account/password_delete_done.html +++ /dev/null @@ -1,10 +0,0 @@ -{% extends "account/base.html" %} - -{% load i18n %} - -{% block head_title %}{% trans "Password Deleted" %}{% endblock %} - -{% block content %} -

{% trans "Password Deleted" %}

-

{% blocktrans %}Your password has been deleted.{% endblocktrans %}

-{% endblock %} diff --git a/templates/account/password_reset.html b/templates/account/password_reset.html deleted file mode 100755 index 92ac0d0..0000000 --- a/templates/account/password_reset.html +++ /dev/null @@ -1,30 +0,0 @@ -{% extends "account/base.html" %} - -{% load i18n %} -{% load account_tags %} - -{% block head_title %}{% trans "Password Reset" %}{% endblock %} - -{% block content %} - -

{% trans "Password Reset" %}

- {% if user.is_authenticated %} - {% include "account/snippets/already_logged_in.html" %} - {% endif %} - -

{% trans "Forgotten your password? Enter your e-mail address below, and we'll send you an e-mail allowing you to reset it." %}

- -
- {% csrf_token %} - {{ password_reset_form.as_p }} - -
- -

{% blocktrans %}If you have any trouble resetting your password, contact us at {{ CONTACT_EMAIL }}.{% endblocktrans %}

-{% endblock %} - -{% block extra_body %} - -{% endblock %} diff --git a/templates/account/password_reset_done.html b/templates/account/password_reset_done.html deleted file mode 100755 index c9d946c..0000000 --- a/templates/account/password_reset_done.html +++ /dev/null @@ -1,16 +0,0 @@ -{% extends "account/base.html" %} - -{% load i18n %} -{% load account_tags %} - -{% block head_title %}{% trans "Password Reset" %}{% endblock %} - -{% block content %} -

{% trans "Password Reset" %}

- - {% if user.is_authenticated %} - {% include "account/snippets/already_logged_in.html" %} - {% endif %} - -

{% blocktrans %}We have sent you an e-mail. If you do not receive it within a few minutes, contact us at {{ CONTACT_EMAIL }}.{% endblocktrans %}

-{% endblock %} diff --git a/templates/account/password_reset_from_key.html b/templates/account/password_reset_from_key.html deleted file mode 100755 index 1c93c40..0000000 --- a/templates/account/password_reset_from_key.html +++ /dev/null @@ -1,24 +0,0 @@ -{% extends "account/base.html" %} - -{% load url from future %} -{% load i18n %} -{% block head_title %}{% trans "Change Password" %}{% endblock %} - -{% block content %} -

{% if token_fail %}{% trans "Bad Token" %}{% else %}{% trans "Change Password" %}{% endif %}

- - {% if token_fail %} - {% url 'account_reset_password' as passwd_reset_url %} -

{% blocktrans %}The password reset link was invalid, possibly because it has already been used. Please request a new password reset.{% endblocktrans %}

- {% else %} - {% if form %} -
- {% csrf_token %} - {{ form.as_p }} - -
- {% else %} -

{% trans 'Your password is now changed.' %}

- {% endif %} - {% endif %} -{% endblock %} diff --git a/templates/account/password_reset_key_message.txt b/templates/account/password_reset_key_message.txt deleted file mode 100755 index 1a39222..0000000 --- a/templates/account/password_reset_key_message.txt +++ /dev/null @@ -1,9 +0,0 @@ -{% load i18n %}{% blocktrans with site.domain as site_domain and user.username as username %}You're receiving this e-mail because you or someone else has requested a password for your user account at {{site_domain}}. -It can be safely ignored if you did not request a password reset. Click the link below to reset your password. - -{{password_reset_url}} - -In case you forgot, your username is {{username}}. - -Thanks for using our site! -{% endblocktrans %} diff --git a/templates/account/password_set.html b/templates/account/password_set.html deleted file mode 100755 index cf14619..0000000 --- a/templates/account/password_set.html +++ /dev/null @@ -1,15 +0,0 @@ -{% extends "account/base.html" %} - -{% load i18n %} - -{% block head_title %}{% trans "Set Password" %}{% endblock %} - -{% block content %} -

{% trans "Set Password" %}

- -
- {% csrf_token %} - {{ password_set_form.as_p }} - -
-{% endblock %} diff --git a/templates/account/registration_form.html b/templates/account/registration_form.html deleted file mode 100755 index 4390572..0000000 --- a/templates/account/registration_form.html +++ /dev/null @@ -1,6 +0,0 @@ -{%extends "base.html" %} -{% load crispy_forms_tags %} - -{% block content %} - {% crispy form %} -{% endblock %} \ No newline at end of file diff --git a/templates/account/signup.html b/templates/account/signup.html deleted file mode 100755 index 4b80968..0000000 --- a/templates/account/signup.html +++ /dev/null @@ -1,28 +0,0 @@ -{% extends "account/base.html" %} - -{% load url from future %} -{% load i18n %} - -{% block head_title %}{% trans "Signup" %}{% endblock %} - -{% block content %} -

{% trans "Sign Up" %}

- - {% if user.is_authenticated %} -{% include "account/snippets/already_logged_in.html" %} - {% else %} -

{% blocktrans %}Already have an account? Then please sign in.{% endblocktrans %}

- -
- {% csrf_token %} - {{ form.as_p }} - {% if redirect_field_value %} - - {% endif %} - -
- - {% endif %} -{% endblock %} - - diff --git a/templates/account/snippets/already_logged_in.html b/templates/account/snippets/already_logged_in.html deleted file mode 100755 index d038ef5..0000000 --- a/templates/account/snippets/already_logged_in.html +++ /dev/null @@ -1,5 +0,0 @@ -{% load i18n %} -{% load account_tags %} - -{% user_display user as user_display %} -

{% trans "Note" %}: {% blocktrans %}you are already logged in as {{ user_display }}.{% endblocktrans %}

diff --git a/templates/account/user_details.html b/templates/account/user_details.html deleted file mode 100755 index bc3a1da..0000000 --- a/templates/account/user_details.html +++ /dev/null @@ -1,22 +0,0 @@ -{%extends "base.html" %} -{% load crispy_forms_tags %} -{% block scripts %} - - - -{% endblock %} -{% block content %} -{% crispy form form.helper %} -{% endblock %} \ No newline at end of file diff --git a/templates/account/verification_sent.html b/templates/account/verification_sent.html deleted file mode 100755 index c59655c..0000000 --- a/templates/account/verification_sent.html +++ /dev/null @@ -1,12 +0,0 @@ -{% extends "account/base.html" %} - -{% load i18n %} - -{% block head_title %}{% trans "Verify Your E-mail Address" %}{% endblock %} - -{% block content %} -

{% trans "Verify Your E-mail Address" %}

- -

{% blocktrans %}We have sent you an e-mail to {{ email }} for verification. Follow the link provided to finalize the signup process. If you do not receive it within a few minutes, contact us at {{ CONTACT_EMAIL }}.{% endblocktrans %}

- -{% endblock %} diff --git a/templates/account/verified_email_required.html b/templates/account/verified_email_required.html deleted file mode 100755 index 634355c..0000000 --- a/templates/account/verified_email_required.html +++ /dev/null @@ -1,26 +0,0 @@ -{% extends "account/base.html" %} - -{% load url from future %} -{% load i18n %} - -{% block head_title %}{% trans "Verify Your E-mail Address" %}{% endblock %} - -{% block content %} -

{% trans "Verify Your E-mail Address" %}

- -{% url 'account_email' as email_url %} - -

{% blocktrans %}This part of the site requires us to verify that -you are who you claim to be. For this purpose, we require that you -verify ownership of your e-mail address. {% endblocktrans %}

- -

{% blocktrans %}We have sent an e-mail to you for -verification. Please click on the link inside this -e-mail. If you do not receive it within a few minutes, contact us -at {{ CONTACT_EMAIL }}. -{% endblocktrans %}

- -

{% blocktrans %}Note: you can still change your e-mail address.{% endblocktrans %}

- - -{% endblock %}