Add frontend components and API for system status display
Some checks failed
Deploy to BeePC / deploy (push) Has been cancelled

This commit is contained in:
2026-02-05 11:02:05 -05:00
parent 8a1409b3d6
commit ea6cc3fc85
7 changed files with 327 additions and 41 deletions

48
public/index.html Normal file
View File

@@ -0,0 +1,48 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>HomeBase</title>
<link rel="icon" type="image/x-icon" href="/favicon.ico">
<link rel="stylesheet" href="/styles.css">
</head>
<body>
<div class="container">
<header>
<h1>HomeBase</h1>
<p class="subtitle">Home automation hub</p>
</header>
<main>
<section class="status-section">
<h2>System Status</h2>
<div class="status-card">
<p id="status-message" class="loading">Loading...</p>
<p id="status-timestamp" class="timestamp"></p>
</div>
</section>
<section class="info-section">
<h2>Information</h2>
<div class="info-grid">
<div class="info-card">
<h3>Version</h3>
<p id="version">1.0.0</p>
</div>
<div class="info-card">
<h3>Domain</h3>
<p id="domain">Loading...</p>
</div>
</div>
</section>
</main>
<footer>
<p>&copy; 2026 HomeBase. All rights reserved.</p>
</footer>
</div>
<script src="/app.js"></script>
</body>
</html>