Update html-style

Update of HTML
This commit is contained in:
jomjol
2020-09-09 21:34:51 +02:00
parent 2159c1e1e5
commit 40953091d7
14 changed files with 326 additions and 398 deletions

View File

@@ -9,26 +9,28 @@
</script>
</head>
<body>
<body style="font-family: arial">
<h2>Do you really want to reboot your system now?</h2>
<table class="fixed" border="0">
<tr>
<td>
<button id="reboot" type="button" onclick="doReboot()">Reboot</button>
<button id="reboot" type="button" onclick="doReboot()">Yes, please reboot now</button>
</td>
</tr>
</table>
<script>
function doReboot() {
if (confirm("Are you sure you want to reboot the ESP32?")) {
// if (confirm("Are you sure you want to reboot the ESP32?")) {
var stringota = "/reboot";
window.location = stringota;
window.location.href = stringota;
window.location.assign(stringota);
window.location.replace(stringota);
}
// }
}
</script>
</body></html>