16 lines
346 B
HTML
16 lines
346 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<body>
|
|
<form action="./lighton">
|
|
<input type="submit" value="Light on" />
|
|
</form>
|
|
<form action="./lightoff">
|
|
<input type="submit" value="Light off" />
|
|
</form>
|
|
<form action="./close">
|
|
<input type="submit" value="Stop server" />
|
|
</form>
|
|
<p>LED is {state}</p>
|
|
<p>Temperature is {temperature}</p>
|
|
</body>
|
|
</html> |