Initial commit
This commit is contained in:
42
greenhouse/templates/index.html
Normal file
42
greenhouse/templates/index.html
Normal file
@@ -0,0 +1,42 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Gewächshaus</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link href="/static/css/style.css" rel="stylesheet">
|
||||
<script src="/static/scripts/index.js"></script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<h1>Gewächshaus</h1>
|
||||
|
||||
<table class="center">
|
||||
<tr>
|
||||
<td><h2>Temperatur </h2></td>
|
||||
<td><h2 id="temperature_value"></h2></td>
|
||||
</tr>
|
||||
</table>
|
||||
<table class="center">
|
||||
<tr>
|
||||
<td class="table_left">Heizung </td>
|
||||
<td id="heat_state"></td>
|
||||
<td class="input">
|
||||
<input id="heat_switch" type="submit" value="" onclick="on_switch_heat()"></input>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="left">Bewässerung </td>
|
||||
<td class="center" id="water_state"></td>
|
||||
<td class="input">
|
||||
<input id="water_switch" type="submit" value="" onclick="on_switch_water()"></input>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
<footer>
|
||||
<nav>
|
||||
<a href="/">Home</a> | </a>
|
||||
<a href="/config">Configuration</a>
|
||||
</nav>
|
||||
</footer>
|
||||
</html>
|
Reference in New Issue
Block a user