36 lines
919 B
HTML
36 lines
919 B
HTML
{# Template #}
|
|
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>Empede</title>
|
|
|
|
<!-- Source: https://github.com/bigskysoftware/htmx -->
|
|
<script src="/static/vendor/htmx.min.js"></script>
|
|
<script src="/static/vendor/htmx-sse.js"></script>
|
|
|
|
<link rel="stylesheet" href="/static/style.css">
|
|
<link href="/static/favicon.png" rel="icon" type="image/png">
|
|
|
|
<script>
|
|
let progressBar;
|
|
let elapsed;
|
|
let duration;
|
|
let progressInterval;
|
|
</script>
|
|
</head>
|
|
|
|
<body hx-ext="sse" sse-connect="/sse">
|
|
<div
|
|
class="browser"
|
|
hx-trigger="load,sse:database"
|
|
hx-get="/browser"
|
|
hx-vals="js:{path: new URLSearchParams(window.location.search).get('path') || ''}"
|
|
></div>
|
|
|
|
<div class="player">
|
|
<div hx-trigger="sse:player" hx-get="/player"></div>
|
|
<div hx-trigger="sse:playlist,sse:player" hx-get="/queue"></div>
|
|
</div>
|
|
</body>
|
|
</html>
|
|
|