mirror of
https://gitea.publichub.eu/oscar.krause/fastapi-dls.git
synced 2024-11-10 08:28:49 +00:00
display hostname as title on leases table
This commit is contained in:
parent
6ef1216db6
commit
efc8d9c564
@ -88,7 +88,7 @@ async function fetchLeases(element) {
|
|||||||
<td>${new Date(o.lease_created).toLocaleDateString('system', dtc)}</td>
|
<td>${new Date(o.lease_created).toLocaleDateString('system', dtc)}</td>
|
||||||
<td>${new Date(o.lease_updated).toLocaleDateString('system', dtc)}</td>
|
<td>${new Date(o.lease_updated).toLocaleDateString('system', dtc)}</td>
|
||||||
<td>${new Date(o.lease_expires).toLocaleDateString('system', dtc)}</td>
|
<td>${new Date(o.lease_expires).toLocaleDateString('system', dtc)}</td>
|
||||||
<td><code title="hostname: ${x.origin.hostname}">${o.origin_ref}</code></td>`
|
<td><code title="hostname: ${o.origin.hostname}">${o.origin_ref}</code></td>`
|
||||||
tbody.appendChild(row);
|
tbody.appendChild(row);
|
||||||
})
|
})
|
||||||
table.appendChild(tbody)
|
table.appendChild(tbody)
|
||||||
|
Loading…
Reference in New Issue
Block a user