summaryrefslogtreecommitdiff
path: root/template/allotter/complete.html
blob: 799d9654ef07d6d2d86ff2dd92abb9f193794375 (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>
<tr>
<td><p>Programme Code </p></td>
<td><p>Programme Name </p></td>
<td><p>Insitute </p></td>
<td><p>Preference </p></td>
</tr>

{% 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 %}

</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 action="/allotter/apply/" method="post">
{% csrf_token %}
<input type="submit" name="apply" value="Edit Options" />
</form>

<form action="/allotter/get_pdf/" method="post">
{% csrf_token %}
<input type="submit" name="get_pdf" value="Generate PDF" />
</form>

<form action="/allotter/logout/" method="post">
{% csrf_token %}
<input type="submit" name="logout" value="Quit Allotment" />
</form>

{% endblock content %}