summaryrefslogtreecommitdiff
path: root/kvmd/web/index.html
blob: 76c94c2fbacd13c44b6a9cd24664c4b1bb808c3a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8" />
	<title>&pi;-kvm</title>
	<link rel="stylesheet" href="css/main.css">
</head>

<script src="js/tools.js"></script>
<script src="js/stream.js"></script>
<script src="js/atx.js"></script>
<script src="js/keyboard.js"></script>
<script src="js/mouse.js"></script>
<script src="js/hid.js"></script>
<script src="js/session.js"></script>
<script src="js/main.js"></script>

<script>window.onload = main;</script>

<body>
	<div id="stream-box">
		<img src="/streamer/?action=stream" id="stream-image" class="stream-image-inactive" alt="Loading..."/>
		<hr>
		<table cellpadding="0" cellspacing="0" style="border: none;">
			<tr>
				<td><div id="stream-led" class="led-off">&#128437;</div></td>
				<td>&nbsp;</td>
				<td><div id="hid-keyboard-led" class="led-off">&#9000;</div></td>
				<td>&nbsp;</td>
				<td><div id="hid-mouse-led" class="led-off">&#128432;</div></td>
				<td>&nbsp;&nbsp;</td>
				<td><button id="stream-reset-button" type="button" title="Click here if your video looks like crap" onclick="stream.clickResetButton(this);">Reset stream</button></td>
			</tr>
		</table>
	</div>

	<table cellpadding="0" cellspacing="5" style="border: none;">
		<tr>
			<td><div id="atx-power-led" class="led-off">&#x23FB;</div></td>
			<td><div id="atx-hdd-led" class="led-off">&#128436;</div></td>
			<td>&nbsp;</td>
			<!--<td><div id="msd-led" class="led-off">&#9991;</div></td>
			<td>&nbsp;</td>-->
			<td><button id="atx-power-button" type="button" title="Click hardware power button" onclick="atx.clickButton(this);">Power</button></td>
			<td><button id="atx-power-button-long" type="button" title="Click hardware power button (long press)" onclick="atx.clickButton(this);">Power (long)</button></td>
			<td><button id="atx-reset-button" type="button" title="Click to force reset" onclick="atx.clickButton(this);">Reset</button></td>
		</tr>
	</table>
</body>
</html>