Fine tune the admin UI.
This commit is contained in:
27
data/www/setup.html
Normal file
27
data/www/setup.html
Normal file
@@ -0,0 +1,27 @@
|
||||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1">
|
||||
<title>ESP32-C3 first-run setup</title>
|
||||
<link rel="stylesheet" href="/css/setup.css">
|
||||
<script defer src="/js/setup.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div class="top">ESP32-C3 first-run setup</div>
|
||||
<main>
|
||||
<section class="box">
|
||||
<h2>Network and admin setup</h2>
|
||||
<label>WiFi network</label>
|
||||
<select id="ssid"></select>
|
||||
<label>WiFi password</label>
|
||||
<input id="wifiPass" type="password" autocomplete="off">
|
||||
<label>Admin username</label>
|
||||
<input id="admin" value="admin">
|
||||
<label>Admin password</label>
|
||||
<input id="adminPass" type="password" autocomplete="new-password">
|
||||
<button id="saveSetup">Save and restart</button>
|
||||
<pre id="out"></pre>
|
||||
</section>
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user