summaryrefslogtreecommitdiffstats
path: root/modules-available/exams/templates/page-exams.html
blob: 6c67fa2c38e2d1592ef7aa9cf2db84a9e89fda1f (plain) (blame)
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

<h1>All Exams</h1>

<table class="table">
	<tr>
		<th>ID</th>
		<th>Location</th>
		<th>Begin</th>
		<th>End</th>
		<th>Actions</th>
	</tr>
	{{#exams}}
		<tr>
			<td>{{examid}}</td>
			<td>
				<a href="?do=baseconfig&module=locations&locationid={{locationid}}"> {{locationname}} </a>
			</td>
			<td>{{starttime}}</td>
			<td>{{endtime}}</td>
			<td>
				<form method="POST" action="?do=exams&action=delete"
					onsubmit="return confirm('delete really?');">
					<input type="hidden" name="token" value="{{token}}"/>
					<input type="hidden" name="examid" value="{{examid}}"/>
					<input type="submit" value="Delete" class="btn btn-sm" />
				</form>
			</td>
		</tr>
	{{/exams}}

</table>
<a href="?do=exams&action=add" class="btn btn-success">Add Exam </a>