Spaces:
Sleeping
Sleeping
DmitrMakeev
commited on
Commit
•
e5d1aa7
1
Parent(s):
e9872d6
Update zapro.html
Browse files- zapro.html +4 -4
zapro.html
CHANGED
@@ -14,15 +14,15 @@
|
|
14 |
</head>
|
15 |
<body>
|
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() {
|
|
|
14 |
</head>
|
15 |
<body>
|
16 |
<h1>Zapro</h1>
|
17 |
+
<p>PH значение: <span id="ph">{{ ph_values }}</span></p>
|
18 |
+
<p>EC значение: <span id="ec">{{ ec_values }}</span></p>
|
19 |
|
20 |
|
21 |
<script>
|
22 |
$(document).ready(function() {
|
23 |
function updateValues(phValue, ecValue) {
|
24 |
+
$("#ph").text(phValue);
|
25 |
+
$("#ec").text(ecValue);
|
26 |
}
|
27 |
|
28 |
function fetchValues() {
|