btrtracks/public/index.html

57 lines
2.0 KiB
HTML
Raw Normal View History

2018-10-05 10:36:57 +00:00
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="index.css">
<title>Music Server</title>
</head>
<body>
<div class="container">
<input type="text" id="search" placeholder="Search" class="flex-row">
<div class="table-container flex-row">
<table width="100%">
<tbody id="ttable">
<tr>
<th class="small">#</th>
<th>Track</th>
<th>Artist</th>
<th>Album</th>
<th class="small">Year</th>
<th class="small">Duration</th>
</tr>
</tbody>
</table>
</div>
<div class="pages flex-row">
<div class="paging btn" id="jump-first" onclick="showTracks(1)"><<</div>
2018-10-05 13:28:44 +00:00
<div class="paging btn inner" id="jump-prev" onclick="showTracks(pageNum - 1)"><</div>
<div class="paging bg" id="pagenum">0 / 0</div>
<div class="paging btn inner" id="jump-next" onclick="showTracks(pageNum + 1)">></div>
2018-10-05 10:36:57 +00:00
<div class="paging btn" id="jump-last" onclick="showTracks(pages)">>></div>
</div>
<div class="player flex-row">
<div id="playing">Nothing playing</div>
<audio id="player"></audio>
<div class="player-controls">
2018-10-05 13:28:44 +00:00
<span class="prev-btn flex-col icon" id="player-prev"></span>
<span class="play-btn flex-col icon" id="player-play"></span>
<span class="next-btn flex-col icon" id="player-next"></span>
<span class="timestamp flex-col" id="player-ts">0:00 / 0:00</span>
<div class="seek-bar seek-container flex-col grow" id="player-seekbar">
<div class="seek-inner"></div>
</div>
<div class="volume flex-col">
<span class="mute-btn flex-col icon" id="player-mute"></span>
<div class="volume-bar seek-container flex-col" id="player-volbar">
<div class="seek-inner"></div>
</div>
</div>
2018-10-05 10:36:57 +00:00
</div>
</div>
</div>
<script type="text/javascript" src="index.js"></script>
2018-10-05 13:28:44 +00:00
<script type="text/javascript" src="player.js"></script>
2018-10-05 10:36:57 +00:00
</body>
</html>