blob: e2f231238991b3992f31a70e36fe0d2f56887bd8 (
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="list(document.getElementById('current-dir').innerHTML.split(': ', 2)[1])" />
</div>
<div id="search-div">
<input type="text" id="search-query" onkeypress="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="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>
|