DmitrMakeev commited on
Commit
f38e889
·
verified ·
1 Parent(s): b64ff4b

Update plot_week.html

Browse files
Files changed (1) hide show
  1. plot_week.html +22 -0
plot_week.html CHANGED
@@ -187,6 +187,28 @@ body {
187
  }
188
  }
189
  </script>
 
190
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
191
  </body>
192
  </html>
 
187
  }
188
  }
189
  </script>
190
+
191
 
192
+
193
+ <script>
194
+ document.getElementById("st_onl").addEventListener("click", function() {
195
+ // Получаем основной URL без пути и параметров
196
+ var baseUrl = window.location.origin;
197
+ // Добавляем необходимый путь к основному URL
198
+ var targetUrl = baseUrl + "/online";
199
+ // Переходим по сформированному URL
200
+ window.location.href = targetUrl;
201
+ });
202
+ </script>
203
+ <script>
204
+ document.getElementById("st_set").addEventListener("click", function() {
205
+ // Получаем основной URL без пути и параметров
206
+ var baseUrl = window.location.origin;
207
+ // Добавляем необходимый путь к основному URL
208
+ var targetUrl = baseUrl + "/settings";
209
+ // Переходим по сформированному URL
210
+ window.location.href = targetUrl;
211
+ });
212
+ </script>
213
  </body>
214
  </html>