Update online.html
Browse files- online.html +21 -2
online.html
CHANGED
|
@@ -323,10 +323,29 @@ document.getElementById("but_start").addEventListener("click", function() {
|
|
| 323 |
});
|
| 324 |
</script>
|
| 325 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 326 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 327 |
|
| 328 |
-
|
| 329 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 330 |
|
| 331 |
|
| 332 |
|
|
|
|
| 323 |
});
|
| 324 |
</script>
|
| 325 |
|
| 326 |
+
<script>
|
| 327 |
+
document.getElementById("but_stop").addEventListener("click", function() {
|
| 328 |
+
var xhr = new XMLHttpRequest();
|
| 329 |
+
xhr.open("GET", "/but_stop", true);
|
| 330 |
+
xhr.send();
|
| 331 |
+
});
|
| 332 |
+
</script>
|
| 333 |
|
| 334 |
+
<script>
|
| 335 |
+
document.getElementById("but_res").addEventListener("click", function() {
|
| 336 |
+
var xhr = new XMLHttpRequest();
|
| 337 |
+
xhr.open("GET", "/but_res", true);
|
| 338 |
+
xhr.send();
|
| 339 |
+
});
|
| 340 |
+
</script>
|
| 341 |
|
| 342 |
+
<script>
|
| 343 |
+
document.getElementById("but_sliv").addEventListener("click", function() {
|
| 344 |
+
var xhr = new XMLHttpRequest();
|
| 345 |
+
xhr.open("GET", "/but_sliv", true);
|
| 346 |
+
xhr.send();
|
| 347 |
+
});
|
| 348 |
+
</script>
|
| 349 |
|
| 350 |
|
| 351 |
|