@extends('layouts.admin') @include('blueprint.admin.template') @section('title') {{ $EXTENSION_NAME }} @endsection @section('content-header') @yield('extension.header') @endsection @section('content') @yield('extension.config') @yield('extension.description')@section('content-header')
| Time | Admin | IP Address | Action | Details |
|---|---|---|---|---|
| {{ \Carbon\Carbon::parse($log['timestamp'])->diffForHumans() }} {{ \Carbon\Carbon::parse($log['timestamp'])->format('Y-m-d H:i:s') }} | {{ $log['admin_email'] }} | {{ $log['ip_address'] }} | @php $actionClass = match(true) { str_contains(strtolower($log['action']), 'created') => 'success', str_contains(strtolower($log['action']), 'updated') => 'info', str_contains(strtolower($log['action']), 'deleted') || str_contains(strtolower($log['action']), 'revoked') => 'danger', default => 'primary' }; $icon = match(true) { str_contains(strtolower($log['action']), 'created') => 'fa-plus-circle', str_contains(strtolower($log['action']), 'updated') => 'fa-pencil', str_contains(strtolower($log['action']), 'deleted') || str_contains(strtolower($log['action']), 'revoked') => 'fa-trash', default => 'fa-circle' }; @endphp {{ $log['action'] }} | {{ $log['details'] }} |
| No audit logs found. | ||||