pi_gpiozero_examples/templates/index.html
2020-11-18 07:48:51 +01:00

21 lines
311 B
HTML

<!DOCTYPE html>
<html>
<head>
<title>LEDS!</title>
</head>
<body>
<form action="/on/" method="post">
<button name="forwardBtn" type="submit">On</button>
</form>
<form action="/off/" method="post">
<button name="forwardBtn" type="submit">Off</button>
</form>
<p>{{led_status}} </p>
</body>
</html>