cyp/app/index.html

104 lines
2.9 KiB
HTML
Raw Normal View History

2019-03-20 03:45:23 +08:00
<!doctype html>
<html>
2019-03-20 05:56:39 +08:00
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width" />
<title>Control Your Player</title>
2020-03-10 05:24:31 +08:00
<link rel="stylesheet" href="cyp.css" />
2020-06-19 14:29:09 +08:00
<link rel="icon" href="https://emojimage.toad.cz/🎵" />
2020-06-27 04:26:44 +08:00
<meta name="mobile-web-app-capable" content="yes" />
2019-03-20 05:56:39 +08:00
</head>
<body>
2020-03-09 16:26:10 +08:00
<cyp-app theme="dark" color="dodgerblue">
2019-03-20 05:56:39 +08:00
<header>
2020-03-09 05:11:46 +08:00
<cyp-player>
2019-03-21 17:32:58 +08:00
<span class="art"></span>
2019-03-22 23:17:10 +08:00
<div class="info">
2020-03-15 05:11:14 +08:00
<span class="title"></span>
<span class="subtitle"></span>
2019-04-11 19:34:24 +08:00
<div class="timeline">
<span class="elapsed"></span>
2020-05-06 19:27:44 +08:00
<x-range step="0.1"></x-range>
2019-04-11 19:34:24 +08:00
<span class="duration"></span>
</div>
2019-03-22 23:17:10 +08:00
</div>
2019-03-29 05:52:57 +08:00
<div class="controls">
2019-04-11 19:34:24 +08:00
<div class="playback">
<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>
<div class="volume">
2020-05-06 19:55:01 +08:00
<button class="mute" data-icon="volume-high volume-off"></button>
2019-04-26 19:48:23 +08:00
<x-range></x-range>
2019-04-11 19:34:24 +08:00
</div>
2019-03-29 05:52:57 +08:00
</div>
2019-03-27 00:07:52 +08:00
<div class="misc">
2019-03-29 05:52:57 +08:00
<button class="repeat" data-icon="repeat"></button>
<button class="random" data-icon="shuffle"></button>
2019-03-27 00:07:52 +08:00
</div>
2020-03-09 05:11:46 +08:00
</cyp-player>
2019-03-20 05:56:39 +08:00
</header>
<main>
2020-03-09 22:26:36 +08:00
<cyp-queue></cyp-queue>
2020-03-12 05:46:28 +08:00
<cyp-playlists></cyp-playlists>
<cyp-library></cyp-library>
2020-03-16 06:14:55 +08:00
<cyp-yt></cyp-yt>
2020-03-09 05:11:46 +08:00
<cyp-settings>
2019-04-03 01:52:53 +08:00
<dl>
<dt>Theme</dt>
<dd>
<select name="theme">
2020-03-09 05:11:46 +08:00
<option value="auto">Auto</option>
2019-04-03 01:52:53 +08:00
<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>
2020-03-18 05:02:12 +08:00
<dt>YouTube results</dt>
<dd>
<select name="yt-limit">
<option value="1">1</option>
<option value="3">3</option>
<option value="5">5</option>
<option value="10">10</option>
</select>
</dd>
2019-04-03 01:52:53 +08:00
</dl>
2020-03-09 05:11:46 +08:00
</cyp-settings>
2019-03-20 05:56:39 +08:00
</main>
<footer>
2020-03-09 05:11:46 +08:00
<cyp-menu>
<button data-for="queue" data-icon="music">
<div>
<span>Queue</span>
2020-03-17 05:57:13 +08:00
<span class="queue-length"></span>
2020-03-09 05:11:46 +08:00
</div>
</button>
<button data-for="playlists" data-icon="playlist-music"><span>Playlists</span></button>
<button data-for="library" data-icon="library-music"><span>Library</span></button>
<button data-for="yt" data-icon="download"><span>YouTube</span></button>
<button data-for="settings" data-icon="settings"><span>Settings</span></button>
</cyp-menu>
</footer>
</cyp-app>
2020-03-10 05:24:31 +08:00
2020-12-26 04:00:44 +08:00
<script type="module" src="cyp.js?1"></script>
2019-03-20 05:56:39 +08:00
</body>
</html>