sanic/static/index.html

127 lines
3.5 KiB
HTML
Raw Normal View History

2023-10-18 19:18:38 +02:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>sanic :: paused</title>
2023-11-06 22:38:39 +01:00
<link rel="stylesheet" type="text/css" href="/style.css" />
2023-10-18 19:18:38 +02:00
</head>
<body>
<!-- top navigation and playback control -->
<header id="top-nav">
2023-11-06 22:38:39 +01:00
<div class="navbox box">
<button>sanic</button>
<button>Config</button>
</div>
<div class="navbox box">
2023-10-19 18:36:40 +02:00
<div>
<button>⏮️</button>
<button>⏯️</button>
<button>⏹️</button>
<button>⏭️</button>
</div>
<div>
2023-11-06 22:38:39 +01:00
<label for="progress"></label>
<input type="range" id="progress" name="progress" min="0" max="100" />
</div>
</div>
<div class="navbox box">
<p>[ ] repeat</p>
<p>[ ] shuffle</p>
<label for="volume"></label>
<input id="volume" name="volume" type="range" min="1" max="100" />
</div>
<div class="navbox box">
<div>
<label for="track"></label>
<input id="track" name="track" type="text" value="artist - track" />
2023-10-19 18:36:40 +02:00
</div>
2023-10-18 19:18:38 +02:00
</div>
</header>
<main>
2023-11-06 22:38:39 +01:00
<section id="playlist" class="box">
2023-10-18 19:18:38 +02:00
<table>
<thead>
<tr>
<th>Position</th>
<th>Artist</th>
<th>Title</th>
<th>Album</th>
<th>Length</th>
</tr>
</thead>
<tbody>
<tr>
<td>autoincremented number</td>
<td>some artist</td>
<td>some song</td>
<td>some album</td>
<td>some time</td>
</tr>
</tbody>
</table>
</section>
2023-11-06 22:38:39 +01:00
<section id="db" class="box">
2023-10-18 19:18:38 +02:00
<!-- tabs -->
<div id="tabs">
<button class="tablink active" onclick="switchTab(event, 'folders')">Folders</button>
<button class="tablink" onclick="switchTab(event, 'search')">Search</button>
<button class="tablink" onclick="switchTab(event, 'playlists')">Playlists</button>
</div>
<!-- Folders tab -->
<div id="tab-folders" class="tab active">
<nav>
</nav>
</div>
<!-- Search tab -->
<div id="tab-search" class="tab">
<form>
<input type="text" />
<button>Search</button>
</form>
</div>
<!-- Playlists tab -->
<div id="tab-playlists" class="tab">
<ul>
<li>Playlist 1</li>
<li>Playlist 2</li>
<li>Playlist 3</li>
</ul>
</div>
<!-- Tab results -->
<div>
<table>
<thead>
<tr>
<th>Artist</th>
<th>Title</th>
<th>Album</th>
<th>Length</th>
<th>Filename</th>
</tr>
</thead>
<tbody>
<tr>
<td>some artist</td>
<td>some song</td>
<td>some album</td>
<td>some time</td>
<td>some filename</td>
</tr>
</tbody>
</table>
</div>
</section>
</main>
<!-- informational footer -->
2023-11-06 22:38:39 +01:00
<footer id="bottom" class="box">
2023-10-18 19:18:38 +02:00
<p>sanic mpd web ui - by XenGi and coon &copy; 2023</p>
</footer>
2023-11-06 22:38:39 +01:00
<script src="/index.js"></script>
2023-10-18 19:18:38 +02:00
</body>
</html>