diff options
Diffstat (limited to 'project/templates/registration')
-rwxr-xr-x | project/templates/registration/activate.html | 31 | ||||
-rwxr-xr-x | project/templates/registration/activation_complete.html | 30 | ||||
-rwxr-xr-x | project/templates/registration/activation_email.txt | 17 | ||||
-rwxr-xr-x | project/templates/registration/activation_email_subject.txt | 1 | ||||
-rw-r--r-- | project/templates/registration/download-csv.html | 41 | ||||
-rw-r--r-- | project/templates/registration/edit-registration.html | 21 | ||||
-rw-r--r-- | project/templates/registration/invoice.html | 140 | ||||
-rw-r--r-- | project/templates/registration/manage_payments.html | 90 | ||||
-rwxr-xr-x | project/templates/registration/registration_complete.html | 31 | ||||
-rwxr-xr-x | project/templates/registration/registration_form.html | 33 | ||||
-rw-r--r-- | project/templates/registration/registrations.html | 33 | ||||
-rw-r--r-- | project/templates/registration/regstats.html | 45 | ||||
-rw-r--r-- | project/templates/registration/submit-registration.html | 94 |
13 files changed, 607 insertions, 0 deletions
diff --git a/project/templates/registration/activate.html b/project/templates/registration/activate.html new file mode 100755 index 0000000..5542ccf --- /dev/null +++ b/project/templates/registration/activate.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 activated. You have also been automatically + logged into your account. Click on the item "Registration" in the + left panel to fill in further details. + </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..170b0f2 --- /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 account +before that. + +-- + Thanks for registering, + SciPy team 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/download-csv.html b/project/templates/registration/download-csv.html new file mode 100644 index 0000000..69df90f --- /dev/null +++ b/project/templates/registration/download-csv.html @@ -0,0 +1,41 @@ +{% extends "admin/base_site.html" %} + +{% block title %}Download Registrations{% endblock %} + +{% block content %} +<h1>Edit Registration</h1> + +{% include '_errors.html' %} + +<form action="" + method="post"> + <fieldset> + <legend>Select Registrations</legend> + <table class="scipycon-default"> + {{ form }} + </table> + <button class="button left" + type="submit"> + Submit + </button> + </fieldset> +</form> + +{% if no_results %} +<p>{{ no_results }}</p> +{% endif %} +{% if results %} +<table> +{% for reg in results %} +<tr> + <td>{{reg.registrant.get_full_name }}</td> + <td>{{reg.registrant.email }}</td> + <td>{{reg.amount }}</td> + <td>{{reg.payment }}</td> + <td>{{reg.party }}</td> +</tr> +{% endfor %} +</table> +{% endif %} +{% endblock content %} + diff --git a/project/templates/registration/edit-registration.html b/project/templates/registration/edit-registration.html new file mode 100644 index 0000000..7e317af --- /dev/null +++ b/project/templates/registration/edit-registration.html @@ -0,0 +1,21 @@ +{% extends "registration/submit-registration.html" %} + +{% block title %}Edit Registration{% endblock %} + +{% block formheading %} + <h1>Edit Registration</h1> +{% endblock formheading %} + +{% block overreg %}{% endblock overreg %} + +{% block url_select_login %} + "{% url scipycon_edit_registration params.scope registration.id %}" +{% endblock url_select_login %} + +{% block url_select_reg %} + "{% url scipycon_edit_registration params.scope registration.id %}" +{% endblock url_select_reg %} + +{% block formextras %} + {{ registration_form.id }} +{% endblock formextras %} diff --git a/project/templates/registration/invoice.html b/project/templates/registration/invoice.html new file mode 100644 index 0000000..67339f2 --- /dev/null +++ b/project/templates/registration/invoice.html @@ -0,0 +1,140 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" + "http://www.w3.org/TR/html4/loose.dtd"> +<html> +<head> +</head> +<body> +<!-- TODO: Replace all New Zealand specific things in this file --> +<table cellpadding="0" cellspacing="0" width="800px"> + <tr> + <td> + <img src="http://scipy.org/images/scipylogo.gif" + alt="SciPy.in Logo" title="SciPy.in Logo" + width="72" /> +<br /><br /> + </td> + <td align="right"> + 41 Hihitahi Rise<br /> + Te Haumi, Paihia 0200<br /> + Incorporated Society #2250349<br /> + </td> +</tr> +</table> +<table cellpadding="0" cellspacing="0" width="800px"> +<tr> + <td> + <h1>New Zealand Python Users Group Incorporated</h1> + </td> +</tr> +<tr> + <td> + <hr /> + <table cellpadding="0" cellspacing="0" width="800px"> + <tr> + <td>Invoice Number: {{ registration.slug }}</td> + <td align="right"> + Date: {{ registration.submitted|date:"d F, Y"}}</td> + </tr> + </table> + <hr /> + </td> +</tr> +<tr> + <td> + <br /> + <br /> + To:<br /> + {{ user.get_profile.fullname }}<br /> + {{ user.email }}<br /> + < {{ user.username }} ><br /> + </td> +</tr> +<tr> + <td> + <br /> + <br /> + </td> +</tr> +<tr> + <td> + <table cellpadding="0" cellspacing="0" width="800px"> + <tr> + <th align="left">Item</th> + <th align="right">Price</th> + <th align="right">Qty</th> + <th align="right">Amount (NZ$)</th> + </tr> + <tr> + <td colspan="4"><hr /></td> + </tr> + <tr> + <td>NZPycon 2009 Attendence fee</td> + <td align="right">{{ registration.amount }}.00</td> + <td align="right">1</td> + <td align="right">{{ registration.amount }}.00</td> + </tr> + <tr> + <td colspan="4"><hr /></td> + </tr> + <tr> + <td colspan="3"><strong>Total</strong></td> + <td align="right"><strong>${{ registration.amount }}.00</strong></td> + </tr> + </table> + </td> +</tr> +<tr> + <td> + <br /> + <br /> + </td> +</tr> + {% if registration.sponsor %} +<tr> + <td> + As a guest of {{ registration.sponsor|title }} please ignore this invoice. + </td> +</tr> + {% endif %} + {% if registration.discount %} +<tr> + <td> + Your fee has been discounted because you are a student or otherwise on a + low income. You will be required to present your Student ID or a Community + Services Card on arrival. + </td> +</tr> + {% endif %} + {% ifequal registration.amount 10 %} +<tr> + <td> + Your fee has been discounted because you are a presenter at NZPycon 2009. + </td> +</tr> + {% endifequal %} +<tr> + <td><strong>Thanks for your registration!</strong> +</tr> +<tr> + <td align="right"> + <br /> + {% if registration.payment %} + {% if registration.sponsor %} + <strong>Thank you, no payment required</strong> + {% else %} + <strong>Thank you, this invoice has been paid</strong> + {% endif %} + {% else %} + <strong>Please pay to:</strong><br /> +New Zealand Python User Group<br /> +06-0158-0360348-00<br /> +The National Bank<br /> +Auckland University Branch<br /> +PO Box 2132<br /> + {% endif %} + </td> +</tr> +</table> +</body> +</html> + diff --git a/project/templates/registration/manage_payments.html b/project/templates/registration/manage_payments.html new file mode 100644 index 0000000..30cd3bd --- /dev/null +++ b/project/templates/registration/manage_payments.html @@ -0,0 +1,90 @@ +{% extends "base.html" %} + +{% block title %}Manage Payments - {% endblock %} + +{% block addscripts %} + <script type="text/javascript"> + + $(document).ready(function(){ + {% for registrant in registrants %} + $("#date_id_{{ registrant.registrant.id }}").datepicker(); + {% endfor %} + + }); + + </script> +{% endblock addscripts %} + +{% block content %} +<h1>Manage Payments</h1> + +<form action="" method="post"> + + <fieldset> + <legend>Payment Details</legend> + <table class="scipycon-default"> + <tr> + <th>Full Name</th> + <th>Reg. Confirmed</th> + <th>Accommodation. Confirmed</th> + <th>Date of Payment</th> + <th>Payment Mode</th> + <th>Details</th> + </tr> + {% for registrant in registrants %} + <tr class="{% cycle odd,even %}"> + <th> + <label + {% if registrant.registrant.payment_set.get.type or registrant.registrant.payment_set.get.details %} + {% if not registrant.registrant.payment_set.get.confirmed %} + class="alert" + {% endif %} + {% endif %} + for="id_{{ registrant.registrant.id }}_label"> + {{ registrant.registrant.get_full_name }} + </label> + </th> + <td> + {{ field.errors }} + <input id="confirmed_id_{{ registrant.registrant.id }}" + name="confirmed_id_{{ registrant.registrant.id }}" + type="checkbox" name="registration_confirmed" + {% if registrant.registrant.payment_set.get.confirmed %} + checked=checked + {% endif %} + /><br /> + </td> + <td> + {{ field.errors }} + <input id="acco_id_{{ registrant.registrant.id }}" + name="acco_id_{{ registrant.registrant.id }}" + type="checkbox" + {% if registrant.registrant.payment_set.get.acco_confirmed %} + checked=checked + {% endif %} + /><br /> + </td> + <td> + {{ field.errors }} + <input id="date_id_{{ registrant.registrant.id }}" + name="date_id_{{ registrant.registrant.id }}" + type="text" + {% if registrant.registrant.payment_set.get.date_confirmed %} + value="{{ registrant.registrant.payment_set.get.date_confirmed|date:"m/d/Y" }}" + {% endif %} + /><br /> + </td> + <td>{{ registrant.registrant.payment_set.get.type }}</td> + <td>{{ registrant.registrant.payment_set.get.details }}</td> + </tr> + {% endfor %} + <tr> + <th> + <button class="button left" type="submit">Submit Payment Status</button> + </th> + </tr> + </table> + </fieldset> + +</form> +{% endblock content %} 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 %} diff --git a/project/templates/registration/registrations.html b/project/templates/registration/registrations.html new file mode 100644 index 0000000..e15a4a1 --- /dev/null +++ b/project/templates/registration/registrations.html @@ -0,0 +1,33 @@ +{% extends "base.html" %} + +{% block title %} +Registrations +{% endblock %} + +{% block content %} + +<h1>Registration Statistics</h1> + + {% if over_reg %} + <div class="notice"> + We have already reached the total number of registrations for the + conference. If you would like to be put on a waiting list in the event + that someone can't make it to the conference, please follow the link + below to register and we will be in contact if a registration spot comes + available. + </div> + {% endif %} + +<p> + Currently <strong>{{ registrations }}</strong> people have registered + to attend {{ event.get_full_name }}. +</p> + +{% if not registration %} + <p> + To attend {{ event.get_full_name }} please <a href=" + {% url scipycon_submit_registration params.scope %}">register</a> + </p> +{% endif %} + +{% endblock %} diff --git a/project/templates/registration/regstats.html b/project/templates/registration/regstats.html new file mode 100644 index 0000000..a0b3786 --- /dev/null +++ b/project/templates/registration/regstats.html @@ -0,0 +1,45 @@ +{% extends "base.html" %} + +{% block title %}Registration Statistics - {% endblock %} + +{% block content %} +<h1>Registration Statistics</h1> + +<table class="scipycon-default-border"> +<tr> + <th>Event</th> + <th>Number of people registered</th> +</tr> +<tr> + <td>Conference</td> + <td>{{ conf_num }}</td> +</tr> +<tr> + <td>Tutorials</td> + <td>{{ tut_num }}</td> +</tr> +<tr> + <td>Sprint</td> + <td>{{ sprint_num }}</td> +</tr> +<tr> + <td>Male participants requesting accommodation</td> + <td>{{ male }}</td> +</tr> +<tr> + <td>Female participants requesting accommodation</td> + <td>{{ female }}</td> +</tr> +{% for acco in acco_days %} + <tr> + <td>Accommodation requested on {{ forloop.counter|add:"11" }}th night</td> + <td>{{ acco.total }} (Male: {{ acco.male }} Female: {{ acco.female }})</td> + </tr> + {% endfor %} +</table> + +<br/><br/><br/> +<strong>To download CSV Click +<a href="{% url scipycon_regstats_download params.scope %}">here</a></strong> + +{% endblock content %} diff --git a/project/templates/registration/submit-registration.html b/project/templates/registration/submit-registration.html new file mode 100644 index 0000000..23d17bb --- /dev/null +++ b/project/templates/registration/submit-registration.html @@ -0,0 +1,94 @@ +{% extends "base.html" %} +{% block content %} +<h1>Submit Registration</h1> +<div class="entry"> +<iframe id='ifrm' name='ifrm' src='http://doattend.com/embed_ticket/8396' scrolling='auto' width='80%' height='600'>Oops!! Sorry you will have to <a href = 'http://scipyindia.doattend.com'>register here</a></iframe> + +<h2 id="sec-2">Note: </h2> + +<h3 id="sec-2_1">Accommodation </h3> + +<ul> +<li> +Accommodation will be provided at a subsidized rate of Rs.100 per day for outstation teachers and students alone. +</li> +<li> +If you are sending us a DD, it should reach us on or before 20th of November, 2011. +</li> +<li> +Accommodation will be confirmed at the venue only for participants with valid identity cards from their respective institutions. +</li> +</ul> + +<h3 id="sec-2_2">Registration Fees </h3> + +<h4 id="sec-2_2_1">Online Transfer</h4> +<ul> + <li>The prefered way of paying is through DoAttend. If you face any problems with online transfer please contact <a href="support@doattend.com">DoAttend Support</a></li> +</ul> + +<h4 id="sec-2_2_2">Demand Draft </h4> + +<ul> +<li> +An email should be sent to <i>info@scipy.in</i> with the name of the +participant, institution, and the +transaction details(reference no. and account no.) +</li> +<li> +Registered participants whose talks have been accepted will be +exempt from the registration fees. +</li> +<li> +The demand draft may be obtained in favour of <b>FOSSEE</b> payable at +<b>Mumbai</b>. +</li> +<li> +The Demand Drafts may be sent to +<pre class="example"> +Prof. Prabhu Ramachandran, +Department of Aerospace Engineering, +IIT Bombay,Powai, +Mumbai, Maharastra, +India 400 076 +</pre> + +</li> +</ul> + +<h4 id="sec-2_2_3">Electronic transfer (NEFT) </h4> + +<ul> +<li> +An email should be sent to <i>info@scipy.in</i> with the name of the +participant, institution, and the +transaction details(reference no. and account no., account holder +name from which the transfer was made.) +</li> +<li> +Registered participants whose talks have been accepted will be +exempt from the registration fees. +</li> +<li> +The total amount for fees and accommodation (if applicable) may be +transfered to, +<pre class="example"> +Account Number - 2724101100988 +Account Name - FOSSEE +IFSC code - CNRB0002724 +Bank - Canara Bank +Branch - IIT Powai, Mumbai - 400076 +</pre> + +</li> +<li> +While transferring the amount, ensure that the remark of transaction +contain the Full name with email +address registered with us. + +</li> +</ul> +</div> + + +{% endblock content %} |