-
Notifications
You must be signed in to change notification settings - Fork 20
/
index.html
75 lines (71 loc) · 1.65 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>WiFi Login</title>
<style>
body {
font-family: sans-serif;
background: #3498db;
width: 100%;
text-align: center;
margin: 20px 0px 20px 0px;
}
p {
font-size: 12px;
text-decoration: none;
color: #fff;
}
h1 {
font-size: 1.5em;
color: #525252;
}
.box {
background: white;
width: 40ch;
border-radius: 6px;
margin: 0 auto 0 auto;
padding: 10px 0px 10px 0px;
}
input[type='text'],
input[type='password'] {
background: #ecf0f1;
border: #ccc 1px solid;
border-bottom: #ccc 2px solid;
padding: 8px;
width: 60%;
color: #aaa;
margin-top: 10px;
font-size: 1em;
border-radius: 4px;
}
.btn {
background: #2ecc71;
width: 50%;
padding-top: 5px;
padding-bottom: 5px;
color: white;
border-radius: 4px;
border: #27ae60 1px solid;
margin: 20 auto;
font-weight: 800;
font-size: 0.8em;
}
</style>
</head>
<body>
<form action="/login" method="get" class="box">
<h1>WiFi login credentials</h1>
<input type="text" placeholder="My WiFi SSID" name="ssid" required />
<br />
<input
type="password"
placeholder="WiFi Password"
name="password"
required
/>
<br />
<button type="submit" class="btn">Connect</button>
</form>
</body>
</html>