cyp/app/index.html

110 lines
3.4 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" />
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">
<h2 class="title"></h2>
2019-04-01 04:02:26 +08:00
<div class="subtitle"></div>
2019-04-11 19:34:24 +08:00
<div class="timeline">
<span class="elapsed"></span>
2019-04-26 19:48:23 +08:00
<x-range></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">
2019-04-12 19:34:28 +08:00
<button class="mute" data-icon="volume-high"></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-09 21:26:39 +08:00
<cyp-yt>
2019-04-15 03:02:21 +08:00
<header>
<button class="download" data-icon="download">Download</button>
<button class="search-download" data-icon="magnify">Search &amp; Download</button>
<button class="clear" data-icon="close">Clear</button>
</header>
<pre></pre>
2020-03-09 21:26:39 +08:00
</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>
</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>
<span id="queue-length"></span>
</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>
2020-03-09 22:26:36 +08:00
<!-- <button data-for="fs" data-icon="folder"><span>Files</span></button> -->
2020-03-09 05:11:46 +08:00
<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
<script type="module" src="js/elements/range.js"></script>
<script type="module" src="js/elements/app.js"></script>
<script type="module" src="js/elements/menu.js"></script>
<script type="module" src="js/elements/player.js"></script>
<script type="module" src="js/elements/queue.js"></script>
<script type="module" src="js/elements/playlists.js"></script>
<script type="module" src="js/elements/settings.js"></script>
<script type="module" src="js/elements/yt.js"></script>
<script type="module" src="js/elements/song.js"></script>
2020-03-12 05:46:28 +08:00
<script type="module" src="js/elements/library.js"></script>
2019-03-20 05:56:39 +08:00
</body>
</html>