This commit is contained in:
Your Name
2025-01-20 13:38:15 +01:00
parent 3f9595af65
commit ebc58a6c24

View File

@@ -241,7 +241,16 @@ window.onload = function() {
.then(data => { .then(data => {
//get device ID //get device ID
const deviceID = data.deviceID.trim().toUpperCase(); const deviceID = data.deviceID.trim().toUpperCase();
document.getElementById('pageTitle_plus_ID').innerText = 'token: ' + deviceID; //document.getElementById('pageTitle_plus_ID').innerText = 'token: ' + deviceID;
//get device Name
const deviceName = data.deviceName;
const elements = document.querySelectorAll('.sideBar_sensorName');
elements.forEach((element) => {
element.innerText = deviceName;
});
//get local RTC //get local RTC
$.ajax({ $.ajax({