ln.skyspot/www/dhcp/serverInterfaces.html

29 lines
693 B
HTML

<%frame "frame.html"%>
<h2>Konfigurierte Schnittstellen</h2>
<div>
<table id="serverInterfaces"></table>
</div>
<script type="text/javascript">
$("#serverInterfaces").DataTable({
columns: [
{ title: "Bezeichnung", data: "Name" },
{ title: "Interface IP", data: "InterfaceAddress" },
{ title: "Pool", data: "Pool.Name", render: function(d,t,r){ return `<a href="/dhcp/IPPool.html/${d}">${d}</a>`; } },
],
columnDefs: [
],
select: "single",
ajax: {
url: "/DHCP/collections/DHCPServerInterface",
dataSrc: ''
},
serverSide: false,
})
</script>