Files

30 lines
1005 B
PHP
Raw Permalink Normal View History

2018-12-16 15:18:17 -06:00
<div class="table-responsive">
<table id="syslog" class="table table-hover table-condensed table-striped">
<thead>
<tr>
<th data-column-id="label"></th>
<th data-column-id="timestamp" data-order="desc">@lang('Timestamp')</th>
<th data-column-id="level">@lang('Level')</th>
<th data-column-id="device_id">@lang('Hostname')</th>
<th data-column-id="program">@lang('Program')</th>
<th data-column-id="msg">@lang('Message')</th>
<th data-column-id="priority">@lang('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],
post: function ()
{
return {
2019-08-12 10:13:25 -05:00
device: '{{ $device ?: '' }}',
2019-08-08 02:59:14 +02:00
device_group: '{{ $device_group }}'
2018-12-16 15:18:17 -06:00
};
},
url: "{{ url('/ajax/table/syslog') }}"
2018-12-16 15:18:17 -06:00
});
</script>