Update online.html
Browse files- online.html +8 -0
online.html
CHANGED
@@ -24,6 +24,7 @@
|
|
24 |
<button id="st_onl" class="btn btn-success" type="button" >Онлайн</button>
|
25 |
<button id="st_set" class="btn btn-outline-success" type="button" >Настройки</button>
|
26 |
<button id="st_plot" class="btn btn-outline-success" type="button">Графики</button>
|
|
|
27 |
</form>
|
28 |
</nav>
|
29 |
|
@@ -381,6 +382,13 @@ document.getElementById("but_sliv").addEventListener("click", function() {
|
|
381 |
});
|
382 |
</script>
|
383 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
384 |
|
385 |
|
386 |
|
|
|
24 |
<button id="st_onl" class="btn btn-success" type="button" >Онлайн</button>
|
25 |
<button id="st_set" class="btn btn-outline-success" type="button" >Настройки</button>
|
26 |
<button id="st_plot" class="btn btn-outline-success" type="button">Графики</button>
|
27 |
+
<button id="st_table" class="btn btn-outline-success" type="button">Таблица</button>
|
28 |
</form>
|
29 |
</nav>
|
30 |
|
|
|
382 |
});
|
383 |
</script>
|
384 |
|
385 |
+
<script>
|
386 |
+
document.getElementById("st_table").addEventListener("click", function() {
|
387 |
+
var baseUrl = window.location.origin;
|
388 |
+
var targetUrl = baseUrl + "/table";
|
389 |
+
window.location.href = targetUrl;
|
390 |
+
});
|
391 |
+
</script>
|
392 |
|
393 |
|
394 |
|