cyp/app/index.html
Ondrej Zara 82d1d1a78a volume
2019-04-09 16:08:09 +02:00

103 lines
2.6 KiB
HTML

<!doctype html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width" />
<title>Control Your Player</title>
<link rel="stylesheet" href="app.css" />
</head>
<body>
<header>
<section id="player">
<span class="art"></span>
<div class="info">
<h2 class="title"></h2>
<div class="subtitle"></div>
</div>
<div class="controls">
<button class="prev" data-icon="rewind"></button>
<button class="play" data-icon="play"></button>
<button class="pause" data-icon="pause"></button>
<button class="next" data-icon="fast-forward"></button>
<div>
<input type="range" step="any" min="0" class="elapsed" />
</div>
</div>
<div class="misc">
<button class="repeat" data-icon="repeat"></button>
<button class="random" data-icon="shuffle"></button>
</div>
</section>
</header>
<main>
<section id="queue">
<header>
<button class="clear" data-icon="close" title="Clear the queue"></button>
<button class="save" data-icon="content-save" title="Save the queue"></button>
</header>
<ul></ul>
</section>
<section id="playlists">
<ul></ul>
</section>
<section id="library">
<header></header>
<ul></ul>
</section>
<section id="fs">
<header></header>
<ul></ul>
</section>
<section id="yt">
<button class="go" data-icon="download">Go!</button>
<p></p>
</section>
<section id="settings">
<dl>
<dt>Volume</dt>
<dd>
<input type="range" name="volume" min="0" max="100" step="1" />
</dd>
<dt>Theme</dt>
<dd>
<select name="theme">
<option value="dark">Dark</option>
<option value="light">Light</option>
</select>
</dd>
<dt>Color</dt>
<dd>
<label>
<input type="radio" name="color" value="dodgerblue" />
Blue
</label>
<label>
<input type="radio" name="color" value="darkorange" />
Orange
</label>
<label>
<input type="radio" name="color" value="limegreen" />
Green
</label>
</dd>
</dl>
</section>
</main>
<footer>
<nav>
<ul>
<li data-for="queue" data-icon="music">
Queue
<span id="queue-length"></span>
</li>
<li data-for="playlists" data-icon="playlist-music">Playlists</li>
<li data-for="library" data-icon="library-music">Library</li>
<li data-for="fs" data-icon="folder">Files</li>
<li data-for="yt" data-icon="download">YouTube</li>
<li data-for="settings" data-icon="settings">Settings</li>
</ul>
</nav>
</footer>
<script type="module" src="js/app.js"></script>
</body>
</html>