Update index.html

Some Tweeks
This commit is contained in:
JonatanRek 2019-12-01 15:56:40 +01:00
parent ff3c796484
commit eddccead63
1 changed files with 44 additions and 57 deletions

View File

@ -1,63 +1,50 @@
<!DOCTYPE html> <!DOCTYPE html>
<body> <body>
<head>
<style> <head>
html, body { <style>
height: 100%; html,
} body {
height: 100%;
}
html { html {
display: table; display: table;
margin: auto; margin: auto;
} }
body { body {
display: table-cell; display: table-cell;
vertical-align: middle; vertical-align: middle;
} }
</style>
</head> input {
<h2>WIFI Configuration</h2> width: 100%;
<a href="#" >Refresh</a> box-sizing: border-box
<form> }
<div class="wifi-list"> </style>
<table> </head>
<tr> <h2>WIFI Configuration</h2>
<td> <a href="#">Refresh</a>
<a href="#" onclick="fillSSID(this.innerHTML)">WifiName</a> <form>
</td> <div class="wifi-list">
<td> <a href="#" onclick="fillSSID(this.innerHTML)">WifiName</a><br>
lock <a href="#" onclick="fillSSID(this.innerHTML)">WifiName</a><br>
</td> <a href="#" onclick="fillSSID(this.innerHTML)">WifiName</a><br>
</tr> <a href="#" onclick="fillSSID(this.innerHTML)">WifiName</a><br>
</table> <a href="#" onclick="fillSSID(this.innerHTML)">WifiName</a><br>
</div> <a href="#" onclick="fillSSID(this.innerHTML)">WifiName</a><br>
<div class="wifi-form"> </div>
<table> <div class="wifi-form">
<tr> <input id="wifi-ssid" type="text"><br>
<td> <input id="password" type="text"><br>
<label>Name: </label> <input type="submit" value="Connect">
</td> </div>
<td> </form>
<input id="wifi-ssid" type="text"><br> <script>
</td> function fillSSID(value) {
</tr> document.getElementById("wifi-ssid").value = value;
<tr> }
<td> </script>
<label>Password: </label>
</td>
<td>
<input id="password" type="text"><br>
</td>
</tr>
</table>
<input type="submit" value="Connect"><br>
</div>
</form>
<script>
function fillSSID(value){
document.getElementById("wifi-ssid").value = value;
}
</script>
</body> </body>