2023-04-25 01:26:27 +00:00
|
|
|
{# Template #}
|
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<title>Empede</title>
|
|
|
|
<script src="https://unpkg.com/htmx.org@1.9.0" integrity="sha384-aOxz9UdWG0yBiyrTwPeMibmaoq07/d3a96GCbb9x60f3mOt5zwkjdbcHFnKH8qls" crossorigin="anonymous"></script>
|
2023-04-25 16:46:21 +00:00
|
|
|
<script src="https://unpkg.com/htmx.org/dist/ext/sse.js"></script>
|
2023-04-25 01:26:27 +00:00
|
|
|
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@48,400,1,0" />
|
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>
|
|
|
|
|
2023-04-27 01:40:19 +00:00
|
|
|
<body hx-ext="sse" sse-connect="/sse">
|
2023-04-27 02:35:48 +00:00
|
|
|
<div
|
|
|
|
class="browser"
|
2023-04-27 03:01:36 +00:00
|
|
|
hx-trigger="load,sse:database"
|
|
|
|
hx-get="/browser"
|
|
|
|
hx-vals="js:{path: new URLSearchParams(window.location.search).get('path') || ''}"
|
2023-04-27 02:35:48 +00:00
|
|
|
></div>
|
2023-04-25 14:32:51 +00:00
|
|
|
|
2023-04-27 01:40:19 +00:00
|
|
|
<div class="player">
|
2023-04-27 03:01:36 +00:00
|
|
|
<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>
|
|
|
|
|