attendance-flask-mini-app/templates/thanks.html
2022-07-28 01:42:30 -05:00

24 lines
589 B
HTML

<!DOCTYPE html>
<html>
<head>
<title>Example</title>
</head>
<body>
{% if error %}
<h1>Error</h1>
<p>Code has been used already.</p>
{% else %}
<h1>Thanks</h1>
<p><strong>At {{ time }}</strong>,</p>
<p>Registered (entrance? exit?) for user {{ user }} .</p>
<h2>Last 10 registers for {{ user }}:</h2>
<li>
{% for hit in hits %}
<ul>{{ hit['created'] }}</ul>
{% endfor %}
</li>
{% endif %}
</body>
</html>