summaryrefslogtreecommitdiff
path: root/templates/django_registration
diff options
context:
space:
mode:
Diffstat (limited to 'templates/django_registration')
-rw-r--r--templates/django_registration/activation_complete.html7
-rw-r--r--templates/django_registration/activation_email_body.txt5
-rw-r--r--templates/django_registration/activation_email_subject.txt1
-rw-r--r--templates/django_registration/logged_out.html9
-rw-r--r--templates/django_registration/registration_complete.html7
-rw-r--r--templates/django_registration/registration_form.html24
6 files changed, 53 insertions, 0 deletions
diff --git a/templates/django_registration/activation_complete.html b/templates/django_registration/activation_complete.html
new file mode 100644
index 0000000..d83317a
--- /dev/null
+++ b/templates/django_registration/activation_complete.html
@@ -0,0 +1,7 @@
+{% extends 'base.html' %}
+{% block content %}
+<main class="single-col">
+<h1>Your account is now active.</h1>
+<p><a href="{% url 'login' %}">Login</a> and get started!</p>
+</main>
+{% endblock %}
diff --git a/templates/django_registration/activation_email_body.txt b/templates/django_registration/activation_email_body.txt
new file mode 100644
index 0000000..8b1e134
--- /dev/null
+++ b/templates/django_registration/activation_email_body.txt
@@ -0,0 +1,5 @@
+Thanks for signing up with {{site}}, just one more thing to do, click this link to confirm your email:
+
+<a href="{{scheme}}://{{site}}/activate/{{activation_key}}">{{scheme}}://{{site}}/register/{{activation_key}}</a>
+
+
diff --git a/templates/django_registration/activation_email_subject.txt b/templates/django_registration/activation_email_subject.txt
new file mode 100644
index 0000000..ea275d2
--- /dev/null
+++ b/templates/django_registration/activation_email_subject.txt
@@ -0,0 +1 @@
+Please Activate Your Account
diff --git a/templates/django_registration/logged_out.html b/templates/django_registration/logged_out.html
new file mode 100644
index 0000000..cccb58b
--- /dev/null
+++ b/templates/django_registration/logged_out.html
@@ -0,0 +1,9 @@
+{% extends 'base.html' %}
+
+{% block title %}Logged Out{% endblock %}
+
+{% block primary %}
+<h2>You're logged out</h2>
+<h4>Thanks for visiting the site today</h4>
+<a href="{%url 'login'%}">Login again</a>
+{% endblock %}
diff --git a/templates/django_registration/registration_complete.html b/templates/django_registration/registration_complete.html
new file mode 100644
index 0000000..59677ce
--- /dev/null
+++ b/templates/django_registration/registration_complete.html
@@ -0,0 +1,7 @@
+{% extends 'base.html' %}
+{% block content %}
+<main class="single-col">
+<h1>Thanks for signing up.</h1>
+<p>Please check your email for a link to confirm you new account.<?p>
+</main>
+{% endblock %}
diff --git a/templates/django_registration/registration_form.html b/templates/django_registration/registration_form.html
new file mode 100644
index 0000000..8573918
--- /dev/null
+++ b/templates/django_registration/registration_form.html
@@ -0,0 +1,24 @@
+{% extends 'base.html' %}
+{% block content %}
+<form action="" method="post">
+{% csrf_token %}
+{{ form.non_field_errors }}
+{% for field in form %}
+<fieldset {% if field.errors %}class="error"{%endif%}>
+{{field.label_tag}}
+{{field}}
+{% if field.label == "Password" %}<span class="helptext">Password should be 8 or more characters.</span>{% endif %}
+{% if field.errors %}{{field.errors}}{% endif %}
+</fieldset>
+{% endfor %}
+<p><input class="btn" value="submit" type="submit" /></p>
+</form>
+<p class="text-muted">Already have an account? <a href="{% url 'login' %}">Log in</a>.</p>
+{% endblock %}
+{% block extra %}
+<div class="overlay-content" id="js-overlay-content" style="display: none;">
+ {% include 'lib/login.html' with form=login_form site=site %}
+ {{login_form}}
+</div>
+{{site.name}}
+{%endblock%}