49 lines
1.4 KiB
HTML
49 lines
1.4 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>Musik</title>
|
|
<link rel="stylesheet" type="text/css" href="/static/musik.css">
|
|
<script type="text/javascript" src="/static/musik.js"></script>
|
|
<script>
|
|
const api_uri = "{{ url_for('select') }}";
|
|
</script>
|
|
<script>window.onload = load;</script>
|
|
</head>
|
|
<body>
|
|
<div id="globalContainer">
|
|
<div id="titleContainer"><h1>Musik</h1></div>
|
|
<div id="navigationContainer">
|
|
<div id="artistListContainer" class="list">
|
|
<select id="artistList" size="2" class="list" onchange="select_artist(this)">
|
|
{% for artist in artists %}
|
|
<option value="{{ artist }}">{{ artist }}</option>
|
|
{% endfor %}
|
|
</select>
|
|
</div>
|
|
<div id="albumListContainer" class="list">
|
|
<select id="albumList" size="2" class="list" onchange="select_album(this)">
|
|
</select>
|
|
</div>
|
|
<div id="trackListContainer" class="list">
|
|
<select id="trackList" size="2" class="list" onchange="select_track(this)">
|
|
</select>
|
|
</div>
|
|
</div>
|
|
<div id="playerContainer">
|
|
<span id="albumCover"><img src=""></span>
|
|
<span id="playerControls">
|
|
<h4><span id="nowPlayingArtist"></span> - <span id="nowPlayingAlbum"></span></h4>
|
|
<h3 id="nowPlayingTitle"></h3>
|
|
<audio id="player" controls>
|
|
<source id="stream" src="" type="audio/ogg">
|
|
</audio>
|
|
<div>
|
|
<input type="checkbox" name="shuffle" id="shuffle" checked="true">
|
|
<label for="shuffle">Shuffle</label>
|
|
</div>
|
|
</span>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|