75 lines
2.9 KiB
HTML
75 lines
2.9 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<link rel="stylesheet" href="./style.css" />
|
|
<link rel="shortcut icon" href="./logo.png" type="image/x-icon" />
|
|
<title>Tiny NOT Add WiFi</title>
|
|
</head>
|
|
<body>
|
|
<main>
|
|
<h1 data-symbol="🛜">WiFi configuration</h1>
|
|
<nav>
|
|
<a href="./">← Back to Start</a>
|
|
</nav>
|
|
<section>
|
|
<h2>Add configuration</h2>
|
|
<div class="align-center">
|
|
<form action="/wifi/add" method="post">
|
|
<div>
|
|
<input
|
|
type="text"
|
|
name="name"
|
|
placeholder="Connection Name*"
|
|
required />
|
|
</div>
|
|
<div>
|
|
<input
|
|
type="text"
|
|
name="ssid"
|
|
id="addSSID"
|
|
placeholder="SSID*"
|
|
required
|
|
pattern="" />
|
|
</div>
|
|
<div>
|
|
<input
|
|
type="text"
|
|
name="ssid"
|
|
id="addBSSID"
|
|
placeholder="BSSID" />
|
|
</div>
|
|
<div>
|
|
<input
|
|
type="password"
|
|
name="psk"
|
|
id="addPSK"
|
|
placeholder="Password" />
|
|
</div>
|
|
<div>
|
|
<input
|
|
type="text"
|
|
name="hostname"
|
|
id="addHostname"
|
|
placeholder="Hostname" />
|
|
</div>
|
|
<details>
|
|
<summary>IPv4 Configuration</summary>
|
|
<input type="text" placeholder="Address" />
|
|
<input type="text" placeholder="Netmask" />
|
|
<input type="text" placeholder="Gateway" />
|
|
<input type="text" placeholder="DNS" />
|
|
</details>
|
|
<div><input type="submit" value="Add" /></div>
|
|
</form>
|
|
</div>
|
|
</section>
|
|
</main>
|
|
<footer>
|
|
<span>Tiny NOT version 0.1</span>
|
|
</footer>
|
|
<script type="text/javascript" src="./app.js"></script>
|
|
</body>
|
|
</html>
|