diff options
author | Madhusudan.C.S | 2009-10-30 15:09:12 +0530 |
---|---|---|
committer | Madhusudan.C.S | 2009-10-30 15:09:12 +0530 |
commit | f89410559c20dd88d78ccd6b9d24e7941da9d5ff (patch) | |
tree | 3ad4fb64efc7523d1f3065e0dd03693871d6ce55 /project/templates | |
parent | 75f0773685ef0724d8ccc1eb1aab16bba55cd7a7 (diff) | |
download | scipycon-f89410559c20dd88d78ccd6b9d24e7941da9d5ff.tar.gz scipycon-f89410559c20dd88d78ccd6b9d24e7941da9d5ff.tar.bz2 scipycon-f89410559c20dd88d78ccd6b9d24e7941da9d5ff.zip |
Added all the files from kiwipycon and the changes made for SciPy.in.
Diffstat (limited to 'project/templates')
38 files changed, 1299 insertions, 0 deletions
diff --git a/project/templates/404.html b/project/templates/404.html new file mode 100644 index 0000000..1a450f4 --- /dev/null +++ b/project/templates/404.html @@ -0,0 +1,11 @@ +{% extends "base.html" %} + +{% block title %}404 Page Not Found{% endblock %} + +{% block content %} + +<h1>404 Page Not Found</h1> + +<p>Are you sure you have the correct URL?</p> + +{% endblock content %} diff --git a/project/templates/500.html b/project/templates/500.html new file mode 100644 index 0000000..dfb1ae4 --- /dev/null +++ b/project/templates/500.html @@ -0,0 +1,12 @@ +{% extends "base.html" %} + +{% block title %}500 Server Error{% endblock %} + +{% block content %} + +<h1>500 Server Error</h1> + +<p>Oops. Something went wrong. Djangonauts behind this site received an information about this +accident and will start investigation shortly. We apologize for any inconvenience!</p> + +{% endblock content %} diff --git a/project/templates/_errors.html b/project/templates/_errors.html new file mode 100644 index 0000000..f0e21d1 --- /dev/null +++ b/project/templates/_errors.html @@ -0,0 +1,2 @@ +{% if messages %}<div id="messages">{% for message in messages %}{{ message }}{% endfor %}</div>{% endif %} +{% if form.errors %}<div id="errors">Please correct the errors below</div>{% endif %} diff --git a/project/templates/_menu.html b/project/templates/_menu.html new file mode 100644 index 0000000..0cfabee --- /dev/null +++ b/project/templates/_menu.html @@ -0,0 +1,47 @@ +<div id="left-inner"> + <ul> + <li><a href="/submit-registration/">Registration</a></li> + <li> + <a href="/talks-cfp/">Talks & CfP</a> + <ul> + <li><a href="/talks-cfp/schedule/">Conference Schedule</a></li> + <li><a href="/talks/">Talks</a></li> + </ul> + </li> + <li> + About + <ul> + <li><a href="/about/accommodation/">Accommodation</a></li> + <li><a href="/about/food/">Food</a></li> + <li><a href="/about/venue/">The Venue</a></li> + <li><a href="/about/reaching/">Reaching the venue</a></li> + </ul> + </li> + <li><a href="/">Blog</a></li> + <!--<li><a href="/sponsorship/">Sponsorship</a></li> + <li><a href="/media/">Media</a></li>--> + {% if user.is_staff %} + <li><a href="/howto/">HowTo</a></li> + {% endif %}<!-- + <li>Follow us:<br /><br /> + <a href="http://twitter.com/scipy.in" + target="_blank" + title="Follow us on Twitter"><img src="/img/twitter.png" /></a> + </li> + <li> + <a href="http://www.flickr.com/search/?q=scipy.in" + target="_blank" + title="Flickr"><img src="/img/flickr.png" /></a> + </li> + <li> + <a href="http://www.slideshare.net/tag/scipy.in" + target="_blank" + title="SlideShare"><img src="/img/slideshare.png" /></a> + </li> + <li> + <a href="http://scipy.in.blip.tv/" + target="_blank" + title="blip.tv"><img src="/img/bliptv.gif" /></a> + </li>--> + </ul> +</div> diff --git a/project/templates/_menu_user.html b/project/templates/_menu_user.html new file mode 100644 index 0000000..444c62d --- /dev/null +++ b/project/templates/_menu_user.html @@ -0,0 +1,19 @@ +<div id="menu-user"> + {% if user.is_authenticated %} + {% if user.get_full_name %} + <strong>{{ user.get_full_name }} <{{ user.username }}></strong> + {% else %} + <strong>{{ user.username }}</strong> + {% endif %} | + + <a href="{% url kiwipycon_account %}">My profile</a> | + + {% if user.is_superuser %} + <a href="/admin/">Administer</a> | + {% endif %} + + <a href="{% url kiwipycon_logout %}">Logout</a> + {% else %} + <a href="{% url kiwipycon_login %}">Login</a> + {% endif %} +</div> diff --git a/project/templates/_sponsors.html b/project/templates/_sponsors.html new file mode 100644 index 0000000..ea52dea --- /dev/null +++ b/project/templates/_sponsors.html @@ -0,0 +1,14 @@ +<div id="right-inner"> + <h2>Organizers</h2> +<p><ul> + <li>(co-chair) <a href='https://cirl.berkeley.edu/view/User/JarrodMillman'>Jarrod Millman</a>, Neuroscience Institute, UC Berkeley (USA)</li> + <li>(co-chair) <a href='http://www.aero.iitb.ac.in/~prabhu'>Prabhu Ramachandran</a>, Department of Aerospace Engineering, +IIT Bombay (India)</li> + <li><a href="http://www.ignouonline.ac.in/sakshat/">National Mission On Education through ICT</a> - Ministry of Human Resource Development, Govt. of India</li> + <li><a href='http://fossee.in/'>FOSSEE Team</a></li> + <li><a href='http://space-kerala.org/'>SPACE-Kerala (India)</a></li> + <li><a href='http://www.itmission.kerala.gov.in'>Kerala State IT Mission(KSITM)</a></li> + <li><a href='http://csi-india.org'>SIG-FOSS Of CSI</a></li> +</ul></p> + +</div> diff --git a/project/templates/about/accommodation.html b/project/templates/about/accommodation.html new file mode 100644 index 0000000..f0205f2 --- /dev/null +++ b/project/templates/about/accommodation.html @@ -0,0 +1,4 @@ +{% extends "base.html" %} +{% block content %} +<h1>We will update this page once we have more information on it.</h1> +{% endblock content %}
\ No newline at end of file diff --git a/project/templates/about/food.html b/project/templates/about/food.html new file mode 100644 index 0000000..f0205f2 --- /dev/null +++ b/project/templates/about/food.html @@ -0,0 +1,4 @@ +{% extends "base.html" %} +{% block content %} +<h1>We will update this page once we have more information on it.</h1> +{% endblock content %}
\ No newline at end of file diff --git a/project/templates/about/reaching.html b/project/templates/about/reaching.html new file mode 100644 index 0000000..f0205f2 --- /dev/null +++ b/project/templates/about/reaching.html @@ -0,0 +1,4 @@ +{% extends "base.html" %} +{% block content %} +<h1>We will update this page once we have more information on it.</h1> +{% endblock content %}
\ No newline at end of file diff --git a/project/templates/about/venue.html b/project/templates/about/venue.html new file mode 100644 index 0000000..f0205f2 --- /dev/null +++ b/project/templates/about/venue.html @@ -0,0 +1,4 @@ +{% extends "base.html" %} +{% block content %} +<h1>We will update this page once we have more information on it.</h1> +{% endblock content %}
\ No newline at end of file diff --git a/project/templates/admin/base_site.html b/project/templates/admin/base_site.html new file mode 100644 index 0000000..c94049e --- /dev/null +++ b/project/templates/admin/base_site.html @@ -0,0 +1,10 @@ +{% extends "admin/base.html" %} +{% load i18n %} + +{% block title %}{{ title }} | {% trans 'SciPy.in 2009 Administration' %}{% endblock %} + +{% block branding %} +<h1 id="site-name">{% trans 'SciPy.in 2009 Administration' %}</h1> +{% endblock %} + +{% block nav-global %}{% endblock %} diff --git a/project/templates/base.html b/project/templates/base.html new file mode 100644 index 0000000..453a4d7 --- /dev/null +++ b/project/templates/base.html @@ -0,0 +1,57 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" lang="en-us" xml:lang="en-us" > +<head> + <meta http-equiv="content-type" content="text/html; charset=utf-8"/> + <title>{% block title %}{% endblock %} SciPy.in 2009, December 12 - 17, 2009, Trivandrum, Kerala, India</title> + + <link rel="stylesheet" type="text/css" href="/jquery/jquery.jgrowl.css" /> + <link rel="stylesheet" type="text/css" href="/css/styles-20090826.css" /> + + <script type="text/javascript" src="/jquery/jquery.pack.js"></script> + <script type="text/javascript" src="/jquery/jquery.jgrowl_minimized.js"></script> + <script type="text/javascript" src="/jquery/jquery.cookie.pack.js"></script> + <script type="text/javascript" src="/js/kiwipycon.js"></script> + + <link rel="icon" href="/img/favicon.ico" type="image/x-icon" /> + + <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="/feeds/blog/" /> + +</head> +<body> + +<div id="logo"> + <a href="/"><img src="/img/scipyshiny_small.png" + alt="SciPy.in Logo" title="SciPy.in Logo" + width="139" height="130" /></a> +</div> + +<div id="header"> + <h1>{% block header %}SciPy.in 2009</h1><h3>December 12 - 17</h3><h3>Kerala, India{% endblock %}</h3> + {% include '_menu_user.html' %} +</div> + +<div id="wrapper"> + <div id="left"> + {% include '_menu.html' %} + </div> + <div id="content"> + {% if user.is_authenticated %} + {% include 'user/_usermenu.html' %} + {% endif %} + + {% block content %}{% endblock %} + </div> + <div id="right"> + {% include '_sponsors.html' %} + </div> +</div> + +<div id="footer"> + <p rel="credits">Content by the <a href="/about/team/" alt="SciPy.in Team">SciPy.in Team</a>, + website by <a href="http://bitbucket.org/vshivak/kiwipycon/src/tip/AUTHORS" alt="Website's Creators">Kiwi Djangonauts</a>, + hosting by <a href="http://fosse.in/" alt="Free and Open Source software in Science and Engineering Education">Free and Open Source software in Science and Engineering Education</a>, + <!-- TODO: logo design by Jason Nielsen--></p> +</div> + +</body> +</html> diff --git a/project/templates/blog/post_detail.html b/project/templates/blog/post_detail.html new file mode 100644 index 0000000..7bd3588 --- /dev/null +++ b/project/templates/blog/post_detail.html @@ -0,0 +1,77 @@ +{% extends "blog/base_blog.html" %} + + +{% block title %}{{ object.title }}{% endblock %} +{% block body_class %}{{ block.super }} post_detail{% endblock %} +{% block body_id %}post_{{ object.id }}{% endblock %} + + +{% block content_title %} + <h2>{{ object.title }}</h2> + <p class="other_posts"> + {% if object.get_previous_by_publish %} + <a class="previous" href="{{ object.get_previous_post.get_absolute_url }}">« {{ object.get_previous_post }}</a> + {% endif %} + {% if object.get_next_by_publish %} + | <a class="next" href="{{ object.get_next_post.get_absolute_url }}">{{ object.get_next_post }} »</a> + {% endif %} + </p> +{% endblock %} + + +{% block content %} + {% load blog markup comments tagging_tags %} + + <h1>{{ object.title }}</h1> + <p class="date">{{ object.publish|date:"j F Y" }}</p> + + <div class="body"> + {{ object.body|markdown:"safe" }} + </div> + + {% tags_for_object object as tag_list %} + {% if tag_list %} + <p class="inline_tag_list"><strong>Related tags:</strong> + {% for tag in tag_list %} + {{ tag }}{% if not forloop.last %}, {% endif %} + {% endfor %} + </p> + {% endif %} + + {% get_comment_list for object as comment_list %} + {% if comment_list %} + <div id="comments"> + <a name="comments"></a> + <h3 class="comments_title">Comments</h3> + {% for comment in comment_list %} + {% if comment.is_public %} + <div class="comment"> + <h5 class="name"> + <a name="c{{ comment.id }}" href="{{ comment.get_absolute_url }}" title="Permalink to {{ comment.person_name }}'s comment" class="count">{{ forloop.counter }}</a> + {% if comment.user_url %}<a href="{{ comment.user_url }}">{{ comment.user_name }}</a>{% else %}{{ comment.user_name }}{% endif %} says... + </h5> + {{ comment.comment|urlizetrunc:"60"|markdown:"safe" }} + <p class="date">Posted at {{ comment.submit_date|date:"P" }} on {{ comment.submit_date|date:"F j, Y" }}</p> + </div> + {% endif %} + {% endfor %} + </div> + {% endif %} + {% if user.is_authenticated %} + {% if object.allow_comments %} + <div id="comment_form"> + {% render_comment_form for object %} + </div> + {% else %} + <div id="comment_form"> + <h3>Comments are closed.</h3> + <p>Comments have been close for this post.</p> + </div> + {% endif %} + {% else %} + <div id="comment_form"> + <h3>Comments are closed.</h3> + <p>Please login in to comment.</p> + </div> + {% endif %} +{% endblock %} diff --git a/project/templates/blog/post_list.html b/project/templates/blog/post_list.html new file mode 100644 index 0000000..b536f47 --- /dev/null +++ b/project/templates/blog/post_list.html @@ -0,0 +1,35 @@ +{% extends "blog/base_blog.html" %} + + +{% block title %}{% endblock %} +{% block body_class %}{{ block.super }} post_list{% endblock %} + + +{% block content_title %} + <h2>Post archive</h2> +{% endblock %} + + +{% block content %} + <div class="post_list"> + {% for post in object_list %} + <div> + <h3 class="title"><a href="{{ post.get_absolute_url }}">{{ post.title }}</a></h3> + <p class="date">{{ post.publish|date:"Y F d" }}</p> + <p class="tease">{{ post.tease }}</p> + </div> + {% endfor %} + </div> + + {% if is_paginated %} + <p class="pagination"> + {% if has_next %} + <a class="older" href="?page={{ next }}">Older</a> + {% endif %} + {% if has_next and has_previous %} | {% endif %} + {% if has_previous %} + <a class="newer" href="?page={{ previous }}">Newer</a> + {% endif %} + </p> + {% endif %} +{% endblock %} diff --git a/project/templates/comments/form.html b/project/templates/comments/form.html new file mode 100644 index 0000000..c889a87 --- /dev/null +++ b/project/templates/comments/form.html @@ -0,0 +1,20 @@ +{% load comments %} +<h3>Comments</h3> +<form action="{% comment_form_target %}" method="POST"> + {% for field in form %} + {% if field.is_hidden %} + {{ field }} + {% else %} + <p + {% if field.errors %} class="error"{% endif %} + {% ifequal field.name "honeypot" %} style="display:none;"{% endifequal %}> + {% if field.errors %}{{ field.errors }}{% endif %} + {{ field.label_tag }} {{ field }} + </p> + {% endif %} + {% endfor %} + <p class="submit"> + <input type="submit" name="submit" class="submit-post" value="Post" /> + <input type="submit" name="submit" class="submit-preview" value="Preview" /> + </p> +</form> diff --git a/project/templates/flatpages/default.html b/project/templates/flatpages/default.html new file mode 100644 index 0000000..0d570cf --- /dev/null +++ b/project/templates/flatpages/default.html @@ -0,0 +1,9 @@ +{% extends "base.html" %} + +{% block title %} +{{ flatpage.title }} +{% endblock %} + +{% block content %} +{{ flatpage.content }} +{% endblock %} diff --git a/project/templates/flatpages/markdown.html b/project/templates/flatpages/markdown.html new file mode 100644 index 0000000..2239e12 --- /dev/null +++ b/project/templates/flatpages/markdown.html @@ -0,0 +1,10 @@ +{% extends "base.html" %} + +{% load markup %} +{% block title %} +{{ flatpage.title }} +{% endblock %} + +{% block content %} +{{ flatpage.content|markdown }} +{% endblock %} diff --git a/project/templates/flatpages/restructuredtext.html b/project/templates/flatpages/restructuredtext.html new file mode 100644 index 0000000..386cceb --- /dev/null +++ b/project/templates/flatpages/restructuredtext.html @@ -0,0 +1,10 @@ +{% extends "base.html" %} + +{% load markup %} +{% block title %} +{{ flatpage.title }} +{% endblock %} + +{% block content %} +{{ flatpage.content|restructuredtext }} +{% endblock %} diff --git a/project/templates/flatpages/textile.html b/project/templates/flatpages/textile.html new file mode 100644 index 0000000..01bafcc --- /dev/null +++ b/project/templates/flatpages/textile.html @@ -0,0 +1,10 @@ +{% extends "base.html" %} + +{% load markup %} +{% block title %} +{{ flatpage.title }} +{% endblock %} + +{% block content %} +{{ flatpage.content|textile }} +{% endblock %} diff --git a/project/templates/notifications/activate_mail.html b/project/templates/notifications/activate_mail.html new file mode 100644 index 0000000..7897fc4 --- /dev/null +++ b/project/templates/notifications/activate_mail.html @@ -0,0 +1,35 @@ +Hello everyone, + We have not activated your account till now since were still in the +process of finalizing the ideas for SciPy.in 2009 and the smoothing out +the organization details. This mail is an activation mail. Click on the +link below to activate your account. + +http://scipy.in/accounts/activate/{{ activation_key }}/ + + If your email client doesn't support clicking the links, please copy +paste the above URL in your browser's address bar. If your email client +wraps the line and the activation URL is broken, then your activation +can be constructed as follows: + +http://scipy.in/accounts/activate/<your-activation-key>/ + +Your activation key being: +{{ activation_key }} + +NOTE: Please activate your account within next 7 days i.e, before +October 26th, 2009. Otherwise your account will be removed from +our database. + +Very important: The registration process is not complete yet. Once you +activate your account you will be able to login on the site. Please login +and click on the registration link at the left panel again. You will be +presented with other details. Please fill in the relevant details. This +information is very much required for us to conduct SciPy very smoothly. + +Optionally you can also click on Edit Profile link at the top and fill in +your bio. + + +-- + Thanks for understanding, + FOSSEE Team diff --git a/project/templates/registration/download-csv.html b/project/templates/registration/download-csv.html new file mode 100644 index 0000000..e23ae50 --- /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="kiwipycon-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..6bafa96 --- /dev/null +++ b/project/templates/registration/edit-registration.html @@ -0,0 +1,24 @@ +{% extends "base.html" %} + +{% block title %}Edit Registration{% endblock %} + +{% block content %} +<h1>Edit Registration</h1> + +{% include '_errors.html' %} + +<form action="{% url kiwipycon_edit_registration id %}" + method="post"> + <fieldset> + <legend>Edit Registration</legend> + <table class="kiwipycon-default"> + {{ form }} + </table> + <button class="button left" + type="submit"> + Save Changes + </button> + </fieldset> +</form> +{% endblock content %} + diff --git a/project/templates/registration/invoice.html b/project/templates/registration/invoice.html new file mode 100644 index 0000000..7966763 --- /dev/null +++ b/project/templates/registration/invoice.html @@ -0,0 +1,141 @@ +<!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> + <!-- TODO(get an ICON) --> + <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/registrations.html b/project/templates/registration/registrations.html new file mode 100644 index 0000000..678828b --- /dev/null +++ b/project/templates/registration/registrations.html @@ -0,0 +1,37 @@ +{% extends "base.html" %} + +{% block title %} +Registrations +{% endblock %} + +{% block content %} + +<h1>Submit Registration</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> persons have registered to attend Kiwi PyCon 2009.</p> + +<p>To attend Kiwi Pycon 2009 please <a href="/submit-registration/">register</a></p> + +<p>Registration payments: + +<pre class="plain"> +New Zealand Python User Group, +06-0158-0360348-00 +The National Bank, +Auckland University Branch +PO Box 2132 +</pre> + +Please use your username and invoice number as references when making payments. + +{% endblock %} diff --git a/project/templates/registration/submit-registration.html b/project/templates/registration/submit-registration.html new file mode 100644 index 0000000..6a29db8 --- /dev/null +++ b/project/templates/registration/submit-registration.html @@ -0,0 +1,106 @@ +{% extends "base.html" %} + +{% block title %}Submit Registration{% endblock %} + +{% block content %} + + <h1>Submit Registration</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 register below and we + will be in contact if a registration spot comes available. <strong>N.B. Do not + pay the admission fee.</strong> + </div> + {% endif %} + <form action="/submit-registration/" + method="post"> + {% if not user.is_authenticated %} + <fieldset> + <legend>Have you already registered for the conference?</legend> + <table class="kiwipycon-default"> + {{ login_form }} + </table> + + <input type="hidden" + name="action" + value="login" /> + + <button class="button left" + type="submit"> + Login + </button> + </fieldset> + + </form> + {% endif %} + + <p></p> + + {% if not user.is_authenticated %} + <br /> + <form action="/submit-registration/" + enctype="multipart/form-data" + method="post"> + <fieldset> + <legend>Registrant Details</legend> + <table class="kiwipycon-default required"> + {{ registrant_form }} + </table> + + <input type="hidden" + name="action" + value="register" /> + </fieldset> + {% endif %} + <br /> + +{% if registration_form.errors %}<div class="errors">Please correct the errors below</div>{% endif %} + + <fieldset> + <legend>Details</legend> + <table class="kiwipycon-default required"> + {% for field in registration_form.personal_fields %} + <tr class="{% cycle odd,even %}"><th>{{ field.label_tag }}</th> + <td>{{ field.errors }}{{ field }}<br />{{ field.help_text }} </td></tr> + {% endfor %} + + {% for field in registration_form.other_fields %} + <tr class="{% cycle odd,even %}"><th>{{ field.label_tag }}</th> + <td>{{ field.errors }}{{ field }}<br />{{ field.help_text }} </td></tr> + {% endfor %} + + </table> + </fieldset> + + <br /> + + <fieldset> + <legend>Demographics</legend> + <table class="kiwipycon-default required"> + {% for field in registration_form.demographic_fields %} + <tr class="{% cycle odd,even %}"><th>{{ field.label_tag }}</th> + <td>{{ field.errors }}{{ field }}<br />{{ field.help_text }} </td></tr> + {% endfor %} + </table> + </fieldset> + <fieldset> + <legend>Others</legend> + <table class="kiwipycon-default"> + {{ wifi_form }} + </table> + + <button class="button left" + type="submit"> + Submit Registration + </button> + </fieldset> + </form> + {% if message %} + <script type="text/javascript"> + $.jGrowl("{{ message }}"); +</script> + {% endif %} +{% endblock content %} diff --git a/project/templates/sponsor/schwag.html b/project/templates/sponsor/schwag.html new file mode 100644 index 0000000..f01f1bf --- /dev/null +++ b/project/templates/sponsor/schwag.html @@ -0,0 +1,26 @@ +{% extends "base.html" %} +<!-- TODO: Replace sentences with PR's suggestions. --> +{% block title %} +Schwag Sponsors +{% endblock %} + +{% block content %} + <h1>Schwag Sponsors</h1> + +<p>The SciPy.in 2009 Organising Committee would also like to thank the +following organisations for their generous contributions of giveaway items for +the SciPy.in PyCon attendees!</p> + +<p><ul> + <li>(co-chair) <a href='https://cirl.berkeley.edu/view/User/JarrodMillman'>Jarrod Millman</a>, Neuroscience Institute, UC Berkeley (USA)</li> + <li>(co-chair) <a href='http://www.aero.iitb.ac.in/~prabhu'>Prabhu Ramachandran</a>, Department of Aerospace Engineering, +IIT Bombay (India)</li> + <li>Vimal Joseph, <a href='http://space-kerala.org/'>SPACE-Kerala (India)</a></li> + <li><a href='http://fossee.in/'>FOSSEE Team</a></li> + <li><a href='http://www.itmission.kerala.gov.in'>Kerala State IT Mission(KSITM)</a></li> + <li><a href='http://csi-india.org'>SIG-FOSS Of CSI</a></li> +</ul></p> + + +{% endblock %} + diff --git a/project/templates/talk/edit-talk.html b/project/templates/talk/edit-talk.html new file mode 100644 index 0000000..c6df8c0 --- /dev/null +++ b/project/templates/talk/edit-talk.html @@ -0,0 +1,23 @@ +{% extends "base.html" %} + +{% block title %}Edit Talk{% endblock %} + +{% block content %} +<h1>Edit Talk</h1> + +{% include '_errors.html' %} +<form action="{% url kiwipycon_edit_talk id %}" + method="post"> + <fieldset> + <legend>Edit Talk</legend> + <table class="kiwipycon-default"> + {{ form }} + </table> + <button class="button left" + type="submit"> + Save Changes + </button> + </fieldset> +</form> +{% endblock content %} + diff --git a/project/templates/talk/schedule.html b/project/templates/talk/schedule.html new file mode 100644 index 0000000..82ee2ec --- /dev/null +++ b/project/templates/talk/schedule.html @@ -0,0 +1,22 @@ +{% extends "base.html" %} +{% block content %} +<div class="post"> + <div class="title"> + <h2><a name="date">Dates</a></h2> + </div> + <div class="entry"> + <p>Its a 6-day programme between December 12 - 17, 2009, comprising of 2 days of conference, 2 days of tutorials with 2 parallel tracks (one specifically for teachers and the other for the general +public), and 2 days of Sprints.</p> + <table cellspacing="5"> + <tr> <td align=center>Date</td><td>Activity</td> </tr> + <tr > <td align=right>Saturday, Dec. 12 2009</td><td>Conference</td> </tr> + <tr> <td align=right>Sunday, Dec. 13 2009</td><td>Conference</td> </tr> + <tr> <td align=right>Monday, Dec. 14 2009</td><td>Tutorials</td> </tr> + <tr> <td align=right>Tuesday, Dec. 15 2009</td><td>Tutorials</td> </tr> + <tr> <td align=right>Wednesday, Dec. 16 2009</td><td>Sprint</td> </tr> + <tr> <td align=right>Thursday, Dec. 17 2009</td><td>Sprint</td> </tr> + </table> + </div> +<h3>Details of the programme will be updated soon.</h3> +</div> +{% endblock content %}
\ No newline at end of file diff --git a/project/templates/talk/submit-talk.html b/project/templates/talk/submit-talk.html new file mode 100644 index 0000000..79d3c80 --- /dev/null +++ b/project/templates/talk/submit-talk.html @@ -0,0 +1,63 @@ +{% extends "base.html" %} + +{% block title %}Submit Talk Proposal{% endblock %} + +{% block content %} + <h1>Submit Talk Proposal</h1> + +{% include '_errors.html' %} + + <form action="{% url kiwipycon_submit_talk %}" + method="post"> + {% if not user.is_authenticated %} + <fieldset> + <legend>Are you a member of this site?</legend> + <table class="kiwipycon-default required"> + {{ login_form }} + </table> + + <input type="hidden" + name="action" + value="login" /> + + <button class="button left" + type="submit"> + Login + </button> + </fieldset> + + </form> + <br /> + <form action="{% url kiwipycon_submit_talk %}" + enctype="multipart/form-data" + method="post"> + <fieldset> + <legend>Speaker Registration</legend> + <table class="kiwipycon-default required"> + {{ register_form }} + </table> + + <input type="hidden" + name="action" + value="register" /> + </fieldset> + {% endif %} + <br /> + <fieldset> + <legend>Talk Submission</legend> + <table class="kiwipycon-default required"> + {{ talk_form }} + </table> + + <button class="button left" + type="submit"> + Submit Talk + </button> + </fieldset> + </form> + {% if message %} + <script type="text/javascript"> + $.jGrowl("{{ message }}"); +</script> + {% endif %} +{% endblock content %} diff --git a/project/templates/talk/talk_detail.html b/project/templates/talk/talk_detail.html new file mode 100644 index 0000000..f99a146 --- /dev/null +++ b/project/templates/talk/talk_detail.html @@ -0,0 +1,43 @@ +{% extends "base.html" %} + +{% block title %}{{ object.title }}{% endblock %} + +{% block content %} +<h1>{{ object.title }}</h1> +<p><a href="/talks/">View all talks</a></p> + +<style> +dl.default dt { + font-weight: bold; +} +dl.default dd { + margin-bottom: 1em; +} +</style> + +<dl class="default"> + <dt>Title</dt> + <dd>{{ object.title }}</dd> + <dt>Speaker</dt> + <dd>{{ object.speaker.get_profile.fullname }}</dd> + <dt>Speaker's profile</dt> + <dd>{{ object.speaker.get_profile.about }}</dd> + <dt>Topic</dt> + <dd>{{ object.topic }}</dd> + <dt>Abstract</dt> + <dd>{{ object.abstract }}</dd> + <dt>Outline</dt> + <dd>{{ object.outline }}</dd> + <dt>Audience</dt> + {% load talk_extras %} + {% with choices|choice:object.audience as audience %} + <dd>{{ audience|title }}</dd> + {% endwith %} + <dt>Tags</dt> + <dd>{{ object.tags }}</dd> +</dl> + +</ul> +{% endblock content %} + + diff --git a/project/templates/talk/talk_list.html b/project/templates/talk/talk_list.html new file mode 100644 index 0000000..b3ee5f1 --- /dev/null +++ b/project/templates/talk/talk_list.html @@ -0,0 +1,22 @@ +{% extends "base.html" %} + +{% block title %}Talk Listing{% endblock %} + +{% block content %} +<h1>Talks</h1> +<h3>Accepted talks list is not out yet. This page will be updated soon.</h3> +<p><strong>Showing {{ count }} of {{ count }}</strong></p> + +<ul class="plain"> +{% for object in object_list %} +<li> + <ul class="plain" style="margin-bottom:1em;"> + <li><a href="/talks/talk/{{object.id }}/">{{ object.title }}</a></li> + <li><strong>{{ object.speaker.get_profile.fullname }}</strong></li> + <li>{{ object.abstract }}</li> + </ul> +</li> +{% endfor %} +</ul> +{% endblock content %} + diff --git a/project/templates/talk/talks-cfp.html b/project/templates/talk/talks-cfp.html new file mode 100644 index 0000000..96ae5b3 --- /dev/null +++ b/project/templates/talk/talks-cfp.html @@ -0,0 +1,33 @@ +{% extends "base.html" %} +{% block content %} +<div class="section" id="call-for-papers"> +<h1>Call for Papers</h1> +<p>We welcome contributions from the academic world as well as the industry. +We look forward to your submissions on the use of Python for scientific +computing and education. This includes pedagogy, exploration, modeling and +analysis from both applied and developmental perspectives.</p> +<div class="section" id="submission-of-papers"> +<h2>Submission of Papers</h2> +<p>If you wish to present, please submit an abstract of between +300 and 700 words should describe the topic and motivate its +relevance to scientific computing. Depending on the number +and quality of submissions, the conference organizers will +allot between 10-30 minutes for all accepted talks.</p> +<p>In addition, there will be an open session for lightning talks +during which any attendee willing to do so is invited to do a +couple-of-minutes-long presentation.</p> +<p>If you wish to present a talk at the conference, please follow +the guidelines below.</p> +</div> +<div class="section" id="submission-guidelines"> +<h2>Submission Guidelines</h2> +<ul class="simple"> +<li>Submissions should be uploaded via <a href="{% url kiwipycon_submit_talk %}">the web form.</a></li> +<li>Submissions whose main purpose is to promote a commercial product or +service will be refused.</li> +<li>All accepted proposals must be presented at the SciPy conference by +at least one author.</li> +</ul> +</div> +</div> +{% endblock content %}
\ No newline at end of file diff --git a/project/templates/user/_usermenu.html b/project/templates/user/_usermenu.html new file mode 100644 index 0000000..db03c78 --- /dev/null +++ b/project/templates/user/_usermenu.html @@ -0,0 +1,16 @@ +<div class="right"> + <ul class="horizontal-menu"> + <li> + <a href="{% url kiwipycon_account %}">My Profile</a> + </li> + <li> + <a href="{% url kiwipycon_edit_profile %}">Edit Profile</a> + </li> + <li> + <a href="{% url kiwipycon_password %}">Change Password</a> + </li> + <li> + <a href="{% url kiwipycon_username %}">Change Username</a> + </li> + </ul> +</div> diff --git a/project/templates/user/account.html b/project/templates/user/account.html new file mode 100644 index 0000000..3a5302e --- /dev/null +++ b/project/templates/user/account.html @@ -0,0 +1,119 @@ +{% extends "base.html" %} + <li class="last"><a + href="mailto:kauaerangastore@xtra.co.nz">kauaerangastore@xtra.co.nz</a></li> +<!-- TODO: Lot of fees related and New Zealand group related info. --> +{% block title %}My Profile{% endblock %} + +{% block content %} +<h1>My Profile: {{ user.first_name }} {{user.last_name}}</h1> + +<table class="kiwipycon-default"> + <tr> + <td class="label"> + Username: + </td> + <td> + {{ user.username }} + </td> + </tr> + <tr> + <td class="label"> + Name: + </td> + <td> + {% if user.first_name %} + <span>{{ user.get_full_name }}</span> + {% else %} + <span class="important">No name, please <a + href="{% url kiwipycon_edit_profile %}">edit profile</a>.</span> + {% endif %} + </td> + <td rowspan="4"> + <div class="picture"> + <img src="{{ photo }}" width="80" height="80" /> + </div> + </td> + </tr> + <tr> + <td class="label"> + Email: + </td> + <td> + <a href="mailto:{{ user.email }}">{{ user.email }}</a> + </td> + </tr> + <tr> + <td class="label"> + Url: + </td> + <td> + <a href="{{ profile.url }}" target="_blank">{{ profile.url }}</a> + </td> + </tr> + <tr> + <td class="label"> + About: + </td> + <td style="width: 40em"> + {{ profile.about }} + </td> + </tr> +</table> +{% if comment %} +<strong>{{ comment }}</strong> +{% endif %} +{% if form %} +<!-- wifi form --> + <h2>Wifi</h2> +<p>The following form will help the SciPy.in team identify wireless +requirements.</p> +<form action="" method="post"> +<table> + {{ form }} +</table> +<input type="submit" value="submit" /> +</form> +{% endif %} +{% if registration %} +<div id="talks"> + <h2>Your Registration</h2> +<p> + <a href="/edit-registration/{{ registration.id }}/" + title="Edit">Edit Registration</a> + {% if registration.sponsor %} + {% else %} + | <a href="/invoice/" + title="Your invoice (html)">Your invoice (html)</a> (<a href="/pdf_invoice/" + title="Your invoice (pdf)">pdf</a>)</p> + {% endif %} + </p> +</div> +{% endif %} +{% if talks %} +<div id="talks"> + <h2>Your Submitted Talks</h2> + <table class="kiwipycon-default" border="1"> + <th>Title</th> + <th>Duration</th> + <th>Audience</th> + <th>Tags</th> + <th> </th> +{% for talk in talks %} +<tr> +<td>{{ talk.title }}</td> +<td>{{ talk.duration }}</td> +<td>{{ talk.audience }}</td> +<td>{{ talk.tags }}</td> +<td> + {% if talk.approved %} + <span>Accepted</span> + {% else %} + <a href="/edit-talk/{{ talk.id }}/" title="Edit">Edit</a> + {% endif %} +</td> +</tr> +{% endfor %} +</table> +</div> +{% endif %} +{% endblock content %} diff --git a/project/templates/user/editprofile.html b/project/templates/user/editprofile.html new file mode 100644 index 0000000..fd73d3b --- /dev/null +++ b/project/templates/user/editprofile.html @@ -0,0 +1,28 @@ +{% extends "base.html" %} + +{% block title %}Edit Your Profile{% endblock %} + +{% block content %} + <h1>Edit Your Profile</h1> + + + <form action="{% url kiwipycon_edit_profile %}" + enctype="multipart/form-data" + method="post"> + <fieldset> + <legend>Edit Profile</legend> + <table class="kiwipycon-default"> + {{ form }} + </table> + <input type="hidden" + name="action" + value="email" /> + + <input class="button left" + type="submit" + value="Save Changes" /> + + </fieldset> + </form> +{% endblock %} + diff --git a/project/templates/user/login.html b/project/templates/user/login.html new file mode 100644 index 0000000..9d920ad --- /dev/null +++ b/project/templates/user/login.html @@ -0,0 +1,73 @@ +{% extends "base.html" %} + +{% block title %}Login or Register{% endblock %} + +{% block content %} +<h1>Login or Register</h1> + + <div class="login"> + <h2 class="authenticate">Login</h2> + + <div class="description"> + Log in for registered users of the site. + </div> + + <form class="authenticate" + enctype="multipart/form-data" + action="{% url kiwipycon_login %}" + method="post"> + + <table class="kiwipycon-default"> + {{ login_form }} + <tr> + <td></td> + <td> + <a href="{% url kiwipycon_password_reset %}">Forgot password?</a> + </td> + </tr> + </table> + + <input type="hidden" + name="action" + value="login" /> + + <input type="hidden" + name="next" + value="{{ next_url }}" /> + + <button class="button left" + type="submit"> + Login + </button> + + </form> + </div> + + <div class="register"> + <h2 class="authenticate">Register</h2> + + <div class="description"> + If you are not already a member of the site you can register here. + </div> + + <form action="{% url kiwipycon_login %}" + method="post"> + <table class="kiwipycon-default"> + {{ register_form }} + </table> + <input type="hidden" + name="action" + value="register" /> + + <input type="hidden" + name="next" + value="{{ next_url }}" /> + + <button class="button left" + type="submit"> + Register + </button> + </form> + </div> +{% endblock content %} + diff --git a/project/templates/user/password.html b/project/templates/user/password.html new file mode 100644 index 0000000..ece1e96 --- /dev/null +++ b/project/templates/user/password.html @@ -0,0 +1,56 @@ +{% extends "base.html" %} + +{% block title %}Change Your Password{% endblock %} + + +{% block content %} + + <h1>Change Your Password</h1> + + <p> + Please enter your old password, for security's sake, and then enter your new password twice so we can verify you typed it in correctly. + </p> + + <form action="{% url kiwipycon_password %}" + method="post"> + <table class="kiwipycon-default"> + <tr> + <td class="label"> + <label for="id_old_password">Old password:</label> + </td> + <td> + {{ form.old_password.errors }} + {{ form.old_password }} + </td> + </tr> + <tr> + <td class="label"> + <label for="id_new_password1">New password:</label> + </td> + <td> + {{ form.new_password1.errors }} + {{ form.new_password1 }} + </td> + </tr> + <tr> + <td class="label"> + <label for="id_new_password2">Confirm password:</label> + </td> + <td> + {{ form.new_password2.errors }} + {{ form.new_password2 }} + </td> + </tr> + <tr> + <td></td> + <td> + <input class="button left" type="submit" value="Change password" /> + </td> + </tr> + </table> + + </table> + </form> + +{% endblock %} + diff --git a/project/templates/user/username.html b/project/templates/user/username.html new file mode 100644 index 0000000..0e101a8 --- /dev/null +++ b/project/templates/user/username.html @@ -0,0 +1,32 @@ +{% extends "base.html" %} + +{% block title %}Change Your Username{% endblock %} + +{% block content %} + <h1>Change your username</h1> + + <form action="{% url kiwipycon_username %}" + method="post"> + <table class="kiwipycon-default"> + <tr> + <td class="label"> + <label for="id_username">New username:</label> + </td> + <td> + {{ form.username.errors }} + {{ form.username }} + </td> + </tr> + <tr> + <td></td> + <td> + <input class="button left" + type="submit" + value="Save username" /> + </td> + </tr> + </table> + + </form> +{% endblock %} + |