Spaces:
Sleeping
Sleeping
DmitrMakeev
commited on
Commit
•
0292fb1
1
Parent(s):
23526fa
Update online.html
Browse files- online.html +19 -27
online.html
CHANGED
@@ -302,32 +302,25 @@
|
|
302 |
|
303 |
<div class="card-body">
|
304 |
<div class="container text-center">
|
305 |
-
|
306 |
-
<span><button type="button" class="btn btn-danger btn-lg">Стоп</button></span>
|
307 |
-
<span><button type="button" class="btn btn-info btn-lg">Рестарт</button></span>
|
|
|
308 |
</div>
|
309 |
</div>
|
310 |
<div class="card-footer text-muted"> </div>
|
311 |
</div>
|
312 |
-
|
313 |
-
|
314 |
-
|
315 |
-
|
316 |
-
|
317 |
-
|
318 |
-
|
319 |
-
|
320 |
|
321 |
-
|
322 |
-
|
323 |
-
|
324 |
-
<br><br><br><br><br><br>
|
325 |
-
|
326 |
-
|
327 |
-
|
328 |
|
329 |
|
330 |
-
|
|
|
|
|
|
|
|
|
|
|
331 |
|
332 |
|
333 |
|
@@ -355,14 +348,6 @@
|
|
355 |
|
356 |
|
357 |
|
358 |
-
<script>
|
359 |
-
document.getElementById("pH_set_but").addEventListener("click", function() {
|
360 |
-
var pHValue = document.getElementById("pH_set").value;
|
361 |
-
var xhr = new XMLHttpRequest();
|
362 |
-
xhr.open("GET", "/pH_set?value=" + pHValue, true);
|
363 |
-
xhr.send();
|
364 |
-
});
|
365 |
-
</script>
|
366 |
|
367 |
|
368 |
|
@@ -410,5 +395,12 @@
|
|
410 |
fetchValues();
|
411 |
setInterval(fetchValues, 10000);
|
412 |
</script>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
413 |
</body>
|
414 |
</html>
|
|
|
302 |
|
303 |
<div class="card-body">
|
304 |
<div class="container text-center">
|
305 |
+
<span><button id="but_start" type="button" class="btn btn-success btn-lg">Старт</button></span>
|
306 |
+
<span><button id="but_stop" type="button" class="btn btn-danger btn-lg">Стоп</button></span>
|
307 |
+
<span><button id="but_res" type="button" class="btn btn-info btn-lg">Рестарт</button></span>
|
308 |
+
<span><button id="but_sliv" type="button" class="btn btn-info btn-lg">Рестарт</button></span>
|
309 |
</div>
|
310 |
</div>
|
311 |
<div class="card-footer text-muted"> </div>
|
312 |
</div>
|
313 |
+
<br><br><br><br><br><br>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
314 |
|
315 |
+
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
316 |
|
317 |
|
318 |
+
<script>
|
319 |
+
document.getElementById("but_start").addEventListener("click", function() {
|
320 |
+
xhr.open("GET", "/but_start, true);
|
321 |
+
xhr.send();
|
322 |
+
});
|
323 |
+
</script>
|
324 |
|
325 |
|
326 |
|
|
|
348 |
|
349 |
|
350 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
351 |
|
352 |
|
353 |
|
|
|
395 |
fetchValues();
|
396 |
setInterval(fetchValues, 10000);
|
397 |
</script>
|
398 |
+
|
399 |
+
|
400 |
+
|
401 |
+
|
402 |
+
|
403 |
+
|
404 |
+
|
405 |
</body>
|
406 |
</html>
|