Compare commits
No commits in common. "f1998000403b16d621a48b05a2784e8a012b2419" and "d06e100bef24404cd2e9e2e19e94b0944e4e9c6d" have entirely different histories.
f199800040
...
d06e100bef
@ -31,13 +31,13 @@ async function fetchOriginsWithLeases(element) {
|
||||
</tr>`
|
||||
table.appendChild(thead)
|
||||
let tbody = document.createElement('thead');
|
||||
x.sort((a, b) => a.hostname.localeCompare(b.hostname)).forEach((o) => {
|
||||
x.forEach((o) => {
|
||||
let row = document.createElement('tr');
|
||||
row.innerHTML = `
|
||||
<td><code>${o.origin_ref}</code></td>
|
||||
<td>${o.hostname}</td>
|
||||
<td>${o.os_platform} (${o.os_version})</td>
|
||||
<td>${o.guest_driver_version}</td>
|
||||
<td>${o.os_platform}</td>
|
||||
<td>${o.os_version}</td>
|
||||
<td>${o.leases.map(x => `<code title="expires: ${x.lease_expires}">${x.lease_ref}</code>`).join(', ')}</td>`
|
||||
tbody.appendChild(row);
|
||||
})
|
||||
@ -70,7 +70,7 @@ async function fetchLeases(element) {
|
||||
</tr>`
|
||||
table.appendChild(thead)
|
||||
let tbody = document.createElement('thead');
|
||||
x.sort((a, b) => new Date(a.lease_expires) - new Date(b.lease_expires)).forEach((o) => {
|
||||
x.forEach((o) => {
|
||||
let row = document.createElement('tr');
|
||||
row.innerHTML = `
|
||||
<td><code>${o.lease_ref}</code></td>
|
||||
|
Loading…
Reference in New Issue
Block a user