DmitrMakeev
commited on
Commit
•
291e8c2
1
Parent(s):
e5d1aa7
Update zapro.html
Browse files- zapro.html +6 -6
zapro.html
CHANGED
@@ -12,17 +12,17 @@
|
|
12 |
|
13 |
|
14 |
</head>
|
15 |
-
|
16 |
<h1>Zapro</h1>
|
17 |
-
<p>PH значение: <span id="
|
18 |
-
<p>EC значение: <span id="
|
19 |
|
20 |
|
21 |
<script>
|
22 |
$(document).ready(function() {
|
23 |
function updateValues(phValue, ecValue) {
|
24 |
-
$("#
|
25 |
-
$("#
|
26 |
}
|
27 |
|
28 |
function fetchValues() {
|
@@ -41,5 +41,5 @@
|
|
41 |
});
|
42 |
</script>
|
43 |
|
44 |
-
|
45 |
</html>
|
|
|
12 |
|
13 |
|
14 |
</head>
|
15 |
+
<body>
|
16 |
<h1>Zapro</h1>
|
17 |
+
<p>PH значение: <span id="ph_value">{{ ph }}</span></p>
|
18 |
+
<p>EC значение: <span id="ec_value">{{ ec }}</span></p>
|
19 |
|
20 |
|
21 |
<script>
|
22 |
$(document).ready(function() {
|
23 |
function updateValues(phValue, ecValue) {
|
24 |
+
$("#ph_value").text(phValue);
|
25 |
+
$("#ec_value").text(ecValue);
|
26 |
}
|
27 |
|
28 |
function fetchValues() {
|
|
|
41 |
});
|
42 |
</script>
|
43 |
|
44 |
+
</body>
|
45 |
</html>
|