29 lines
580 B
HTML
29 lines
580 B
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>Space Zugangsverwaltung</title>
|
|
</head>
|
|
<body>
|
|
<h1>Space Zugangsverwaltung</h1>
|
|
Zustand der Tür:
|
|
{% if door_state == 'closed' %}
|
|
<div style="color: red">
|
|
Abgeschlossen
|
|
</div>
|
|
{% elif door_state == 'open' %}
|
|
<div style="color: limegreen">
|
|
Geöffnet
|
|
</div>
|
|
{% endif %}
|
|
<br>
|
|
Position Drehgeber: {{ encoder_position }}
|
|
<p>
|
|
<a href="{{ url_for('list_tokens') }}">Übersicht Tokens</a>
|
|
</p>
|
|
<p>
|
|
<a href="{{ url_for('register') }}">Token registrieren</a>
|
|
</p>
|
|
|
|
</body>
|
|
</html> |