Raphael Maenle
c9cbb53eea
- calendar json file now generated on demand at download request - device fingerprint route now added
37 lines
1.2 KiB
HTML
37 lines
1.2 KiB
HTML
{% extends "sidebar.html" %}
|
|
{% block body%}
|
|
|
|
<div class="container">
|
|
<div style="font-weight: bold;width: 15rem; margin: 1rem">Device ID</div>
|
|
<div style="font-weight: bold;width: 10rem; margin: 1rem; padding-right: 4rem">Link Status</div>
|
|
<div style="font-weight: bold;width: 4rem; margin: 1rem">Action</div>
|
|
</div>
|
|
|
|
{% for item in devices %}
|
|
<div class="container">
|
|
<!--device id-->
|
|
<div style="width: 15rem; margin: 1rem;">{{ item.deviceId }}</div>
|
|
|
|
<!--link status-->
|
|
<div style="width: 10rem; margin: 1rem; padding-right: 4rem">
|
|
Connected
|
|
</div>
|
|
|
|
<!--action button-->
|
|
<div style="width: 4rem; margin: 1rem;">
|
|
<button type="button">Unlink</button>
|
|
</div>
|
|
|
|
</div>
|
|
{% endfor %}
|
|
<form action="" method="post">
|
|
<div class="container grey" style="margin-top: 3rem;">
|
|
<div>{{ form.hidden_tag() }}</div>
|
|
<div style="width: 7rem; margin: 1rem">{{ form.deviceId.label }}</div>
|
|
<div style="width: 12rem; margin: 1rem">{{ form.deviceId(size=24) }}</div>
|
|
<div style="with: 7rem; margin: 1rem">{{ form.submit() }}</div>
|
|
</div>
|
|
</form>
|
|
|
|
{% endblock %}
|