mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
30 lines
911 B
PHP
30 lines
911 B
PHP
<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],
|
|
navigation: ! {{ $hidenavigation }},
|
|
post: function ()
|
|
{
|
|
return {
|
|
device: "{{ $device }}",
|
|
device_group: "{{ $device_group }}",
|
|
eventtype: "{{ $eventtype }}"
|
|
};
|
|
},
|
|
url: "{{ url('/ajax/table/eventlog') }}"
|
|
});
|
|
</script>
|