Add frontend components and API for system status display
Some checks failed
Deploy to BeePC / deploy (push) Has been cancelled
Some checks failed
Deploy to BeePC / deploy (push) Has been cancelled
This commit is contained in:
48
public/index.html
Normal file
48
public/index.html
Normal 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>© 2026 HomeBase. All rights reserved.</p>
|
||||
</footer>
|
||||
</div>
|
||||
|
||||
<script src="/app.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user