Updates for web server

This commit is contained in:
iosullivan committed 2026-10-05 17:51:32 +10:00
1 parent b63a139901
commit c4adc10a35
3 files changed
+440

No files matched your search

@@ -0,0 +1,62 @@
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Device Setup</title>
<style>
body {
font-family: sans-serif;
padding: 16px;
max-width: 400px;
margin: 0 auto;
}
h2 {
margin-top: 0;
}
label {
display: block;
margin-top: 12px;
font-weight: bold;
}
input, button {
width: 100%;
padding: 10px;
margin-top: 6px;
font-size: 16px;
box-sizing: border-box;
}
button {
margin-top: 20px;
background: #007bff;
color: white;
border: none;
cursor: pointer;
}
button:hover {
background: #0056b3;
}
</style>
</head>
<body>
<h2>Device Setup</h2>
<form method="POST" action="/save">
<label>
Wi-Fi SSID
<input name="SSID" required>
</label>
<label>
Password
<input name="PASS" type="password">
</label>
<label>
CTA API Key
<input name="APIKEY">
</label>
<button type="submit">Save & Connect</button>
</form>
</body>
</html>