mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-26 22:22:16 +03:00
Merge pull request #251 from IoTManagerProject/ver4dev
мелкое исправление версии ota
This commit is contained in:
@@ -1,41 +1,47 @@
|
|||||||
|
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<meta name="viewport" content="width=device-width,initial-scale=1" />
|
<meta name="viewport" content="width=device-width,initial-scale=1" />
|
||||||
|
|
||||||
<title>IoT Manager 4.4.1</title>
|
<title>IoT Manager 4.4.3</title>
|
||||||
<link rel="icon" type="image/png" href="/favicon.ico" />
|
<link rel="icon" type="image/png" href="/favicon.ico" />
|
||||||
<link rel="stylesheet" href="https://iotmanager.org/esp01ota/build/bundle.css?440" />
|
<link
|
||||||
|
rel="stylesheet"
|
||||||
|
href="https://iotmanager.org/esp01ota/build/bundle.css?443"
|
||||||
|
/>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<script>
|
<script>
|
||||||
let script = document.createElement('script');
|
let script = document.createElement("script");
|
||||||
script.src = "https://iotmanager.org/esp01ota/build/bundle.js?440";
|
script.src = "https://iotmanager.org/esp01ota/build/bundle.js?443";
|
||||||
script.onload = execute;
|
script.onload = execute;
|
||||||
document.head.append(script);
|
document.head.append(script);
|
||||||
script.onerror = error;
|
script.onerror = error;
|
||||||
function error() {
|
function error() {
|
||||||
console.log("ошибка при загрузке ресурса");
|
console.log("ошибка при загрузке ресурса");
|
||||||
}
|
}
|
||||||
function execute() {
|
function execute() {
|
||||||
console.log("скрипт загружен");
|
console.log("скрипт загружен");
|
||||||
document.getElementById("my-form").style.display="none";
|
document.getElementById("my-form").style.display = "none";
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
<div style="display: flex; align-items: center; justify-content: center;" >
|
<div style="display: flex; align-items: center; justify-content: center">
|
||||||
<form method="GET" action="http://192.168.4.1/set" id="my-form">
|
<form method="GET" action="http://192.168.4.1/set" id="my-form">
|
||||||
<br><br><h1>Настройка WiFi</h1><br>
|
<br /><br />
|
||||||
<div>
|
<h1>Настройка WiFi</h1>
|
||||||
<input name="routerssid" type="text" placeholder="WIFI">
|
<br />
|
||||||
</div><br>
|
<div>
|
||||||
<div>
|
<input name="routerssid" type="text" placeholder="WIFI" />
|
||||||
<input name="routerpass" placeholder="Password">
|
</div>
|
||||||
</div><br><br>
|
<br />
|
||||||
<input type="submit" value="сохранить">
|
<div>
|
||||||
</form>
|
<input name="routerpass" placeholder="Password" />
|
||||||
</div>
|
</div>
|
||||||
|
<br /><br />
|
||||||
|
<input type="submit" value="сохранить" />
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
Reference in New Issue
Block a user