35 lines
668 B
HTML
35 lines
668 B
HTML
<html>
|
|
<body>
|
|
|
|
<table>
|
|
<ul>
|
|
{% for k, v in states %}
|
|
<li>
|
|
{% if v['name'] == hostname %}<b>{% endif %}
|
|
<a href="http://{{ k }}:5000">{{ v['name'] }}</a> ({{ v['slide'] }})
|
|
{% if v['name'] == hostname %}</b>{% endif %}
|
|
</li>
|
|
{% endfor %}
|
|
</ul>
|
|
|
|
<tr>
|
|
<th>Włącz</th>
|
|
{% for n in range(10) %}
|
|
<td><a href="/set/{{ n }}">{{ n + 1 }}</a></td>
|
|
{% endfor %}
|
|
|
|
<td><a href="/set/all">Wszystko</a></td>
|
|
</tr>
|
|
<tr>
|
|
<th>Wyłącz</th>
|
|
{% for n in range(10) %}
|
|
<td><a href="/clear/{{ n }}">{{ n + 1 }}</a></td>
|
|
{% endfor %}
|
|
<td><a href="/clear/all">Wszystko</a></td>
|
|
</tr>
|
|
</table>
|
|
|
|
<a href="/restart" style="color: red">RESTART</a>
|
|
</body>
|
|
</html>
|