forked from chrismelba/lightclockwifiv2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
webconfig.html
38 lines (33 loc) · 1.21 KB
/
webconfig.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
<!DOCTYPE HTML>
<html><head>
<link rel='stylesheet' href='style.css'>
<meta http-equiv=Content-Type content='text/html; charset=utf-8' />
<meta name=viewport content='width=device-width, initial-scale=1.0'>
<link rel=stylesheet href=style.css>
</head>
<body class=settings-page>
<strong>Network </strong>-> Password -> Timezone<BR>
<h1>Choose Your Network</h1>
<form class=form-verticle action=/a method=GET>
<ul>
<label><input type='radio' name='ssid' value='apple' onClick='regularssid()'>apple</input></label><br>
<label><input type='radio' name='ssid' value='orange' onClick='regularssid()'>orange</input></label><br>
<label><input type='radio' name='ssid' value='lemon' onClick='regularssid()'>lemon</input></label><br>
<label onClick='otherssid()'>
<input type='radio' name='ssid' id='other_ssid' value='other' >or other ssid:</input>
<input type ='text' name='other' id='other_text'/></label><br>
<label>Password: <input type ='text' name='pass' id='pass'/></label><br>
<input type='submit' value='Submit'>
</form>
</body>
<script>
function otherssid(){
a=document.getElementById('other_ssid');
a.checked=true;
}
function regularssid(){
a=document.getElementById('other_text');
a.value='';
}
</script>
</html>