Add web server using prefab framework

This commit is contained in:
Daniel Pupius
2025-04-21 09:53:04 -07:00
parent 4f4f927d54
commit 758aaa0dc0
5 changed files with 317 additions and 2 deletions
+40
View File
@@ -0,0 +1,40 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Meshtastic Stream</title>
<style>
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
margin: 0;
padding: 20px;
line-height: 1.6;
}
h1 {
color: #333;
}
#messages {
margin-top: 20px;
border: 1px solid #ddd;
padding: 10px;
height: 400px;
overflow-y: auto;
background-color: #f9f9f9;
}
</style>
</head>
<body>
<h1>Meshtastic Stream</h1>
<div id="messages">
<p>Waiting for messages...</p>
</div>
<script>
// Placeholder for future WebSocket/API integration
document.addEventListener('DOMContentLoaded', () => {
console.log('Page loaded, ready to connect to API');
});
</script>
</body>
</html>