@extends('layouts.adminlte') @section('bodyClass', 'hold-transition skin-blue sidebar-aside') @section('content')
Refresh
@if(auth()->user()->can('delete-logs') || auth()->user()->can('delete-all-logs') || is_root_user(auth()->user()))
{{ csrf_field() }} {{ method_field('DELETE') }}
@endif
@foreach ($data as $item) @endforeach
User Method Path Ip Input Create At
{{$item->admin->name}} @if($item->method == 'GET') {{$item->method}} @elseif($item->method == 'POST') {{$item->method}} @elseif($item->method == 'DELETE') {{$item->method}} @else {{$item->method}} @endif {{$item->path}} {{$item->ip}} @if($item->input == '[]') {} @else
{...}
@endif
{{$item->created_at->format(setting('date_formats'))}}

{{ $data->links()}}
@endsection @push('scripts') @endpush