32 lines
771 B
HTML
32 lines
771 B
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>Bellflower</title>
|
|
</head>
|
|
<body style="text-align: center;">
|
|
<h1>Welcome, {{user.name}}</h1>
|
|
<p>Visitors are currently {{ status }}</p>
|
|
<form action="/checkin" method="post">
|
|
<input type="submit" value="Check In Visitor">
|
|
</form>
|
|
|
|
<table id="checkins">
|
|
<thead>
|
|
<tr>
|
|
<th>Visitor Name</th>
|
|
<th>Check-in Time</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for username in checkins.keys() %}
|
|
<tr>
|
|
<td>{{ username }}</td>
|
|
<td>{{ checkins[username][-1] }}</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
|
|
</table>
|
|
</body>
|
|
</html> |