update
This commit is contained in:
@@ -241,7 +241,16 @@ window.onload = function() {
|
||||
.then(data => {
|
||||
//get device ID
|
||||
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
|
||||
$.ajax({
|
||||
|
||||
Reference in New Issue
Block a user