39 lines
1.3 KiB
PHP
39 lines
1.3 KiB
PHP
@extends("frontend.main")
|
|
@section("content")
|
|
<div class="box-form rounded shadow p-3 mt-2">
|
|
<div class="form-group box-research mt-3">
|
|
<table class="table table-invoice table-bordered">
|
|
<thead>
|
|
<tr>
|
|
<th>Client IP</th>
|
|
<th>Hoạt động</th>
|
|
<th>User Agent</th>
|
|
<th>Thời gian</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
@foreach($logs->all() as $item)
|
|
<tr>
|
|
<td class="text-center">
|
|
{{ $item->client_ip }}
|
|
</td>
|
|
<td class="text-center">
|
|
{{ $item->action }}
|
|
</td>
|
|
<td class="text-center">
|
|
{{ $item->agent }}
|
|
</td>
|
|
<td class="text-center">
|
|
{{ $item->created_at }}
|
|
</td>
|
|
</tr>
|
|
@endforeach
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<div class="form-group">
|
|
{{ $logs->links() }}
|
|
</div>
|
|
</div>
|
|
@endsection
|