App-MHFS
view release on metacpan or search on metacpan
share/templates/music_legacy.html view on Meta::CPAN
<html>
<head>
<style type="text/css">
html, body{
padding: 0px;
margin: 0px;
}
body {
color: #ababab;
background: #000;
font-family: Segoe UI, Helvetica, Arial, Sans-Serif;
}
.header {
position: fixed;
top: 0;
padding-left: 25px;
background-color: #000;
width: 100%;
}
.body {
margin-top: 90px;
margin-bottom: 200px;
padding-left: 25px;
}
.track:hover {
background-color: yellow;
}
.footer {
position: fixed;
bottom: 0;
width: 100%;
height: 200px;
padding-left: 25px;
}
audio {
width: 80%; margin:20px;
}
#seekbar {
width: 60%; margin:20px;
}
</style>
<title>Music</title>
</head>
<body>
<div class="header row">
<h1>Music</h1>
</div>
<div class="body row scroll-y">
<div id="musicdb">
<TMPL_VAR NAME="musicdb">
<br><br><br><br><br><br><br><br><br><br><br>
</div>
</div>
<div class="footer row" style="background-color:blue;">
<table border="1" width="80%">
<tr><th>Previous</th><th>Now Playing</th><th>Next</th></tr>
<tr><td><div id="prev_text"></div></td><td><div id="play_text"></div></td><td><div id="next_text"></div></td></tr>
</table>
<input type="button" value="PREV" onclick="playPreviousTrack();"><audio id="mainplayer" controls="controls" preload="none"> <source id="audio_src" src=""></source></audio><input type="button" value="NEXT" onclick="playNextTrack()">
<iframe src="static/250ms_silence.mp3" allow="autoplay" id="audio" style="display:none"></iframe>
</div>
<script>
( run in 0.729 second using v1.01-cache-2.11-cpan-97f6503c9c8 )