summaryrefslogtreecommitdiff
path: root/choice_seeker/template/allotter/complete.html
diff options
context:
space:
mode:
Diffstat (limited to 'choice_seeker/template/allotter/complete.html')
-rw-r--r--choice_seeker/template/allotter/complete.html60
1 files changed, 60 insertions, 0 deletions
diff --git a/choice_seeker/template/allotter/complete.html b/choice_seeker/template/allotter/complete.html
new file mode 100644
index 0000000..26ee46d
--- /dev/null
+++ b/choice_seeker/template/allotter/complete.html
@@ -0,0 +1,60 @@
+{% 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 id="apply" action="/allotter/{{username}}/apply/" method="post">
+{% csrf_token %}
+<input type="submit" name="apply" value="Edit Options" />
+</form>
+
+<form id ="get_pdf" action="/allotter/{{username}}/get_pdf/" method="post">
+{% csrf_token %}
+<input type="submit" name="get_pdf" value="Generate PDF" />
+</form>
+
+<form id="logout" action="/allotter/logout/" method="post">
+{% csrf_token %}
+<input type="submit" name="logout" value="Quit Allotment" />
+</form>
+
+{% endblock content %}
+
+