Added templates for django-registration.
authorMadhusudan.C.S <madhusudancs@gmail.com>
Fri, 25 Sep 2009 23:54:45 +0530
changeset 9 2c360e775cb0
parent 8 f0b5ff862c6d
child 10 de55fa4a14ac
Added templates for django-registration.
template/registration/activation_email.txt
template/registration/activation_email_subject.txt
template/registration/registration_complete.html
template/registration/registration_form.html
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/template/registration/activation_email.txt	Fri Sep 25 23:54:45 2009 +0530
@@ -0,0 +1,2 @@
+You have been registered for Scipy.in conference. You will be informed when
+we have more information for you.
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/template/registration/activation_email_subject.txt	Fri Sep 25 23:54:45 2009 +0530
@@ -0,0 +1,1 @@
+Your account has been activated.
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/template/registration/registration_complete.html	Fri Sep 25 23:54:45 2009 +0530
@@ -0,0 +1,29 @@
+{% extends "index.html" %}
+
+{% load i18n %}
+
+{% block centercontent %}
+  <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 registration procedure is complete.
+        </table>
+      <script type="text/javascript">
+	document.getElementById('id_username').focus();
+      </script>
+   </div>
+{% endblock %}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/template/registration/registration_form.html	Fri Sep 25 23:54:45 2009 +0530
@@ -0,0 +1,33 @@
+{% extends "index.html" %}
+
+{% load i18n %}
+
+{% block centercontent %}
+  <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 %}