diff options
author | Jon Bergli Heier <snakebite@jvnv.net> | 2011-08-10 19:43:09 +0200 |
---|---|---|
committer | Jon Bergli Heier <snakebite@jvnv.net> | 2011-08-10 19:43:09 +0200 |
commit | aba69b26f66ee1483ceb73316d412ce1f87d1744 (patch) | |
tree | 0ea319fe2006430af1f932c3e196c1eb34608529 /static/index.html | |
parent | c016ab19ace023d1fde977e6e6b7fae6e1f20261 (diff) |
Implemented a client-side song queue.
Diffstat (limited to 'static/index.html')
-rw-r--r-- | static/index.html | 12 |
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> |