diff --git a/colab/accounts/templates/registration/login.html b/colab/accounts/templates/registration/login.html new file mode 100644 index 0000000..f6a8cca --- /dev/null +++ b/colab/accounts/templates/registration/login.html @@ -0,0 +1,56 @@ +{% extends "base.html" %} +{% load i18n %} +{% block main-content %} + + +
+ {% if form.errors %} +
+ {% trans "Please correct the errors below and try again" %} +
+ {% endif %} + + {% for error in form.non_field_errors %} +
+ {{ error }} +
+ {% endfor %} +
+ + +
+
+ {% csrf_token %} + +
+
+
+

{% trans 'Login' %}

+ +
+
+ {{ form.username.label_tag }} + + {{ form.username.errors }} +
+
+ {{ form.password.label_tag }} + + {{ form.password.errors }} +
+
+
+
+
+ +
+
+ +
+

{% trans 'Forgot Password?' %}

+
+ +
+ +{% endblock %} + diff --git a/colab/accounts/templates/registration/password_change_form_custom.html b/colab/accounts/templates/registration/password_change_form_custom.html new file mode 100644 index 0000000..7cdefc8 --- /dev/null +++ b/colab/accounts/templates/registration/password_change_form_custom.html @@ -0,0 +1,61 @@ +{% extends "base.html" %} +{% load i18n %} +{% block main-content %} + +
+ {% if form.errors %} +
+ + {% if form.errors.items|length == 1 %} + + {% trans "Please correct the error below and try again." %} + {% else %} + {% trans "Please correct the errors below and try again." %} + {% endif %} + +
+ {% endif %} +
+ +
+
+ {% csrf_token %} + +
+
+
+

{% trans 'Change Password' %}

+ +
+
+ {{ form.old_password.label_tag }} + + {{ form.old_password.errors }} +
+ +
+ {{ form.new_password1.label_tag }} + + {{ form.new_password1.errors }} +
+ +
+ {{ form.new_password2.label_tag }} + + {{ form.new_password2.errors }} +
+ +
+
+
+
+ +
+
+ +
+ +
+
+ +{% endblock %} diff --git a/colab/accounts/templates/registration/password_reset_complete_custom.html b/colab/accounts/templates/registration/password_reset_complete_custom.html new file mode 100644 index 0000000..e115899 --- /dev/null +++ b/colab/accounts/templates/registration/password_reset_complete_custom.html @@ -0,0 +1,8 @@ +{% extends "base.html" %} + +{% block title %}Password reset complete{% endblock %} + +{% block main-content %} +

Your password has been set. You may go ahead and log in now.

+

Log in

+{% endblock %} diff --git a/colab/accounts/templates/registration/password_reset_confirm_custom.html b/colab/accounts/templates/registration/password_reset_confirm_custom.html new file mode 100644 index 0000000..d7e267d --- /dev/null +++ b/colab/accounts/templates/registration/password_reset_confirm_custom.html @@ -0,0 +1,64 @@ +{% extends "base.html" %} +{% load i18n %} +{% block title %}{% trans "Setting New password" %}{% endblock %} +{% block main-content %} + {% if validlink %} + +
+ {% if form.errors %} +
+ + {% if form.errors.items|length == 1 %} + {% trans "Please correct the error below and try again." %} + {% else %} + + {% trans "Please correct the errors below and try again." %} + {% endif %} + +
+ {% endif %} +
+ +
+
+ {% csrf_token %} + +
+
+
+

{% trans 'Change Password' %}

+ +
+ +
+ {{ form.new_password1.label_tag }} + + {{ form.new_password1.errors }} +
+ +
+ {{ form.new_password2.label_tag }} + + {{ form.new_password2.errors }} +
+ +
+
+
+
+ +
+
+ +
+ +
+
+ {% else %} +

Password reset unsuccessful

+

The password reset link was invalid,
+ possibly because it has already been used.
+ Please request a new password reset.

+ {% endif %} + +{% endblock %} diff --git a/colab/accounts/templates/registration/password_reset_done_custom.html b/colab/accounts/templates/registration/password_reset_done_custom.html new file mode 100644 index 0000000..fac48c0 --- /dev/null +++ b/colab/accounts/templates/registration/password_reset_done_custom.html @@ -0,0 +1,8 @@ +{% extends "base.html" %} + +{% block title %}Password reset successful{% endblock %} + +{% block main-content %} +

We've e-mailed you instructions for setting your password to the e-mail address you submitted.

+

You should be receiving it shortly.

+{% endblock %} diff --git a/colab/accounts/templates/registration/password_reset_email_custom.html b/colab/accounts/templates/registration/password_reset_email_custom.html new file mode 100644 index 0000000..1c712cf --- /dev/null +++ b/colab/accounts/templates/registration/password_reset_email_custom.html @@ -0,0 +1,15 @@ +{% autoescape off %} +You're receiving this e-mail because you requested a password reset for your user account at {{ site_name }}. + +Please go to the following page and choose a new password: +{% block reset_link %} +{{ protocol }}://{{ domain }}{% url django.contrib.auth.views.password_reset_confirm uidb64=uid, token=token %} +{% endblock %} + +Your username, in case you've forgotten: {{ user.username }} + +Thanks for using our site! + +The {{ site_name }} team. + +{% endautoescape %} diff --git a/colab/accounts/templates/registration/password_reset_form_custom.html b/colab/accounts/templates/registration/password_reset_form_custom.html new file mode 100644 index 0000000..359478a --- /dev/null +++ b/colab/accounts/templates/registration/password_reset_form_custom.html @@ -0,0 +1,52 @@ +{% extends "base.html" %} +{% load i18n %} +{% block main-content %} + + +
+ {% if form.errors %} +
+ {% trans "Please correct the errors below and try again" %} +
+ {% endif %} +
+ +
+
+ {% csrf_token %} + +
+
+
+

{{ title }}

+
+
{% trans "Forgotten your password? Enter your email address below, and we'll email instructions for setting a new one." %}
+
+
+ + + {{ form.email.errors }} +
+
+
+
+
+ +
+
+

+
+
+ +
+ +{% endblock %} + + + + + + + + + diff --git a/src/accounts/templates/registration/login.html b/src/accounts/templates/registration/login.html deleted file mode 100644 index f6a8cca..0000000 --- a/src/accounts/templates/registration/login.html +++ /dev/null @@ -1,56 +0,0 @@ -{% extends "base.html" %} -{% load i18n %} -{% block main-content %} - - -
- {% if form.errors %} -
- {% trans "Please correct the errors below and try again" %} -
- {% endif %} - - {% for error in form.non_field_errors %} -
- {{ error }} -
- {% endfor %} -
- - -
-
- {% csrf_token %} - -
-
-
-

{% trans 'Login' %}

- -
-
- {{ form.username.label_tag }} - - {{ form.username.errors }} -
-
- {{ form.password.label_tag }} - - {{ form.password.errors }} -
-
-
-
-
- -
-
- -
-

{% trans 'Forgot Password?' %}

-
- -
- -{% endblock %} - diff --git a/src/accounts/templates/registration/password_change_form_custom.html b/src/accounts/templates/registration/password_change_form_custom.html deleted file mode 100644 index 7cdefc8..0000000 --- a/src/accounts/templates/registration/password_change_form_custom.html +++ /dev/null @@ -1,61 +0,0 @@ -{% extends "base.html" %} -{% load i18n %} -{% block main-content %} - -
- {% if form.errors %} -
- - {% if form.errors.items|length == 1 %} - - {% trans "Please correct the error below and try again." %} - {% else %} - {% trans "Please correct the errors below and try again." %} - {% endif %} - -
- {% endif %} -
- -
-
- {% csrf_token %} - -
-
-
-

{% trans 'Change Password' %}

- -
-
- {{ form.old_password.label_tag }} - - {{ form.old_password.errors }} -
- -
- {{ form.new_password1.label_tag }} - - {{ form.new_password1.errors }} -
- -
- {{ form.new_password2.label_tag }} - - {{ form.new_password2.errors }} -
- -
-
-
-
- -
-
- -
- -
-
- -{% endblock %} diff --git a/src/accounts/templates/registration/password_reset_complete_custom.html b/src/accounts/templates/registration/password_reset_complete_custom.html deleted file mode 100644 index e115899..0000000 --- a/src/accounts/templates/registration/password_reset_complete_custom.html +++ /dev/null @@ -1,8 +0,0 @@ -{% extends "base.html" %} - -{% block title %}Password reset complete{% endblock %} - -{% block main-content %} -

Your password has been set. You may go ahead and log in now.

-

Log in

-{% endblock %} diff --git a/src/accounts/templates/registration/password_reset_confirm_custom.html b/src/accounts/templates/registration/password_reset_confirm_custom.html deleted file mode 100644 index d7e267d..0000000 --- a/src/accounts/templates/registration/password_reset_confirm_custom.html +++ /dev/null @@ -1,64 +0,0 @@ -{% extends "base.html" %} -{% load i18n %} -{% block title %}{% trans "Setting New password" %}{% endblock %} -{% block main-content %} - {% if validlink %} - -
- {% if form.errors %} -
- - {% if form.errors.items|length == 1 %} - {% trans "Please correct the error below and try again." %} - {% else %} - - {% trans "Please correct the errors below and try again." %} - {% endif %} - -
- {% endif %} -
- -
-
- {% csrf_token %} - -
-
-
-

{% trans 'Change Password' %}

- -
- -
- {{ form.new_password1.label_tag }} - - {{ form.new_password1.errors }} -
- -
- {{ form.new_password2.label_tag }} - - {{ form.new_password2.errors }} -
- -
-
-
-
- -
-
- -
- -
-
- {% else %} -

Password reset unsuccessful

-

The password reset link was invalid,
- possibly because it has already been used.
- Please request a new password reset.

- {% endif %} - -{% endblock %} diff --git a/src/accounts/templates/registration/password_reset_done_custom.html b/src/accounts/templates/registration/password_reset_done_custom.html deleted file mode 100644 index fac48c0..0000000 --- a/src/accounts/templates/registration/password_reset_done_custom.html +++ /dev/null @@ -1,8 +0,0 @@ -{% extends "base.html" %} - -{% block title %}Password reset successful{% endblock %} - -{% block main-content %} -

We've e-mailed you instructions for setting your password to the e-mail address you submitted.

-

You should be receiving it shortly.

-{% endblock %} diff --git a/src/accounts/templates/registration/password_reset_email_custom.html b/src/accounts/templates/registration/password_reset_email_custom.html deleted file mode 100644 index 1c712cf..0000000 --- a/src/accounts/templates/registration/password_reset_email_custom.html +++ /dev/null @@ -1,15 +0,0 @@ -{% autoescape off %} -You're receiving this e-mail because you requested a password reset for your user account at {{ site_name }}. - -Please go to the following page and choose a new password: -{% block reset_link %} -{{ protocol }}://{{ domain }}{% url django.contrib.auth.views.password_reset_confirm uidb64=uid, token=token %} -{% endblock %} - -Your username, in case you've forgotten: {{ user.username }} - -Thanks for using our site! - -The {{ site_name }} team. - -{% endautoescape %} diff --git a/src/accounts/templates/registration/password_reset_form_custom.html b/src/accounts/templates/registration/password_reset_form_custom.html deleted file mode 100644 index 359478a..0000000 --- a/src/accounts/templates/registration/password_reset_form_custom.html +++ /dev/null @@ -1,52 +0,0 @@ -{% extends "base.html" %} -{% load i18n %} -{% block main-content %} - - -
- {% if form.errors %} -
- {% trans "Please correct the errors below and try again" %} -
- {% endif %} -
- -
-
- {% csrf_token %} - -
-
-
-

{{ title }}

-
-
{% trans "Forgotten your password? Enter your email address below, and we'll email instructions for setting a new one." %}
-
-
- - - {{ form.email.errors }} -
-
-
-
-
- -
-
-

-
-
- -
- -{% endblock %} - - - - - - - - - -- libgit2 0.21.2