summaryrefslogtreecommitdiff
path: root/template/allotter/complete.html
blob: 9374daefa44ff6b48d475029cbff5dae90d8a267 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
{% extends "base.html" %}

{% block title %}Options saved.{% endblock %}

{% block content %}

<h2> The following options have been saved. Please verify them before logging out.</h2>

<h3> Please keep in mind that, the next time you login you will be redirected to this page straightaway.</h3>

{% if options_chosen %}
<table class="table table-bordered table-striped">
<thead>
<td><p>Programme Code </p></td>
<td><p>Programme Name </p></td>
<td><p>Insitute </p></td>
<td><p>Preference </p></td>
</thead>

<tbody>
{% for option in options_chosen %}
    <tr> 
    <td><p> {{ forloop.counter }} </p></td>
    <td><p> {{ option.opt_code }} </p></td>
    <td><p> {{ option.opt_name }} </p></td>
    <td><p> {{ option.opt_location }} </p></td>
    </tr>
{% endfor %}
</tbody>
</table>

{% if email %}

An email with the list of options has been sent {{ email }} for book-keeping purposes.

{% endif %}

{% else %}

<h3> No Options were chosen, Press Edit Options to go back and select options otherwise Press logout to exit the allotment process </h3>

{% endif %}

<form id="apply" action="/allotter/{{username}}/apply/" method="post">
{% csrf_token %}
<input type="submit" name="apply" value="Edit Options" class="btn" />
</form>

<a href="{{ STATIC_URL }}files/iiitb_voucher.pdf" class="btn pull-right" >Download pdf</a>
<form id ="get_pdf" action="/allotter/{{username}}/get_pdf/" method="post">
{% csrf_token %}
<input type="submit" name="get_pdf" value="Generate PDF" class="btn" />
</form>
<form id="logout" action="/allotter/logout/" method="post">
{% csrf_token %}
<input type="submit" name="logout" value="Quit Allotment" class="btn" />
</form>

{% endblock content %}