-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
112 lines (89 loc) · 2.59 KB
/
index.html
File metadata and controls
112 lines (89 loc) · 2.59 KB
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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
<html>
<title> Wifi Settings</title>
<head>
<style>
#grad1 {
background-color: red;
/* For browsers that do not support gradients */
background-image: linear-gradient(to bottom right, red, blue);
/* Standard syntax (must be last) */
}
.button {
background-image: linear-gradient(90deg, rgb(27, 207, 210), rgb(74, 19, 184), rgb(98, 7, 103));
border: none;
color: white;
padding: 15px 64px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
margin: 10% 10px;
width: 100%;
cursor: pointer;
border-radius: 30px;
}
#wrapper {
display: flex;
align-items: center;
justify-content: center;
}
.login {
float: left;
width: 600px;
height: 900px;
/* margin: 0 auto; */
border: 1px solid rgba(0, 0, 0, .2);
background: #ffffff;
position: fixed;
top: 50%;
left: 50%;
/* bring your own prefixes */
transform: translate(-50%, -50%);
border-radius: 8px;
max-width: 90%;
max-height: 90%;
}
.label {
float: left;
margin: 0% 8%;
font-size: 100%;
color: #333333;
}
H1 {
text-align: center;
margin: 55px;
}
input {
width: 84%;
padding: 8px 20px;
margin: 2% 8%;
margin-top: 0%;
box-sizing: border-box;
border: none;
border-bottom: 2px solid black;
background: transparent;
display: block;
}
</style>
</head>
<body id="grad1">
<div class="login">
<H1>Enter WIFI Details</H1>
<form action="/cgi-bin/getWIFI.py" method="post">
<div class="label">Network Name</div>
<br>
<input placeholder="Type new SSID" type="text" name="SSID">
<br>
<div class="label">Network Password</div>
<br>
<input placeholder="Type new PSK" type="password" name="PSK" />
<br>
<div id="wrapper">
<input type="submit" class="button" value="Submit" />
</div>
<br>
<br>
</form>
</div>
</body>
</html>