summaryrefslogtreecommitdiff
path: root/kvmd/web/index.html
blob: 935ea77df1735fcfdf60bb46e98d70f93222d0be (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
51
52
53
54
55
56
57
58
59
<!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/msd.js"></script>
<script src="js/session.js"></script>
<script src="js/main.js"></script>

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

<body>
	<ul id="ctl">
		<li class="ctl-left"><img id="logo" src="svg/logo.svg" alt="&pi;-kvm" /></li>
		<li class="ctl-right"><img id="hid-mouse-led" class="led-off" src="svg/hid-mouse-led.svg" /></li>
		<li class="ctl-right"><img id="hid-keyboard-led" class="led-off" src="svg/hid-keyboard-led.svg" /></li>
		<li class="ctl-right"><img id="stream-led" class="led-off" src="svg/stream-led.svg" /></li>
		<li class="ctl-right"><img id="msd-led" class="led-off" src="svg/msd-led.svg" /></li>
		<li class="ctl-right"><img id="atx-hdd-led" class="led-off" src="svg/atx-hdd-led.svg" /></li>
		<li class="ctl-right-sep"><img id="atx-power-led" class="led-off" src="svg/atx-power-led.svg" /></li>

		<li class="ctl-right-sep">
			<div class="ctl-dropdown">
				<a class="ctl-item" href="#">ATX Buttons&#8628;</a>
				<div class="ctl-dropdown-content">
					<button id="atx-power-button" onclick="atx.clickButton(this);" href="#">Click Power</button>
					<button id="atx-power-button-long" onclick="atx.clickButton(this);" href="#">Click Power (long)</button>
					<hr>
					<button id="atx-reset-button" onclick="atx.clickButton(this);"href="#">Click Reset</button>
				</div>
			</div>
		</li>

		<li class="ctl-right-sep">
			<div class="ctl-dropdown">
				<a class="ctl-item" href="#">Tools &#8628;</a>
				<div class="ctl-dropdown-content">
					<button id="stream-reset-button" onclick="stream.clickResetButton(this);"href="#">Reset stream</button>
				</div>
			</div>
		</li>
	</ul>

	<div class="centered">
		<div id="stream-box">
			<img src="/streamer/?action=stream" id="stream-image" class="stream-image-inactive" alt="Loading..." />
		</div>
	</div>
</body>
</html>