summaryrefslogtreecommitdiff
path: root/static/index.html
diff options
context:
space:
mode:
authorJon Bergli Heier <snakebite@jvnv.net>2011-08-10 19:43:09 +0200
committerJon Bergli Heier <snakebite@jvnv.net>2011-08-10 19:43:09 +0200
commitaba69b26f66ee1483ceb73316d412ce1f87d1744 (patch)
tree0ea319fe2006430af1f932c3e196c1eb34608529 /static/index.html
parentc016ab19ace023d1fde977e6e6b7fae6e1f20261 (diff)
Implemented a client-side song queue.
Diffstat (limited to 'static/index.html')
-rw-r--r--static/index.html12
1 files changed, 11 insertions, 1 deletions
diff --git a/static/index.html b/static/index.html
index 15384aa..23e2db6 100644
--- a/static/index.html
+++ b/static/index.html
@@ -4,6 +4,7 @@
<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>
@@ -14,7 +15,16 @@
<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="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>