From 7a4f561e851fdc7246d804c3abb6748b8a4199a6 Mon Sep 17 00:00:00 2001 From: gnowgi Date: Thu, 15 Mar 2012 16:19:20 +0530 Subject: master trunk of gnowsys-studio --- gstudio/templates/registration/activate.html | 18 ++++++++++++++++++ gstudio/templates/registration/activation_email.txt | 6 ++++++ .../registration/activation_email_subject.txt | 1 + gstudio/templates/registration/login.html | 14 ++++++++++++++ gstudio/templates/registration/logout.html | 7 +++++++ .../templates/registration/password_change_done.html | 6 ++++++ .../templates/registration/password_change_form.html | 10 ++++++++++ .../registration/password_reset_complete.html | 10 ++++++++++ .../registration/password_reset_confirm.html | 20 ++++++++++++++++++++ .../templates/registration/password_reset_done.html | 6 ++++++ .../templates/registration/password_reset_email.html | 5 +++++ .../templates/registration/password_reset_form.html | 10 ++++++++++ .../registration/registration_complete.html | 6 ++++++ .../templates/registration/registration_form.html | 10 ++++++++++ 14 files changed, 129 insertions(+) create mode 100644 gstudio/templates/registration/activate.html create mode 100644 gstudio/templates/registration/activation_email.txt create mode 100644 gstudio/templates/registration/activation_email_subject.txt create mode 100644 gstudio/templates/registration/login.html create mode 100644 gstudio/templates/registration/logout.html create mode 100644 gstudio/templates/registration/password_change_done.html create mode 100644 gstudio/templates/registration/password_change_form.html create mode 100644 gstudio/templates/registration/password_reset_complete.html create mode 100644 gstudio/templates/registration/password_reset_confirm.html create mode 100644 gstudio/templates/registration/password_reset_done.html create mode 100644 gstudio/templates/registration/password_reset_email.html create mode 100644 gstudio/templates/registration/password_reset_form.html create mode 100644 gstudio/templates/registration/registration_complete.html create mode 100644 gstudio/templates/registration/registration_form.html (limited to 'gstudio/templates/registration') diff --git a/gstudio/templates/registration/activate.html b/gstudio/templates/registration/activate.html new file mode 100644 index 0000000..e85121e --- /dev/null +++ b/gstudio/templates/registration/activate.html @@ -0,0 +1,18 @@ +{% extends "base.html" %} +{% load i18n %} + +{% block content %} + +{% if account %} + +

{% trans "Account successfully activated" %}

+ +

{% trans "Log in" %}

+ +{% else %} + +

{% trans "Account activation failed" %}

+ +{% endif %} + +{% endblock %} diff --git a/gstudio/templates/registration/activation_email.txt b/gstudio/templates/registration/activation_email.txt new file mode 100644 index 0000000..b300359 --- /dev/null +++ b/gstudio/templates/registration/activation_email.txt @@ -0,0 +1,6 @@ +{% load i18n %} +{% trans "Activate account at" %} {{ site.name }}: + +http://{{ site.domain }}{% url registration_activate activation_key %} + +{% blocktrans %}Link is valid for {{ expiration_days }} days.{% endblocktrans %} diff --git a/gstudio/templates/registration/activation_email_subject.txt b/gstudio/templates/registration/activation_email_subject.txt new file mode 100644 index 0000000..24f477c --- /dev/null +++ b/gstudio/templates/registration/activation_email_subject.txt @@ -0,0 +1 @@ +{% load i18n %}{% trans "Account activation on" %} {{ site.name }} diff --git a/gstudio/templates/registration/login.html b/gstudio/templates/registration/login.html new file mode 100644 index 0000000..4e0d763 --- /dev/null +++ b/gstudio/templates/registration/login.html @@ -0,0 +1,14 @@ +{% extends "base.html" %} +{% load i18n %} + +{% block content %} +
+{% csrf_token %} {{ form.as_p }} + + + +
+ +

{% trans "Forgot password" %}? {% trans "Reset it" %}!

+

{% trans "Not member" %}? {% trans "Register" %}!

+{% endblock %} diff --git a/gstudio/templates/registration/logout.html b/gstudio/templates/registration/logout.html new file mode 100644 index 0000000..fe17eba --- /dev/null +++ b/gstudio/templates/registration/logout.html @@ -0,0 +1,7 @@ +{% extends "base.html" %} +{% load i18n %} + +{% block content %} +

{% trans "Logged out" %}

+ {% trans 'Login again' %} +{% endblock %} diff --git a/gstudio/templates/registration/password_change_done.html b/gstudio/templates/registration/password_change_done.html new file mode 100644 index 0000000..659be0a --- /dev/null +++ b/gstudio/templates/registration/password_change_done.html @@ -0,0 +1,6 @@ +{% extends "base.html" %} +{% load i18n %} + +{% block content %} +

{% trans "Password changed" %}

+{% endblock %} diff --git a/gstudio/templates/registration/password_change_form.html b/gstudio/templates/registration/password_change_form.html new file mode 100644 index 0000000..a640aa6 --- /dev/null +++ b/gstudio/templates/registration/password_change_form.html @@ -0,0 +1,10 @@ +{% extends "base.html" %} +{% load i18n %} + +{% block content %} +
+{% csrf_token %} {{ form.as_p }} + + +
+{% endblock %} diff --git a/gstudio/templates/registration/password_reset_complete.html b/gstudio/templates/registration/password_reset_complete.html new file mode 100644 index 0000000..ef3637c --- /dev/null +++ b/gstudio/templates/registration/password_reset_complete.html @@ -0,0 +1,10 @@ +{% extends "base.html" %} +{% load i18n %} + +{% block content %} + +

{% trans "Password reset successfully" %}

+ +

{% trans "Log in" %}

+ +{% endblock %} diff --git a/gstudio/templates/registration/password_reset_confirm.html b/gstudio/templates/registration/password_reset_confirm.html new file mode 100644 index 0000000..3990f06 --- /dev/null +++ b/gstudio/templates/registration/password_reset_confirm.html @@ -0,0 +1,20 @@ +{% extends "base.html" %} +{% load i18n %} + +{% block content %} + +{% if validlink %} + +
+{% csrf_token %} {{ form.as_p }} + + +
+ +{% else %} + +

{% trans "Password reset failed" %}

+ +{% endif %} + +{% endblock %} diff --git a/gstudio/templates/registration/password_reset_done.html b/gstudio/templates/registration/password_reset_done.html new file mode 100644 index 0000000..6057ccb --- /dev/null +++ b/gstudio/templates/registration/password_reset_done.html @@ -0,0 +1,6 @@ +{% extends "base.html" %} +{% load i18n %} + +{% block content %} +

{% trans "Email with password reset instructions has been sent." %}

+{% endblock %} diff --git a/gstudio/templates/registration/password_reset_email.html b/gstudio/templates/registration/password_reset_email.html new file mode 100644 index 0000000..a55c869 --- /dev/null +++ b/gstudio/templates/registration/password_reset_email.html @@ -0,0 +1,5 @@ +{% load i18n %} +{% blocktrans %}Reset password at {{ site_name }}{% endblocktrans %}: +{% block reset_link %} +{{ protocol }}://{{ domain }}{% url auth_password_reset_confirm uidb36=uid, token=token %} +{% endblock %} diff --git a/gstudio/templates/registration/password_reset_form.html b/gstudio/templates/registration/password_reset_form.html new file mode 100644 index 0000000..a640aa6 --- /dev/null +++ b/gstudio/templates/registration/password_reset_form.html @@ -0,0 +1,10 @@ +{% extends "base.html" %} +{% load i18n %} + +{% block content %} +
+{% csrf_token %} {{ form.as_p }} + + +
+{% endblock %} diff --git a/gstudio/templates/registration/registration_complete.html b/gstudio/templates/registration/registration_complete.html new file mode 100644 index 0000000..3d3d950 --- /dev/null +++ b/gstudio/templates/registration/registration_complete.html @@ -0,0 +1,6 @@ +{% extends "base.html" %} +{% load i18n %} + +{% block content %} +

{% trans "You are now registered. Activation email sent." %}

+{% endblock %} diff --git a/gstudio/templates/registration/registration_form.html b/gstudio/templates/registration/registration_form.html new file mode 100644 index 0000000..a640aa6 --- /dev/null +++ b/gstudio/templates/registration/registration_form.html @@ -0,0 +1,10 @@ +{% extends "base.html" %} +{% load i18n %} + +{% block content %} +
+{% csrf_token %} {{ form.as_p }} + + +
+{% endblock %} -- cgit v1.1