2018-12-16 15:18:17 -06:00
|
|
|
<div class="table-responsive">
|
2021-09-05 05:16:50 +03:00
|
|
|
<table id="syslog" class="table table-hover table-condensed table-striped" data-ajax="true">
|
2018-12-16 15:18:17 -06:00
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<th data-column-id="label"></th>
|
2021-11-28 21:17:11 -06:00
|
|
|
<th data-column-id="timestamp" data-order="desc">{{ __('Timestamp') }}</th>
|
|
|
|
|
<th data-column-id="level">{{ __('Level') }}</th>
|
|
|
|
|
<th data-column-id="device_id">{{ __('Hostname') }}</th>
|
|
|
|
|
<th data-column-id="program">{{ __('Program') }}</th>
|
|
|
|
|
<th data-column-id="msg">{{ __('Message') }}</th>
|
|
|
|
|
<th data-column-id="priority">{{ __('Priority') }}</th>
|
2018-12-16 15:18:17 -06:00
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
</table>
|
|
|
|
|
</div>
|
|
|
|
|
<script type="application/javascript">
|
|
|
|
|
$("#syslog").bootgrid({
|
|
|
|
|
ajax: true,
|
|
|
|
|
rowCount: [50, 100, 250, -1],
|
2020-06-11 13:59:08 +02:00
|
|
|
navigation: ! {{ $hidenavigation }},
|
2018-12-16 15:18:17 -06:00
|
|
|
post: function ()
|
|
|
|
|
{
|
|
|
|
|
return {
|
2019-08-12 10:13:25 -05:00
|
|
|
device: '{{ $device ?: '' }}',
|
2021-08-21 05:52:15 +02:00
|
|
|
device_group: '{{ $device_group }}',
|
|
|
|
|
level: '{{ $level }}'
|
2018-12-16 15:18:17 -06:00
|
|
|
};
|
|
|
|
|
},
|
2019-05-20 11:47:34 -05:00
|
|
|
url: "{{ url('/ajax/table/syslog') }}"
|
2018-12-16 15:18:17 -06:00
|
|
|
});
|
|
|
|
|
</script>
|