Spaces:
Sleeping
Sleeping
Update table.html
Browse files- table.html +32 -1
table.html
CHANGED
|
@@ -46,7 +46,8 @@
|
|
| 46 |
<form class="form-inline">
|
| 47 |
<button id="st_onl" class="btn btn-outline-success" type="button">Онлайн</button>
|
| 48 |
<button id="st_set" class="btn btn-outline-success" type="button">Настройки</button>
|
| 49 |
-
<button id="st_plot" class="btn btn-success
|
|
|
|
| 50 |
</form>
|
| 51 |
</div>
|
| 52 |
</nav>
|
|
@@ -89,5 +90,35 @@
|
|
| 89 |
.catch(error => console.error("Ошибка загрузки данных:", error));
|
| 90 |
});
|
| 91 |
</script>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 92 |
</body>
|
| 93 |
</html>
|
|
|
|
| 46 |
<form class="form-inline">
|
| 47 |
<button id="st_onl" class="btn btn-outline-success" type="button">Онлайн</button>
|
| 48 |
<button id="st_set" class="btn btn-outline-success" type="button">Настройки</button>
|
| 49 |
+
<button id="st_plot" class="btn btn-outline-success" type="button">Графики</button>
|
| 50 |
+
<button id="st_table" class="btn btn-success" type="button">Таблица</button>
|
| 51 |
</form>
|
| 52 |
</div>
|
| 53 |
</nav>
|
|
|
|
| 90 |
.catch(error => console.error("Ошибка загрузки данных:", error));
|
| 91 |
});
|
| 92 |
</script>
|
| 93 |
+
|
| 94 |
+
<script>
|
| 95 |
+
document.getElementById("st_onl").addEventListener("click", function() {
|
| 96 |
+
var baseUrl = window.location.origin;
|
| 97 |
+
var targetUrl = baseUrl + "/online";
|
| 98 |
+
window.location.href = targetUrl;
|
| 99 |
+
});
|
| 100 |
+
</script>
|
| 101 |
+
<script>
|
| 102 |
+
document.getElementById("st_set").addEventListener("click", function() {
|
| 103 |
+
var baseUrl = window.location.origin;
|
| 104 |
+
var targetUrl = baseUrl + "/settings";
|
| 105 |
+
window.location.href = targetUrl;
|
| 106 |
+
});
|
| 107 |
+
</script>
|
| 108 |
+
<script>
|
| 109 |
+
document.getElementById("st_plot").addEventListener("click", function() {
|
| 110 |
+
var baseUrl = window.location.origin;
|
| 111 |
+
var targetUrl = baseUrl + "/plot_week";
|
| 112 |
+
window.location.href = targetUrl;
|
| 113 |
+
});
|
| 114 |
+
</script>
|
| 115 |
+
<script>
|
| 116 |
+
document.getElementById("st_table").addEventListener("click", function() {
|
| 117 |
+
var baseUrl = window.location.origin;
|
| 118 |
+
var targetUrl = baseUrl + "/table";
|
| 119 |
+
window.location.href = targetUrl;
|
| 120 |
+
});
|
| 121 |
+
</script>
|
| 122 |
+
|
| 123 |
</body>
|
| 124 |
</html>
|