2017-06-26 07:58:17 -05:00
|
|
|
<?php
|
|
|
|
|
$no_refresh = true;
|
|
|
|
|
?>
|
|
|
|
|
<table id="port-fdb" class="table table-condensed table-hover table-striped">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
2019-01-20 08:43:36 -06:00
|
|
|
<th data-column-id="mac_address" data-width="150px">MAC Address</th>
|
|
|
|
|
<th data-column-id="ipv4_address" data-sortable="false">IPv4 Address</th>
|
2017-06-29 15:03:56 -05:00
|
|
|
<th data-column-id="interface">Port</th>
|
2019-01-20 08:43:36 -06:00
|
|
|
<th data-column-id="vlan" data-width="60px">Vlan</th>
|
|
|
|
|
<th data-column-id="dnsname" data-sortable="false" data-visible="false">DNS Name</th>
|
2019-02-21 13:23:01 +01:00
|
|
|
<th data-column-id="first_seen" data-width="165px">First seen</th>
|
|
|
|
|
<th data-column-id="last_seen" data-width="165px">Last seen</th>
|
2017-06-26 07:58:17 -05:00
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
</table>
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
|
|
|
|
|
var grid = $("#port-fdb").bootgrid({
|
|
|
|
|
ajax: true,
|
|
|
|
|
post: function ()
|
|
|
|
|
{
|
|
|
|
|
return {
|
2019-01-20 08:43:36 -06:00
|
|
|
port_id: "<?php echo $port['port_id']; ?>",
|
|
|
|
|
dns: $("#port-fdb").bootgrid("getColumnSettings")[4].visible
|
2017-06-26 07:58:17 -05:00
|
|
|
};
|
|
|
|
|
},
|
2019-05-20 11:47:34 -05:00
|
|
|
url: "<?php echo url('/ajax/table/fdb-tables'); ?>"
|
2017-06-26 07:58:17 -05:00
|
|
|
});
|
|
|
|
|
</script>
|
|
|
|
|
|