Thomas Klaehn 07e10f991c Initial commit
Signed-off-by: Thomas Klaehn <tkl@blackfinn.de>
2021-01-18 09:56:52 +01:00

53 lines
1.4 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<title>Yard Light</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
html, body {
margin: 0;
padding: 0;
font-size: 18px !important;
font-family: 'Muli', arial, verdana, helvetica, sans-serif;
font-weight: 300;
font-style: normal;
height: 100%;
color: #2A2459;
background: #ffffff;
}
body {
display:flex;
flex-direction:column;
}
h1 {text-align: center;}
p {text-align: center;}
div {text-align: center;}
.button {
color: #2A2459;
background-color: #c2d100;
padding: 10px;
margin: 10px 0;
border: none;
border-radius: 8px;
font-size: 1.2rem;
width: 12rem;
}
</style>
</head>
<body>
<h1>Yard Light</h1>
<p>
<form action="/on" method="POST">
<div><button class="button">On</button></div><br>
</form>
<form action="/off" method="POST">
<div><button class="button">Off</button></div><br>
</form>
</p>
</body>
</html>