2022-09-07 16:44:59 +02:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
2022-09-08 13:17:58 +02:00
|
|
|
<link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}">
|
2022-09-07 16:44:59 +02:00
|
|
|
<head>
|
|
|
|
<title>Redeems Dashboard</title>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<table>
|
|
|
|
<tbody>
|
|
|
|
<td> Number of drinks: </td>
|
|
|
|
<td> {{ number_of_drinks }} </td>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
2022-09-14 14:04:27 +02:00
|
|
|
{% if queue %}
|
2022-09-07 16:44:59 +02:00
|
|
|
<table>
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th>time</th>
|
|
|
|
<th>redeem</th>
|
|
|
|
<th>redeemer</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
{% for row in queue %}
|
|
|
|
<tbody>
|
2022-09-27 18:23:10 +02:00
|
|
|
<td>{{ row[0].replace(tzinfo=utc_timezone).astimezone().strftime("%H:%M") }}</td>
|
2022-09-07 16:44:59 +02:00
|
|
|
<td>{{ row[1] }}</td>
|
|
|
|
<td>{{ row[2] }}</td>
|
|
|
|
</tbody>
|
|
|
|
{% endfor %}
|
|
|
|
</table>
|
2022-09-14 14:04:27 +02:00
|
|
|
{% endif %}
|
2022-09-07 16:44:59 +02:00
|
|
|
</body>
|
2022-09-27 18:23:10 +02:00
|
|
|
</html>
|