summaryrefslogtreecommitdiff
path: root/project/templates
diff options
context:
space:
mode:
authorMadhusudan.C.S2009-11-11 15:52:26 +0530
committerMadhusudan.C.S2009-11-11 15:52:26 +0530
commit3e7a8f1766f637b667d12f645ec47c0540297ca6 (patch)
tree62a77a2c0c261e0c05f162b830ede8b6b4dec00d /project/templates
parentfbb498fac2f433176813af484892d2c1c389836d (diff)
downloadscipycon-3e7a8f1766f637b667d12f645ec47c0540297ca6.tar.gz
scipycon-3e7a8f1766f637b667d12f645ec47c0540297ca6.tar.bz2
scipycon-3e7a8f1766f637b667d12f645ec47c0540297ca6.zip
Fixed Activation.
Diffstat (limited to 'project/templates')
-rwxr-xr-xproject/templates/registration/activate.html28
-rwxr-xr-xproject/templates/registration/activation_complete.html30
-rwxr-xr-xproject/templates/registration/activation_email.txt17
-rwxr-xr-xproject/templates/registration/activation_email_subject.txt1
-rwxr-xr-xproject/templates/registration/registration_complete.html31
-rwxr-xr-xproject/templates/registration/registration_form.html33
6 files changed, 140 insertions, 0 deletions
diff --git a/project/templates/registration/activate.html b/project/templates/registration/activate.html
new file mode 100755
index 0000000..6003cc7
--- /dev/null
+++ b/project/templates/registration/activate.html
@@ -0,0 +1,28 @@
+{% extends "base.html" %}
+
+{% block content %}
+ <div class="post">
+ <div class="title"><h2>{% trans "Register" %}</h2></div>
+ <div id="search">
+ <style type="text/css">
+ ul.errorlist {
+ margin: 0;
+ padding: 0;
+ }
+ .errorlist li {
+ color: red;
+ display: block;
+ font-size: 10px;
+ margin: 0 1 3px;
+ padding: 0px 45px;
+ }
+</style>
+ <table>
+ Your account has been activated and registration procedure is complete.
+ You can login to your account now.
+ </table>
+ <script type="text/javascript">
+ document.getElementById('id_username').focus();
+ </script>
+ </div>
+{% endblock %}
diff --git a/project/templates/registration/activation_complete.html b/project/templates/registration/activation_complete.html
new file mode 100755
index 0000000..3035a4f
--- /dev/null
+++ b/project/templates/registration/activation_complete.html
@@ -0,0 +1,30 @@
+{% extends "base.html" %}
+
+{% load i18n %}
+
+{% block content %}
+ <div class="post">
+ <div class="title"><h2>{% trans "Register" %}</h2></div>
+ <div id="search">
+ <style type="text/css">
+ ul.errorlist {
+ margin: 0;
+ padding: 0;
+ }
+ .errorlist li {
+ color: red;
+ display: block;
+ font-size: 10px;
+ margin: 0 1 3px;
+ padding: 0px 45px;
+ }
+</style>
+ <table>
+ Your account has been activated and registration procedure is complete.
+ You can login to your account now.
+ </table>
+ <script type="text/javascript">
+ document.getElementById('id_username').focus();
+ </script>
+ </div>
+{% endblock %}
diff --git a/project/templates/registration/activation_email.txt b/project/templates/registration/activation_email.txt
new file mode 100755
index 0000000..77140be
--- /dev/null
+++ b/project/templates/registration/activation_email.txt
@@ -0,0 +1,17 @@
+Hello everyone,
+
+ It looks like you have registered for SciPy.in with this email address.
+To confirm your registration please activate your account by clicking on the
+link below.
+
+ http://scipy.in/accounts/activate/{{ activation_key }}
+
+If your browser doesn't support clicking on the link, please copy
+paste the URL in your browser's address bar.
+
+Note: Your activation key is valid only for 7 days. Please activate your accout
+before that.
+
+--
+ Thanks for registering,
+ SciPy team \ No newline at end of file
diff --git a/project/templates/registration/activation_email_subject.txt b/project/templates/registration/activation_email_subject.txt
new file mode 100755
index 0000000..4496f3d
--- /dev/null
+++ b/project/templates/registration/activation_email_subject.txt
@@ -0,0 +1 @@
+[SciPy.in] Account activation mail \ No newline at end of file
diff --git a/project/templates/registration/registration_complete.html b/project/templates/registration/registration_complete.html
new file mode 100755
index 0000000..d4b4bc6
--- /dev/null
+++ b/project/templates/registration/registration_complete.html
@@ -0,0 +1,31 @@
+{% extends "base.html" %}
+
+{% load i18n %}
+
+{% block content %}
+ <div class="post">
+ <div class="title"><h2>{% trans "Register" %}</h2></div>
+ <div id="search">
+ <style type="text/css">
+ ul.errorlist {
+ margin: 0;
+ padding: 0;
+ }
+ .errorlist li {
+ color: red;
+ display: block;
+ font-size: 10px;
+ margin: 0 1 3px;
+ padding: 0px 45px;
+ }
+</style>
+ <table>
+ Your account has been created. An activation email will be sent
+ soon to the email ID with which you registered.<br /><br />
+ Please visit the link mentioned in the mail to activate your account.
+ </table>
+ <script type="text/javascript">
+ document.getElementById('id_username').focus();
+ </script>
+ </div>
+{% endblock %}
diff --git a/project/templates/registration/registration_form.html b/project/templates/registration/registration_form.html
new file mode 100755
index 0000000..6cef77d
--- /dev/null
+++ b/project/templates/registration/registration_form.html
@@ -0,0 +1,33 @@
+{% extends "base.html" %}
+
+{% load i18n %}
+
+{% block content %}
+ <div class="post">
+ <div class="title"><h2>{% trans "Register" %}</h2></div>
+ <div id="search">
+ <style type="text/css">
+ ul.errorlist {
+ margin: 0;
+ padding: 0;
+ }
+ .errorlist li {
+ color: red;
+ display: block;
+ font-size: 10px;
+ margin: 0 1 3px;
+ padding: 0px 45px;
+ }
+</style>
+
+ <form method="POST" action=".">
+ <table>
+ {{ form.as_table }}
+ </table>
+ <p><input type="submit" name="Register" value="{% trans "Register" %}" class="btn"></p>
+ </form>
+ <script type="text/javascript">
+ document.getElementById('id_username').focus();
+ </script>
+ </div>
+{% endblock %}