template angepasst
This commit is contained in:
parent
b833bebb1c
commit
12caad6f16
@ -14,10 +14,10 @@
|
||||
<h2>{{ pins[pin].name }}
|
||||
{% if pins[pin].state == true %}
|
||||
ist gerade <strong>an</strong></h2><div class="row"><div class="col-md-2">
|
||||
<a href="/{{pin}}/off" class="btn btn-block btn-lg btn-default" role="button">Turn off</a></div></div>
|
||||
<a href="/{{pins[pin].nr}}/off" class="btn btn-block btn-lg btn-default" role="button">Turn off</a></div></div>
|
||||
{% else %}
|
||||
ist gerade <strong>aus</strong></h2><div class="row"><div class="col-md-2">
|
||||
<a href="/{{pin}}/on" class="btn btn-block btn-lg btn-primary" role="button">Turn on</a></div></div>
|
||||
<a href="/{{pins[pin].nr}}/on" class="btn btn-block btn-lg btn-primary" role="button">Turn on</a></div></div>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% for pin in pins_in %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user