update
This commit is contained in:
@@ -187,6 +187,11 @@ window.onload = function() {
|
||||
//document.getElementById('pageTitle_plus_ID').innerText = 'token: ' + deviceID;
|
||||
//get device Name
|
||||
const deviceName = data.deviceName;
|
||||
|
||||
console.log("Device Name: " + deviceName);
|
||||
console.log("Device ID: " + deviceID);
|
||||
|
||||
|
||||
|
||||
const elements = document.querySelectorAll('.sideBar_sensorName');
|
||||
elements.forEach((element) => {
|
||||
@@ -204,7 +209,8 @@ window.onload = function() {
|
||||
//loop activation
|
||||
const flex_loop = document.getElementById("flex_loop");
|
||||
flex_loop.checked = data.loop_activation;
|
||||
|
||||
console.log("Loop activation: " + data.loop_activation);
|
||||
|
||||
//loop logs
|
||||
const flex_loop_log = document.getElementById("flex_loop_log");
|
||||
flex_loop_log.checked = data.loop_log;
|
||||
|
||||
Reference in New Issue
Block a user