Initial commit of Simple Home Assistant Addon with web interface

This commit is contained in:
Manu
2025-06-01 12:04:22 +02:00
commit 3d987c3eb6
12 changed files with 660 additions and 0 deletions

49
web/index.html Normal file
View File

@ -0,0 +1,49 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Simple Home Assistant Addon</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<div class="container">
<header>
<h1>Simple Home Assistant Addon</h1>
<p>A simple interface for controlling your Home Assistant addon</p>
</header>
<main>
<div class="card">
<h2>Addon Status</h2>
<div class="status-indicator">
<span id="status-dot" class="status-dot"></span>
<span id="status-text">Checking...</span>
</div>
</div>
<div class="card">
<h2>Send Message</h2>
<div class="form-group">
<label for="message">Message:</label>
<input type="text" id="message" placeholder="Enter your message">
</div>
<button id="send-btn" class="btn">Send</button>
</div>
<div class="card">
<h2>Recent Activity</h2>
<div id="activity-log" class="activity-log">
<p>No recent activity</p>
</div>
</div>
</main>
<footer>
<p>&copy; 2025 Simple Home Assistant Addon</p>
</footer>
</div>
<script src="script.js"></script>
</body>
</html>