aboutsummaryrefslogtreecommitdiff
path: root/rootfs/srv/http/index.html
blob: 0812323ed119896178df2da52fc9ef54af9b5a9d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<!DOCTYPE html>
<html>
	<head>
		<meta charset='utf-8'>
		<title>Hello world!</title>
		<style>form { display: inline; }</style>
	</head>
	<body>
		<!-- invisible iframe hack to request /on and /off in background w/o JS -->
		<iframe name="dummy" style="display: none;"></iframe>
		Turn leds
		<form action="/on" target="dummy"><button type="submit">on</button></form>
		or
		<form action="/off" target="dummy"><button type="submit">off</button></form>
	</body>
</html>