@extends('layouts.app') @section('title', 'Login Attempts') @section('content')

Login Attempts

All Logs
@forelse($logs as $log) @empty @endforelse
Timestamp User Action IP Address User Agent Actions
{{ $log->created_at->format('M d, Y') }}
{{ $log->created_at->format('H:i:s') }}
@if($log->user)
{{ $log->user->name }}
{{ $log->user->email }}
@else Unknown @endif
{{ ucfirst(str_replace('_', ' ', $log->action)) }}
{{ $log->ip_address ?? 'N/A' }}
{{ Str::limit($log->user_agent ?? 'N/A', 50) }}
View
No login attempts found.
@if($logs->hasPages())
{{ $logs->links() }}
@endif
@endsection