grooveondemand/groove/static/themes/blue_train/templates/playlist.tpl

75 lines
2.4 KiB
Smarty
Raw Normal View History

<!doctype html>
<html lang="en">
<head>
<title>{{playlist['name']}} - Groove On Demand</title>
<meta charset="utf-8">
<meta name="viewport" content="user-scalable=no">
<meta name="title" content="{{playlist['name']}}">
<meta name="description" content="{{playlist['description']}}">
<meta name="url" content="{{playlist['url']}}">
<meta name="type" content="audio">
<meta name="provider_name" content="Groove on Demand">
<meta name="html" "<iframe width=\"480\" height=\"270\" src=\"{{playlist['url']}}\" frameborder=\"0\" allowfullscreen=\"\"></iframe>">
<link rel='stylesheet' href='/static/styles.css' />
<link rel='stylesheet' href="https://fonts.cdnfonts.com/css/clarendon-mt-std" />
<script defer crossorigin src='https://cdnjs.cloudflare.com/ajax/libs/howler/2.2.3/howler.core.min.js'></script>
<script defer src='/static/player.js'></script>
<script>
var playlist_tracks = [
% for entry in playlist['entries']:
{
title: "{{entry['artist']}} - {{entry['title']}}",
url: "{{entry['url']}}",
},
% end
];
</script>
</head>
<body>
<div id='container'>
<div id='details'>
<div id='poster'>
<img src=''></img>
</div>
<div>
<h1 id='playlist_title'>{{playlist['name']}}</h1>
<span id='playlist_desc'>{{playlist['description']}}</span>
</div>
</div>
<table id='player'>
<tr>
<td id='controls'>
<div id='big_button' class='btn'>
2022-12-31 14:48:09 -08:00
<div id="loading"></div>
<div id="playBtn"></div>
<div id="pauseBtn"></div>
</div>
</td>
<td>
<div id="track"></div>
<div id='track_controls'>
<div class='widget' id="timer">0:00</div>
<div class='widget' id="bar">
<hr>
<div id="progress"></div>
</div>
<div class='widget' id="duration">0:00</div>
<div class="widget btn" id="prevBtn">⏮</div>
<div class="widget btn" id="nextBtn">⏭</div>
</div>
</td>
</tr>
</table>
<div id="playlist">
<div id="list"></div>
</div>
2022-12-31 13:26:48 -08:00
<div id='footer'>groove on demand : an <a alt="evilchili at liner notes dot club" href="https://linernotes.club/@evilchili">@evilchili</a> jam</div>
</div>
</div>
</body>
</html>