summaryrefslogtreecommitdiff
path: root/static/index.html
blob: 15384aa691db0363fa2ee534e49c96c63d5419a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<!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>
	<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>
	<ul id="song-links"></ul>
	<div id="audio-src-url">none</div>
	<audio id="audio" controls="controls"></audio>
</body>
</html>