-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcandidates.html
48 lines (45 loc) · 1.29 KB
/
candidates.html
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
{% extends "bootstrap.html" %}
{% block title %}Agnimithra 2k16|CSE-Registered{% endblock %}
{% block content %}
<div class="container">
<a onclick="window.print()"><img src="/static/img/printer.png" height="20px" width="20px"/>Click Here to print</a>
<center>
<br>
<h4>Agnimithra 2k16</h4>
<h5>Department of Computer Science</h5>
<h5>Anna University-Villupuram Campus</h5>
<h4>Registered Candidates</h4>
</center>
<div class="col-md-12">
{% if persons %}
<table class="table table-striped text-left" width="100%">
<thead>
<tr>
<th><center>ID</center></th>
<th><center>Name</center></th>
<th><center>Email</center></th>
<th><center>College</center></th>
<th><center>Dept</center></th>
<th><center>ACC</center></th>
</tr>
</thead>
<tbody>
{% for person in persons %}
<tr>
<td>{{ person.id }}</td>
<td>{{ person.candidate }}</td>
<td>{{ person.mailid }}</td>
<td>{{ person.college }}</td>
<td>{{ person.department }}</td>
<td>{{ person.accomodation }}</td>
</tr>
{% endfor %}
</tbody>
</table>
{% else %}
<h3>No Candidates Registered :(</h1>
{% endif %}
<h3>Count: {{ persons.count }}</h3>
</div>
</div>
{% endblock content %}