pi_gpiozero_examples/templates/index.html

21 lines
311 B
HTML
Raw Permalink Normal View History

2020-11-18 07:48:51 +01:00
<!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>