author | Madhusudan.C.S <madhusudancs@gmail.com> |
Thu, 14 Jan 2010 21:07:03 +0530 | |
changeset 92 | 3743275f7291 |
child 93 | e86755df35da |
permissions | -rw-r--r-- |
92
3743275f7291
Added submission template to the repository.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
1 |
{% extends "base.html" %} |
3743275f7291
Added submission template to the repository.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
2 |
{% block title %}Submit Paper for Proceedings{% endblock %} |
3743275f7291
Added submission template to the repository.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
3 |
|
3743275f7291
Added submission template to the repository.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
4 |
{% block addscripts %} |
3743275f7291
Added submission template to the repository.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
5 |
<script type="text/javascript" src="/static/jquery/jquery-ui-1.7.2.custom.min.js"></script> |
3743275f7291
Added submission template to the repository.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
6 |
<script type="text/javascript" src="/static/jquery/jquery-dynamic-form.js"></script> |
3743275f7291
Added submission template to the repository.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
7 |
<script type="text/javascript"> |
3743275f7291
Added submission template to the repository.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
8 |
$(document).ready(function(){ |
3743275f7291
Added submission template to the repository.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
9 |
$("#author").dynamicForm("#plus", "#minus", {createColor: 'yellow',removeColor: 'red'}); |
3743275f7291
Added submission template to the repository.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
10 |
}); |
3743275f7291
Added submission template to the repository.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
11 |
</script> |
3743275f7291
Added submission template to the repository.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
12 |
{% endblock %} |
3743275f7291
Added submission template to the repository.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
13 |
|
3743275f7291
Added submission template to the repository.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
14 |
{% block content %} |
3743275f7291
Added submission template to the repository.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
15 |
<h1>Submit Proceedings paper</h1> |
3743275f7291
Added submission template to the repository.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
16 |
|
3743275f7291
Added submission template to the repository.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
17 |
{% include '_errors.html' %} |
3743275f7291
Added submission template to the repository.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
18 |
|
3743275f7291
Added submission template to the repository.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
19 |
<form action="{% url kiwipycon_submit_proceedings %}" method="post"> |
3743275f7291
Added submission template to the repository.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
20 |
{% if not user.is_authenticated %} |
3743275f7291
Added submission template to the repository.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
21 |
<fieldset> |
3743275f7291
Added submission template to the repository.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
22 |
<legend>Are you a member of this site?</legend> |
3743275f7291
Added submission template to the repository.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
23 |
<table class="kiwipycon-default required">{{ login_form }}</table> |
3743275f7291
Added submission template to the repository.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
24 |
<input type="hidden" name="action" value="login" /> |
3743275f7291
Added submission template to the repository.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
25 |
<button class="button left" type="submit">Login</button> |
3743275f7291
Added submission template to the repository.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
26 |
</fieldset> |
3743275f7291
Added submission template to the repository.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
27 |
</form> |
3743275f7291
Added submission template to the repository.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
28 |
<br /> |
3743275f7291
Added submission template to the repository.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
29 |
<form action="{% url kiwipycon_submit_talk %}" enctype="multipart/form-data" method="post"> |
3743275f7291
Added submission template to the repository.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
30 |
<fieldset> |
3743275f7291
Added submission template to the repository.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
31 |
<legend>User Registration</legend> |
3743275f7291
Added submission template to the repository.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
32 |
<table class="kiwipycon-default required">{{ register_form }}</table> |
3743275f7291
Added submission template to the repository.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
33 |
<input type="hidden" name="action" value="register" /> |
3743275f7291
Added submission template to the repository.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
34 |
</fieldset> |
3743275f7291
Added submission template to the repository.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
35 |
|
3743275f7291
Added submission template to the repository.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
36 |
{% endif %} |
3743275f7291
Added submission template to the repository.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
37 |
<br /> |
3743275f7291
Added submission template to the repository.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
38 |
|
3743275f7291
Added submission template to the repository.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
39 |
<fieldset> |
3743275f7291
Added submission template to the repository.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
40 |
<legend>Proceedings Paper Submission</legend> |
3743275f7291
Added submission template to the repository.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
41 |
<table class="kiwipycon-default required"> |
3743275f7291
Added submission template to the repository.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
42 |
<tr> |
3743275f7291
Added submission template to the repository.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
43 |
<th>{{ proceedings_form.title.label }}</th> |
3743275f7291
Added submission template to the repository.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
44 |
<td>{{ proceedings_form.title.errors }}{{ proceedings_form.title }}</td> |
3743275f7291
Added submission template to the repository.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
45 |
</tr> |
3743275f7291
Added submission template to the repository.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
46 |
<tr> |
3743275f7291
Added submission template to the repository.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
47 |
<th>{{ proceedings_form.abstract.label }}</th> |
3743275f7291
Added submission template to the repository.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
48 |
<td>{{ proceedings_form.abstract.errors }}{{ proceedings_form.abstract }}</td> |
3743275f7291
Added submission template to the repository.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
49 |
</tr> |
3743275f7291
Added submission template to the repository.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
50 |
<tr> |
3743275f7291
Added submission template to the repository.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
51 |
<th>{{ proceedings_form.body.label }}</th> |
3743275f7291
Added submission template to the repository.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
52 |
<td>{{ proceedings_form.body.errors }}{{ proceedings_form.body }}</td> |
3743275f7291
Added submission template to the repository.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
53 |
</tr> |
3743275f7291
Added submission template to the repository.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
54 |
<tr> |
3743275f7291
Added submission template to the repository.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
55 |
<th>{{ proceedings_form.rst_file.label }}</th> |
3743275f7291
Added submission template to the repository.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
56 |
<td>{{ proceedings_form.rst_file.errors }}{{ proceedings_form.rst_file }}</td> |
3743275f7291
Added submission template to the repository.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
57 |
</tr> |
3743275f7291
Added submission template to the repository.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
58 |
<tr> |
3743275f7291
Added submission template to the repository.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
59 |
<th>{{ proceedings_form.authors.label }}</th> |
3743275f7291
Added submission template to the repository.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
60 |
<td id="author"> |
3743275f7291
Added submission template to the repository.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
61 |
{{ proceedings_form.authors.errors }} |
3743275f7291
Added submission template to the repository.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
62 |
{{ proceedings_form.authors }} |
3743275f7291
Added submission template to the repository.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
63 |
<span><a id="minus" href="">[Remove]</a><a id="plus" href="">[Add]</a></span> |
3743275f7291
Added submission template to the repository.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
64 |
<br /> |
3743275f7291
Added submission template to the repository.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
65 |
</td> |
3743275f7291
Added submission template to the repository.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
66 |
</tr> |
3743275f7291
Added submission template to the repository.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
67 |
</table> |
3743275f7291
Added submission template to the repository.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
68 |
<button class="button left" type="submit">Submit Paper</button> |
3743275f7291
Added submission template to the repository.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
69 |
</fieldset> |
3743275f7291
Added submission template to the repository.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
70 |
</form> |
3743275f7291
Added submission template to the repository.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
71 |
{% if message %} |
3743275f7291
Added submission template to the repository.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
72 |
<script type="text/javascript">$.jGrowl("{{ message }}");</script> |
3743275f7291
Added submission template to the repository.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
73 |
{% endif %} |
3743275f7291
Added submission template to the repository.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff
changeset
|
74 |
{% endblock content %} |