summaryrefslogtreecommitdiff
path: root/static/index.html
blob: 23e2db6effa3b7f7e3f1dcf7ebac0139503f0b63 (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
<!DOCTYPE html>
<html>
<head>
	<title>foo</title>
	<script src="/static/audio.js" type="text/javascript"></script>
	<script src="/static/player.js" type="text/javascript"></script>
	<script src="/static/playlist.js" type="text/javascript"></script>
	<link rel="stylesheet" href="/static/style.css" type="text/css" />
</head>
<body>
	<textarea id="logbox" readonly="readonly" rows="10" cols="50"></textarea>
	<div>
		<input type="button" value="Close event source" onclick="source.close()" />
		<input type="button" value="Open event source" onclick="event_open()" />
		<input type="button" value="Refresh directory" onclick="list(document.getElementById('current-dir').innerHTML.split(': ', 2)[1])" />
	</div>
	<div id="current-dir"></div>
	<div id="hpanel">
		<span>
			<span class="list-header">Browse directory</span>
			<ul id="song-links"></ul>
		</span>
		<span>
			<span class="list-header">Song queue</span>
			<ul id="playlist"></ul>
		</span>
	</div>
	<div id="audio-src-url">none</div>
	<audio id="audio" controls="controls"></audio>
</body>
</html>