Heat switch is only visible id auto heat is off
This commit is contained in:
@@ -20,20 +20,24 @@
|
||||
<div>
|
||||
<img src="{{url_for('static', filename='greenhouse_temperature.png')}}"/>
|
||||
</div>
|
||||
<table class="center">
|
||||
<tr>
|
||||
<td class="table_left">Heizung</td>
|
||||
<td class="input">
|
||||
<input id="heat_switch" type="submit" value="" onclick="on_switch_heat()"></input>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="table_left">Frostwächter</td>
|
||||
<td class="input">
|
||||
<input id="heat_auto_switch" type="submit" value="" onclick="on_switch_heat_autostate()"></input>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<div>
|
||||
<table class="center">
|
||||
<tr>
|
||||
<td class="table_left" id="heat_switch_label" style="visibility: hidden;">Heizung </td>
|
||||
<td class="input">
|
||||
<input id="heat_switch" style="visibility: hidden;" type="submit" value="" onclick="on_switch_heat()"></input>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<table class="center">
|
||||
<tr>
|
||||
<td class="table_left">Frostwächter</td>
|
||||
<td class="input">
|
||||
<input id="heat_auto_switch" type="submit" value="" onclick="on_switch_heat_autostate()"></input>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div id="config_temperatures" style="visibility:hidden;">
|
||||
<table class="center">
|
||||
<tr>
|
||||
|
Reference in New Issue
Block a user