2022-10-11 21:57:10 +03:00
|
|
|
|
<!DOCTYPE html>
|
|
|
|
|
|
<html lang="en">
|
|
|
|
|
|
<head>
|
|
|
|
|
|
<meta charset="utf-8" />
|
|
|
|
|
|
<meta name="viewport" content="width=device-width,initial-scale=1" />
|
|
|
|
|
|
|
2022-11-27 23:51:25 +01:00
|
|
|
|
<title>IoT Manager 4.4.3</title>
|
|
|
|
|
|
<link rel="icon" type="image/png" href="/favicon.ico" />
|
|
|
|
|
|
<link
|
|
|
|
|
|
rel="stylesheet"
|
2023-06-25 18:57:59 +03:00
|
|
|
|
href="https://iotmanager.org/esp01ota/build/bundle.css?450"
|
2022-11-27 23:51:25 +01:00
|
|
|
|
/>
|
2022-10-11 21:57:10 +03:00
|
|
|
|
</head>
|
|
|
|
|
|
|
2022-11-27 23:51:25 +01:00
|
|
|
|
<body>
|
|
|
|
|
|
<script>
|
|
|
|
|
|
let script = document.createElement("script");
|
2023-06-25 18:57:59 +03:00
|
|
|
|
script.src = "https://iotmanager.org/esp01ota/build/bundle.js?450";
|
2022-11-27 23:51:25 +01:00
|
|
|
|
script.onload = execute;
|
|
|
|
|
|
document.head.append(script);
|
|
|
|
|
|
script.onerror = error;
|
|
|
|
|
|
function error() {
|
|
|
|
|
|
console.log("ошибка при загрузке ресурса");
|
|
|
|
|
|
}
|
|
|
|
|
|
function execute() {
|
|
|
|
|
|
console.log("скрипт загружен");
|
|
|
|
|
|
document.getElementById("my-form").style.display = "none";
|
|
|
|
|
|
}
|
|
|
|
|
|
</script>
|
|
|
|
|
|
<div style="display: flex; align-items: center; justify-content: center">
|
|
|
|
|
|
<form method="GET" action="http://192.168.4.1/set" id="my-form">
|
|
|
|
|
|
<br /><br />
|
|
|
|
|
|
<h1>Настройка WiFi</h1>
|
|
|
|
|
|
<br />
|
|
|
|
|
|
<div>
|
|
|
|
|
|
<input name="routerssid" type="text" placeholder="WIFI" />
|
|
|
|
|
|
</div>
|
|
|
|
|
|
<br />
|
|
|
|
|
|
<div>
|
|
|
|
|
|
<input name="routerpass" placeholder="Password" />
|
|
|
|
|
|
</div>
|
|
|
|
|
|
<br /><br />
|
|
|
|
|
|
<input type="submit" value="сохранить" />
|
|
|
|
|
|
</form>
|
|
|
|
|
|
</div>
|
2022-10-12 15:48:05 +03:00
|
|
|
|
</body>
|
2022-10-11 21:57:10 +03:00
|
|
|
|
</html>
|