summaryrefslogtreecommitdiff
path: root/static/index.html
blob: c1c747fd8d1a4eb6bedaf47494ce6e820e6e90c7 (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
<!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="browser.list(document.getElementById('current-dir').innerHTML.split(': ', 2)[1])" />
	</div>
	<div id="search-div">
		<input type="text" id="search-query" onkeypress="browser.do_search(event)" />
	</div>
	<div id="current-dir"></div>
	<div id="hpanel">
		<span "browser-span">
			<span class="list-header">Browse directory</span>
			<a href="#" onclick="browser.add_directory(); return false" id="add-dir">Add all</a>
			<ul id="song-links"></ul>
		</span>
		<span id="playlist-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>