diff options
Diffstat (limited to 'project/templates')
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 %} |