Random fixes
This commit is contained in:
@@ -2,18 +2,33 @@
|
||||
<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>
|
||||
|
||||
Reference in New Issue
Block a user