ln.skyspot/www/dhcp/DHCPLeases.html

34 lines
909 B
HTML

<%frame "frame.html"%>
<h2>Leases</h2>
<div>
<table id="DHCPLeases"></table>
</div>
<script type="text/javascript">
$("#DHCPLeases").DataTable({
columns: [
{ title: "Client MAC", data: "ClientMAC.Bytes", render: function(d,t,r){ return DecodeMAC(d); } },
{ title: "Client IP", data: "ClientIP" },
{ title: "Client Name", data: "ClientName" },
{ title: "Status", data: "LeaseState" },
{ title: "Erstellt", data: "Created" },
{ title: "Gültig bis", data: "ValidThrough" },
{ title: "Letzte Änderung", data: "LastUpdate" },
{ title: "Freigegeben", data: "Released" },
],
columnDefs: [
],
select: "single",
ajax: {
url: "/DHCP/collections/DHCPLease",
dataSrc: ''
},
serverSide: false,
})
</script>