blob: c1d75db0b119d6a0d364030b7e55bebd9bb8393f (
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
|
<!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 "browser-span">
<span class="list-header">Browse directory</span>
<a href="#" onclick="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>
|