Files

29 lines
866 B
PHP
Raw Permalink Normal View History

2018-12-16 15:18:17 -06:00
<div class="table-responsive">
<table id="eventlog" class="table table-hover table-condensed table-striped">
<thead>
<tr>
<th data-column-id="datetime" data-order="desc">Timestamp</th>
<th data-column-id="type">Type</th>
<th data-column-id="device_id">Hostname</th>
<th data-column-id="message">Message</th>
<th data-column-id="username">User</th>
</tr>
</thead>
</table>
</div>
<script>
$("#eventlog").bootgrid({
ajax: true,
rowCount: [50, 100, 250, -1],
post: function ()
{
return {
device: "{{ $device }}",
2019-08-08 02:59:14 +02:00
device_group: "{{ $device_group }}",
2018-12-16 15:18:17 -06:00
eventtype: "{{ $eventtype }}"
};
},
url: "{{ url('/ajax/table/eventlog') }}"
2018-12-16 15:18:17 -06:00
});
</script>