Spaces:
Runtime error
Runtime error
DmitrMakeev
commited on
Commit
•
5e57fa0
1
Parent(s):
9a37481
Update zapro.html
Browse files- zapro.html +2 -10
zapro.html
CHANGED
@@ -23,20 +23,12 @@
|
|
23 |
</div>
|
24 |
|
25 |
|
26 |
-
|
27 |
<h1>PH value: {{ ph_values }}</h1>
|
28 |
<h1>EC value: {{ ec_values }}</h1>
|
29 |
|
30 |
|
31 |
-
|
32 |
-
fetch('/api')
|
33 |
-
.then(response => response.json())
|
34 |
-
.then(data => {
|
35 |
-
// Обновляем значения ph_values и ec_values
|
36 |
-
document.getElementById("ph_value").innerText = data.ph_out;
|
37 |
-
document.getElementById("ec_value").innerText = data.ec_out;
|
38 |
-
});
|
39 |
-
</script>
|
40 |
|
41 |
</body>
|
42 |
</html>
|
|
|
23 |
</div>
|
24 |
|
25 |
|
26 |
+
|
27 |
<h1>PH value: {{ ph_values }}</h1>
|
28 |
<h1>EC value: {{ ec_values }}</h1>
|
29 |
|
30 |
|
31 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
32 |
|
33 |
</body>
|
34 |
</html>
|