format device status a bit better
This commit is contained in:
parent
9f89c4fa96
commit
a11fe365d1
1 changed files with 1 additions and 1 deletions
|
@ -218,7 +218,7 @@ function connect() {
|
|||
var total = parseInt(row.querySelector('.total_bytes').innerText);
|
||||
row.querySelector('.received_bytes').innerText = data.msg.received_bytes;
|
||||
row.querySelector('progress').value = data.msg.received_bytes;
|
||||
row.querySelectorAll('.device_status').forEach(x => x.innerText = ' / '+data.msg.status);
|
||||
row.querySelectorAll('.device_status').forEach(x => x.innerText = ' / '+data.msg.status.toLowerCase().replace("_", " "));
|
||||
row.querySelectorAll('.auto-apply a').forEach(x => x.innerText = data.msg.auto_apply ? 'yes' : 'no');
|
||||
row.querySelectorAll('.auto-reboot a').forEach(x => x.innerText = data.msg.auto_reboot ? 'yes' : 'no');
|
||||
row.querySelectorAll('button[name=apply]').forEach(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue