mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
30 lines
988 B
PHP
30 lines
988 B
PHP
<div class="table-responsive">
|
|
<table id="eventlog" class="table table-hover table-condensed table-striped" data-ajax="true">
|
|
<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>
|