summaryrefslogtreecommitdiff
path: root/ishtar/templates/registration
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@peacefrogs.net>2012-10-18 17:49:57 +0200
committerÉtienne Loks <etienne.loks@peacefrogs.net>2012-10-18 17:51:30 +0200
commit7d2aa560ba859ebb593d34b062bf1faf09c8724c (patch)
tree4136673563f802d6de992512e3c4adde86ef2a4e /ishtar/templates/registration
parent615457617e65019e0ce39b585f4eeb41b17ba61a (diff)
downloadIshtar-7d2aa560ba859ebb593d34b062bf1faf09c8724c.tar.bz2
Ishtar-7d2aa560ba859ebb593d34b062bf1faf09c8724c.zip
Djangoization - Major refactoring (step 1)
Diffstat (limited to 'ishtar/templates/registration')
-rw-r--r--ishtar/templates/registration/activate.html18
-rw-r--r--ishtar/templates/registration/activation_email.txt6
-rw-r--r--ishtar/templates/registration/activation_email_subject.txt1
-rw-r--r--ishtar/templates/registration/login.html19
-rw-r--r--ishtar/templates/registration/logout.html8
-rw-r--r--ishtar/templates/registration/password_change_done.html8
-rw-r--r--ishtar/templates/registration/password_change_form.html14
-rw-r--r--ishtar/templates/registration/password_reset_complete.html10
-rw-r--r--ishtar/templates/registration/password_reset_confirm.html21
-rw-r--r--ishtar/templates/registration/password_reset_done.html8
-rw-r--r--ishtar/templates/registration/password_reset_email.html5
-rw-r--r--ishtar/templates/registration/password_reset_form.html15
-rw-r--r--ishtar/templates/registration/registration_complete.html8
-rw-r--r--ishtar/templates/registration/registration_form.html14
14 files changed, 0 insertions, 155 deletions
diff --git a/ishtar/templates/registration/activate.html b/ishtar/templates/registration/activate.html
deleted file mode 100644
index 0dcbccc00..000000000
--- a/ishtar/templates/registration/activate.html
+++ /dev/null
@@ -1,18 +0,0 @@
-{% extends "base.html" %}
-{% load i18n %}
-
-{% block content %}
-<div class='info'>
-{% if account %}
-
-<p>{% trans "Account successfully activated" %}</p>
-
-<p><a href="{% url auth_login %}">{% trans "Log in" %}</a></p>
-
-{% else %}
-
-<p>{% trans "Account activation failed" %}</p>
-
-{% endif %}
-</div>
-{% endblock %}
diff --git a/ishtar/templates/registration/activation_email.txt b/ishtar/templates/registration/activation_email.txt
deleted file mode 100644
index b30035969..000000000
--- a/ishtar/templates/registration/activation_email.txt
+++ /dev/null
@@ -1,6 +0,0 @@
-{% 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/ishtar/templates/registration/activation_email_subject.txt b/ishtar/templates/registration/activation_email_subject.txt
deleted file mode 100644
index 24f477cbb..000000000
--- a/ishtar/templates/registration/activation_email_subject.txt
+++ /dev/null
@@ -1 +0,0 @@
-{% load i18n %}{% trans "Account activation on" %} {{ site.name }}
diff --git a/ishtar/templates/registration/login.html b/ishtar/templates/registration/login.html
deleted file mode 100644
index ada4f6aa9..000000000
--- a/ishtar/templates/registration/login.html
+++ /dev/null
@@ -1,19 +0,0 @@
-{% extends "base.html" %}
-{% load i18n %}
-
-{% block content %}
-<div class='form'>
-<form method="post" action=".">{% csrf_token %}
-<table id='login'>
- <caption>{%trans "Log in"%}</caption>
-{{ form.as_table }}
- <tr class='submit'><td colspan='2'><input type="submit" value="{% trans 'Log in' %}" /></td></tr>
- <input type="hidden" name="next" value="{{ next }}" />
-</table>
-</form>
-</div>
-<div class='info'>
-<p>{% trans "Forgot password?" %} <a href="{% url auth_password_reset %}">{% trans "Reset it" %}</a></p>
-<p>{% trans "Not member?" %} <a href="{% url registration_register %}">{% trans "Register" %}</a></p>
-</div>
-{% endblock %}
diff --git a/ishtar/templates/registration/logout.html b/ishtar/templates/registration/logout.html
deleted file mode 100644
index 029a0c25b..000000000
--- a/ishtar/templates/registration/logout.html
+++ /dev/null
@@ -1,8 +0,0 @@
-{% extends "base.html" %}
-{% load i18n %}
-
-{% block content %}
-<div class='info'>
-<p>{% trans "Logged out" %}</p>
-</div>
-{% endblock %}
diff --git a/ishtar/templates/registration/password_change_done.html b/ishtar/templates/registration/password_change_done.html
deleted file mode 100644
index 9d442360c..000000000
--- a/ishtar/templates/registration/password_change_done.html
+++ /dev/null
@@ -1,8 +0,0 @@
-{% extends "base.html" %}
-{% load i18n %}
-
-{% block content %}
-<div class='info'>
-<p>{% trans "Password changed" %}</p>
-</div>
-{% endblock %}
diff --git a/ishtar/templates/registration/password_change_form.html b/ishtar/templates/registration/password_change_form.html
deleted file mode 100644
index 84d915eaa..000000000
--- a/ishtar/templates/registration/password_change_form.html
+++ /dev/null
@@ -1,14 +0,0 @@
-{% extends "base.html" %}
-{% load i18n %}
-
-{% block content %}
-<div class='form'>
-<form method="post" action=".">{% csrf_token %}
- <table>
- {{ form.as_table }}
-
- <tr><td colspan='2'><input type="submit" value="{% trans 'Submit' %}" /></td></tr>
- </table>
-</form>
-</p>
-{% endblock %}
diff --git a/ishtar/templates/registration/password_reset_complete.html b/ishtar/templates/registration/password_reset_complete.html
deleted file mode 100644
index dfa3ce682..000000000
--- a/ishtar/templates/registration/password_reset_complete.html
+++ /dev/null
@@ -1,10 +0,0 @@
-{% extends "base.html" %}
-{% load i18n %}
-
-{% block content %}
-<div class='info'>
-<p>{% trans "Password reset successfully" %}</p>
-
-<p><a href="{% url auth_login %}">{% trans "Log in" %}</a></p>
-</div>
-{% endblock %}
diff --git a/ishtar/templates/registration/password_reset_confirm.html b/ishtar/templates/registration/password_reset_confirm.html
deleted file mode 100644
index b0e2cc142..000000000
--- a/ishtar/templates/registration/password_reset_confirm.html
+++ /dev/null
@@ -1,21 +0,0 @@
-{% extends "base.html" %}
-{% load i18n %}
-
-{% block content %}
-
-{% if validlink %}
-<div class='form'>
-<form method="post" action=".">{% csrf_token %}
- <table>
- {{ form.as_table }}
- <tr><td colspan='2'><input type="submit" value="{% trans 'Submit' %}" /></td></tr>
- </table>
-</form>
-</div>
-{% else %}
-<div class='info'>
-<p>{% trans "Password reset failed" %}</p>
-</div>
-{% endif %}
-
-{% endblock %}
diff --git a/ishtar/templates/registration/password_reset_done.html b/ishtar/templates/registration/password_reset_done.html
deleted file mode 100644
index cc7d9b40e..000000000
--- a/ishtar/templates/registration/password_reset_done.html
+++ /dev/null
@@ -1,8 +0,0 @@
-{% extends "base.html" %}
-{% load i18n %}
-
-{% block content %}
-<div class='info'>
-<p>{% trans "Email with password reset instructions has been sent." %}</p>
-</div>
-{% endblock %}
diff --git a/ishtar/templates/registration/password_reset_email.html b/ishtar/templates/registration/password_reset_email.html
deleted file mode 100644
index a55c86958..000000000
--- a/ishtar/templates/registration/password_reset_email.html
+++ /dev/null
@@ -1,5 +0,0 @@
-{% 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/ishtar/templates/registration/password_reset_form.html b/ishtar/templates/registration/password_reset_form.html
deleted file mode 100644
index d6fad7a0a..000000000
--- a/ishtar/templates/registration/password_reset_form.html
+++ /dev/null
@@ -1,15 +0,0 @@
-{% extends "base.html" %}
-{% load i18n %}
-
-{% block content %}
-<div class='form'>
-<form method="post" action=".">{% csrf_token %}
- <caption>{% trans "Reset password" %}</caption>
- <table>
- {{ form.as_table }}
-
- <tr><td colspan='2'><input type="submit" value="{% trans 'Submit' %}" /></td></tr>
- </table>
-</form>
-</div>
-{% endblock %}
diff --git a/ishtar/templates/registration/registration_complete.html b/ishtar/templates/registration/registration_complete.html
deleted file mode 100644
index e9f487444..000000000
--- a/ishtar/templates/registration/registration_complete.html
+++ /dev/null
@@ -1,8 +0,0 @@
-{% extends "base.html" %}
-{% load i18n %}
-
-{% block content %}
-<div class='info'>
-<p>{% trans "You are now registered. Activation email sent." %}</p>
-</div>
-{% endblock %}
diff --git a/ishtar/templates/registration/registration_form.html b/ishtar/templates/registration/registration_form.html
deleted file mode 100644
index b15f0e74b..000000000
--- a/ishtar/templates/registration/registration_form.html
+++ /dev/null
@@ -1,14 +0,0 @@
-{% extends "base.html" %}
-{% load i18n %}
-
-{% block content %}
-<div class='form'>
-<form method="post" action=".">{% csrf_token %}
- <table>
- <caption>{% trans "Register" %}</caption>
- {{ form.as_table }}
- <tr><td colspan='2'><input type="submit" value="{% trans 'Submit' %}" /></td></tr>
- </table>
-</form>
-</div>
-{% endblock %}