DoorAdmin/imaginaerraum_door_admin/templates/index.html

19 lines
423 B
HTML
Raw Normal View History

2021-03-14 16:08:46 +00:00
{% extends 'base.html' %}
{% block header %}
{% block title %}<h1>Space Zugangsverwaltung</h1>{% endblock %}
{% endblock %}
{% block content %}
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 }}
2021-03-14 16:08:46 +00:00
{% endblock %}