Checkpoint audio-only Skald fork work
This commit is contained in:
+7
-7
@@ -36,23 +36,23 @@ async function listStats() {
|
||||
}
|
||||
|
||||
if(l.length === 0) {
|
||||
table.textContent = '(No group found.)';
|
||||
table.textContent = '(No hall found.)';
|
||||
return;
|
||||
}
|
||||
|
||||
for(let i = 0; i < l.length; i++)
|
||||
formatGroup(table, l[i]);
|
||||
formatHall(table, l[i]);
|
||||
}
|
||||
|
||||
function formatGroup(table, group) {
|
||||
function formatHall(table, hall) {
|
||||
let tr = document.createElement('tr');
|
||||
let td = document.createElement('td');
|
||||
td.textContent = group.name;
|
||||
td.textContent = hall.name;
|
||||
tr.appendChild(td);
|
||||
table.appendChild(tr);
|
||||
if(group.clients) {
|
||||
for(let i = 0; i < group.clients.length; i++) {
|
||||
let client = group.clients[i];
|
||||
if(hall.clients) {
|
||||
for(let i = 0; i < hall.clients.length; i++) {
|
||||
let client = hall.clients[i];
|
||||
let tr2 = document.createElement('tr');
|
||||
tr2.appendChild(document.createElement('td'));
|
||||
let td2 = document.createElement('td');
|
||||
|
||||
Reference in New Issue
Block a user