@extends('layouts.app') @section('title', 'Log Activity') @section('breadcrumb', 'Log') @section('sub-breadcrumb') {{-- --}} Log Activity @endsection @section('log-activity', 'kt-menu__item--active') @section('content')
List of Log Activities
{{-- begin: Search form --}}
@csrf
  
{{-- end: Search form --}}
{{-- begin: table --}} @foreach ($data['log']['data'] as $item) @if ($item['response_status'] == "success") @else @endif @endforeach @if (count($data)==0) @endif
Status Subject IP Address Access Date Action
Success Failed {{ $item['subject'] }} {{ $item['ip_address'] }} {{ date("Y-m-d", strtotime($item['created_at'])) }}
No data to display.
{{-- end: table --}} {{-- begin: Pagination --}}
Showing {{$data['log']['from']}} to {{$data['log']['to']}} of {{$data['log']['total']}} entries @if($data['log']['prev_page_url'] == null && $data['log']['next_page_url'] == null) @elseif($data['log']['prev_page_url'] == null) << >> @elseif($data['log']['next_page_url'] == null) << >> @else << >> @endif
{{-- begin: Pagination --}}
{{-- begin: modal --}} @foreach($data['log']['data'] as $item) @endforeach {{-- end: modal --}}
@endsection @section('custom-script') {{--samain dari main.blade aja *kalo perlu--}} @endsection