-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathattendance_records.html
More file actions
56 lines (56 loc) · 1.45 KB
/
attendance_records.html
File metadata and controls
56 lines (56 loc) · 1.45 KB
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
<!DOCTYPE html>
<html>
<head>
<title>Attendance Records</title>
<style>
body{
background-image: url("https://www.desktopbackground.org/download/o/2012/06/23/410280_website-design-background-png_1920x1080_h.png");
}
table {
width: 100%;
border-collapse: collapse;
}
th, td {
border: 4px solid white;
padding: 8px;
text-align: left;
color: white;
}
th {
background-color: gray;
}
h1{
color: aliceblue;
}
form {
margin-bottom: 20px;
}
</style>
</head>
<body>
<h1><u>Attendance Records</u></h1>
<form method="POST" action="/filter_attendance">
<label for="date" style="color: aliceblue"><b>Select Date:</b></label>
<input type="date" id="date" name="date" required>
<input type="submit" value="Filter">
</form>
<table>
<thead>
<tr>
<th>Username</th>
<th>Time</th>
<th>Status</th>
</tr>
</thead>
<tbody>
{% for record in records %}
<tr>
<td>{{ record[1] }}</td>
<td>{{ record[2] }}</td>
<td>{{ record[3] }}</td>
</tr>
{% endfor %}
</tbody>
</table>
</body>
</html>