Initial commit
This commit is contained in:
77
gardenui/templates/garden.html
Normal file
77
gardenui/templates/garden.html
Normal file
@@ -0,0 +1,77 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Garten</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link href="/static/css/style.css" rel="stylesheet">
|
||||
<script src="/static/scripts/garden.js"></script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<h1>Garten</h1>
|
||||
<table class="center">
|
||||
<tr>
|
||||
<td class="left">Bewässerung</td>
|
||||
<td class="input">
|
||||
<input id="water_switch" type="submit" value="" onclick="on_switch_water()"></input>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="left">Zeigesteuerte Bewässerung </td>
|
||||
<td class="input">
|
||||
<input id="auto_switch" type="submit" value="einschalten" onclick="on_switch_auto_state()"></input>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<div id="water_times" style="visibility:hidden;">
|
||||
<table class="center">
|
||||
<tr>
|
||||
<td>Vormittag</td>
|
||||
<td>
|
||||
<table>
|
||||
<tr>
|
||||
<td>Einschaltzeit</td>
|
||||
<td class="input">
|
||||
<input type="text" id="water_on_one" style="width: 70px;" onchange="on_change_config()"></input>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Ausschaltzeit</td>
|
||||
<td class="input">
|
||||
<input type="text" id="water_off_one" style="width: 70px;" onchange="on_change_config()"></input>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Nachmittag</td>
|
||||
<td>
|
||||
<table>
|
||||
<tr>
|
||||
<td>Einschaltzeit</td>
|
||||
<td class="input">
|
||||
<input type="text" id="water_on_two" style="width: 70px;" onchange="on_change_config()"></input>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Ausschaltzeit</td>
|
||||
<td class="input">
|
||||
<input type="text" id="water_off_two" style="width: 70px;" onchange="on_change_config()"></input>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</body>
|
||||
<footer>
|
||||
<nav>
|
||||
<a href="/">Home</a> | 
|
||||
<a href="/greenhouse_1" class="center">Gewächshaus 1</a> | 
|
||||
<a href="/greenhouse_2" class="center">Gewächshaus 2</a> | 
|
||||
<a href="/garden" class="center">Gemüsegarten</a>
|
||||
</nav>
|
||||
</footer>
|
||||
</html>
|
Reference in New Issue
Block a user