htmx_mqtt/site/index.html

20 lines
534 B
HTML

<!DOCTYPE <!DOCTYPE html>
<html lang="en">
<head>
<title>HTMX MQTT Test Page</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="style.css" rel="stylesheet">
<script src="https://unpkg.com/htmx.org"></script>
<script src="https://unpkg.com/htmx.org/dist/ext/ws.js"></script>
</head>
<body>
<h1>Test Page</h1>
<div hx-ext="ws" ws-connect="/ws">
<div id="messages" hx-swap-oob="morphdom">
</div>
</div>
</body>
</html>