empede/templates/index.html

30 lines
801 B
HTML
Raw Normal View History

2023-04-25 01:26:27 +00:00
{# Template #}
<!DOCTYPE html>
<html>
<head>
<title>Empede</title>
2023-04-27 12:21:43 +00:00
<!-- Source: https://github.com/bigskysoftware/htmx -->
<script src="/static/vendor/htmx.min.js"></script>
<script src="/static/vendor/htmx-sse.js"></script>
2023-04-27 12:07:35 +00:00
<link rel="stylesheet" href="/static/style.css">
<link href="/static/favicon.png" rel="icon" type="image/png">
2023-04-25 01:26:27 +00:00
</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>
2023-04-25 14:32:51 +00:00
<div class="player">
<div hx-trigger="sse:player" hx-get="/player"></div>
<div hx-trigger="sse:playlist,sse:player" hx-get="/queue"></div>
2023-04-25 14:32:51 +00:00
</div>
2023-04-25 01:26:27 +00:00
</body>
</html>