41 lines
576 B
HTML
41 lines
576 B
HTML
|
<html>
|
||
|
|
||
|
<head>
|
||
|
<title>Pico W</title>
|
||
|
<meta http-equiv="refresh" content="500">
|
||
|
<style>
|
||
|
body {
|
||
|
margin: 20px;
|
||
|
font-family: sans-serif;
|
||
|
text-align: center;
|
||
|
background-color: #333;
|
||
|
color: #ddd;
|
||
|
}
|
||
|
|
||
|
.led-on {
|
||
|
color: greenyellow;
|
||
|
}
|
||
|
|
||
|
.led-off {
|
||
|
color: lightblue;
|
||
|
}
|
||
|
|
||
|
.water-present {
|
||
|
color: pink;
|
||
|
}
|
||
|
|
||
|
.water-absent {
|
||
|
color: lightblue;
|
||
|
}
|
||
|
|
||
|
</style>
|
||
|
</head>
|
||
|
|
||
|
<body>
|
||
|
<h2>Pico W</h2>
|
||
|
<p>{{datetime}}</p>
|
||
|
<p>Led is <span class="{{ledClass}}">{{ledStatus}}</span></p>
|
||
|
</body>
|
||
|
|
||
|
</html>
|