Files
portal-api/resources/views/frontend/logs.blade.php
T
2025-07-24 16:18:27 +07:00

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