@extends('layouts.admin')
@section('title', 'Security & Audit Logs')
@section('page-title', 'Security & Audit Logs')
@section('content')
-
-
General Activity Logs
| Date / Time |
User Type |
Identifier |
Action Actioned |
Details description |
IP Address |
User Agent |
@forelse($auditLogs as $log)
| {{ \Carbon\Carbon::parse($log->created_at)->format('d M Y H:i:s') }} |
{{ $log->user_type }}
|
{{ $log->user_identifier }} |
{{ $log->action }} |
{{ $log->details }} |
{{ $log->ip_address }} |
{{ Str::limit($log->user_agent, 45) }} |
@empty
| No activity logs recorded. |
@endforelse
{{ $auditLogs->links() }}
OTP Logs History
| Requested At |
Roll Number |
Mobile Phone |
OTP Sent |
Expiration Time |
Status |
@forelse($otpLogs as $log)
| {{ \Carbon\Carbon::parse($log->created_at)->format('d M Y H:i:s') }} |
{{ $log->roll_number }} |
{{ $log->mobile }} |
{{ $log->otp }} |
{{ \Carbon\Carbon::parse($log->expires_at)->format('H:i:s') }} |
@if($log->verified)
Verified
@elseif(\Carbon\Carbon::parse($log->expires_at)->isPast())
Expired
@else
Pending
@endif
|
@empty
| No OTP logs registered yet. |
@endforelse
{{ $otpLogs->links() }}
@endsection