diff --git a/templates/base.html b/templates/base.html index e9c4bc4..0171905 100644 --- a/templates/base.html +++ b/templates/base.html @@ -44,18 +44,6 @@
diff --git a/templates/registration/activate.html b/templates/registration/activate.html deleted file mode 100644 index ac5fb37..0000000 --- a/templates/registration/activate.html +++ /dev/null @@ -1,16 +0,0 @@ -{% extends "registration/registration_base.html" %} -{% load i18n %} - -{% block registration_content %} -{% trans "Account activation failed." %}
-{% endblock %} - - -{% comment %} -**registration/activate.html** - -Used if account activation fails. With the default setup, has the following context: - -``activation_key`` - The activation key used during the activation attempt. -{% endcomment %} diff --git a/templates/registration/activation_complete.html b/templates/registration/activation_complete.html deleted file mode 100644 index cf12988..0000000 --- a/templates/registration/activation_complete.html +++ /dev/null @@ -1,22 +0,0 @@ -{% extends "registration/registration_base.html" %} -{% load i18n %} - -{% block title %}{% trans "Account Activated" %}{% endblock %} - -{% block registration_content %} -- {% trans "Your account is now activated." %} - {% if not user.is_authenticated %} - {% trans "You can log in." %} - {% endif %} -
-{% endblock %} - - -{% comment %} -**registration/activation_complete.html** - -Used after successful account activation. This template has no context -variables of its own, and should simply inform the user that their -account is now active. -{% endcomment %} diff --git a/templates/registration/activation_email.html b/templates/registration/activation_email.html deleted file mode 100644 index c15b89d..0000000 --- a/templates/registration/activation_email.html +++ /dev/null @@ -1,77 +0,0 @@ -{% load i18n %} -{% load url from future %} - - - - -- {% blocktrans with site_name=site.name %} - You (or someone pretending to be you) have asked to register an account at - {{ site_name }}. If this wasn't you, please ignore this email - and your address will be removed from our records. - {% endblocktrans %} -
-- {% blocktrans %} - To activate this account, please click the following link within the next - {{ expiration_days }} days: - {% endblocktrans %} -
- -- - {{site.domain}}{% url 'registration_activate' activation_key %} - -
-- {% blocktrans with site_name=site.name %} - Sincerely, - {{ site_name }} Management - {% endblocktrans %} -
- - - - - -{% comment %} -**registration/activation_email.html** - -Used to generate the html body of the activation email. Should display a -link the user can click to activate the account. This template has the -following context: - -``activation_key`` - The activation key for the new account. - -``expiration_days`` - The number of days remaining during which the account may be - activated. - -``site`` - An object representing the site on which the user registered; - depending on whether ``django.contrib.sites`` is installed, this - may be an instance of either ``django.contrib.sites.models.Site`` - (if the sites application is installed) or - ``django.contrib.sites.models.RequestSite`` (if not). Consult `the - documentation for the Django sites framework -{% trans "Forgot your password?" %} {% trans "Reset it" %}. - {% trans "Not a member?" %} {% trans "Register" %}.
-{% trans "Successfully logged out" %}.
-{% endblock %} diff --git a/templates/registration/password_change_done.html b/templates/registration/password_change_done.html deleted file mode 100644 index 55e60e4..0000000 --- a/templates/registration/password_change_done.html +++ /dev/null @@ -1,11 +0,0 @@ -{% extends "registration/registration_base.html" %} -{% load i18n %} - -{% block title %}{% trans "Password changed" %}{% endblock %} - -{% block registration_content %} -{% trans "Password successfully changed!" %}
-{% endblock %} - - -{# This is used by django.contrib.auth #} diff --git a/templates/registration/password_change_form.html b/templates/registration/password_change_form.html deleted file mode 100644 index fb96ab3..0000000 --- a/templates/registration/password_change_form.html +++ /dev/null @@ -1,17 +0,0 @@ -{% extends "registration/registration_base.html" %} -{% load i18n %} -{% load bootstrap3 %} - -{% block title %}{% trans "Change password" %}{% endblock %} - -{% block registration_content %} - -{% endblock %} - - -{# This is used by django.contrib.auth #} diff --git a/templates/registration/password_reset_complete.html b/templates/registration/password_reset_complete.html deleted file mode 100644 index 1bd5d94..0000000 --- a/templates/registration/password_reset_complete.html +++ /dev/null @@ -1,14 +0,0 @@ -{% extends "registration/registration_base.html" %} -{% load i18n %} - -{% block title %}{% trans "Password reset complete" %}{% endblock %} - -{% block registration_content %} -- {% trans "Your password has been reset!" %} - {% trans "You may now" %} {% trans "log in" %}. -
-{% endblock %} - - -{# This is used by django.contrib.auth #} diff --git a/templates/registration/password_reset_confirm.html b/templates/registration/password_reset_confirm.html deleted file mode 100644 index 6b673f4..0000000 --- a/templates/registration/password_reset_confirm.html +++ /dev/null @@ -1,18 +0,0 @@ -{% extends "registration/registration_base.html" %} -{% load i18n %} -{% load bootstrap3 %} - -{% block title %}{% trans "Confirm password reset" %}{% endblock %} - -{% block registration_content %} -{% trans "Enter your new password below to reset your password:" %}
- -{% endblock %} - - -{# This is used by django.contrib.auth #} diff --git a/templates/registration/password_reset_done.html b/templates/registration/password_reset_done.html deleted file mode 100644 index be4e209..0000000 --- a/templates/registration/password_reset_done.html +++ /dev/null @@ -1,16 +0,0 @@ -{% extends "registration/registration_base.html" %} -{% load i18n %} - -{% block title %}{% trans "Password reset" %}{% endblock %} - -{% block registration_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 %} - - -{# This is used by django.contrib.auth #} diff --git a/templates/registration/password_reset_email.html b/templates/registration/password_reset_email.html deleted file mode 100644 index 67b0253..0000000 --- a/templates/registration/password_reset_email.html +++ /dev/null @@ -1,26 +0,0 @@ -{% load i18n %} -{% load url from future %} - -{% blocktrans %}Greetings{% endblocktrans %} {% 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. -{% endblocktrans %} - -{% blocktrans %} -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 %}Your username, in case you've forgotten:{% endblocktrans %} {{ user.username }} - - -{% blocktrans %}Best regards{% endblocktrans %}, -{{ site_name }} {% blocktrans %}Management{% endblocktrans %} - - -{# This is used by django.contrib.auth #} diff --git a/templates/registration/password_reset_form.html b/templates/registration/password_reset_form.html deleted file mode 100644 index 5280b18..0000000 --- a/templates/registration/password_reset_form.html +++ /dev/null @@ -1,18 +0,0 @@ -{% extends "registration/registration_base.html" %} -{% load i18n %} -{% load bootstrap3 %} - -{% block title %}{% trans "Reset password" %}{% endblock %} - -{% block registration_content %} -Forgot your password? Enter your email in the form below and we'll send you instructions for creating a new one.
- -{% endblock %} - - -{# This is used by django.contrib.auth #} diff --git a/templates/registration/registration_base.html b/templates/registration/registration_base.html deleted file mode 100644 index 16849d1..0000000 --- a/templates/registration/registration_base.html +++ /dev/null @@ -1,15 +0,0 @@ -{% extends "base.html" %} - -{% block extra_media %}{% load static %} - -{% endblock %} - -{% block navbarbrand %} -{{ site.domain }} -{% endblock %} - -{% block content %} -{% trans "Sorry, but registration is closed at this moment. Come back later." %}
-{% endblock %} diff --git a/templates/registration/registration_complete.html b/templates/registration/registration_complete.html deleted file mode 100644 index ce35bb0..0000000 --- a/templates/registration/registration_complete.html +++ /dev/null @@ -1,18 +0,0 @@ -{% extends "registration/registration_base.html" %} -{% load i18n %} - -{% block title %}{% trans "Activation email sent" %}{% endblock %} - -{% block registration_content %} -{% trans "Please check your email to complete the registration process." %}
-{% endblock %} - - -{% comment %} -**registration/registration_complete.html** - -Used after successful completion of the registration form. This -template has no context variables of its own, and should simply inform -the user that an email containing account-activation information has -been sent. -{% endcomment %} diff --git a/templates/registration/registration_form.html b/templates/registration/registration_form.html deleted file mode 100644 index d8a9721..0000000 --- a/templates/registration/registration_form.html +++ /dev/null @@ -1,27 +0,0 @@ -{% extends "registration/registration_base.html" %} -{% load i18n %} -{% load bootstrap3 %} - -{% block title %}{% trans "Register for an account" %}{% endblock %} - -{% block registration_content %} - -{% endblock %} - - -{% comment %} -**registration/registration_form.html** -Used to show the form users will fill out to register. By default, has -the following context: - -``form`` - The registration form. This will be an instance of some subclass - of ``django.forms.Form``; consult `Django's forms documentation -