@extends('layouts.superadmin') @section('title','رادار سقراط — الأهداف (محاولات الدخول)') @section('content') @php $riskBadge = function($level){ return match($level){ 'high' => 'bg-rose-500/10 text-rose-200 border-rose-400/25', 'medium' => 'bg-amber-500/10 text-amber-200 border-amber-400/25', default => 'bg-emerald-500/10 text-emerald-200 border-emerald-400/25', }; }; @endphp
تجميع ذكي لكل الحسابات التي تمّت محاولة الدخول إليها ضمن الفترة المحددة — مع عدد المحاولات، عدد الـ IPs الصالحة، الأجهزة، وآخر بصمة جهاز.
كل هدف = تجميعة مخاطر كاملة.
| الهدف | آخر IP | آخر جهاز | محاولات | IPs | Devices | Risk | آخر وقت |
|---|---|---|---|---|---|---|---|
|
{{ $t->user_name ?: $t->login_value }}
{{ $t->user_email ?: $t->login_value }}
|
{{ $t->last_ip ?: '—' }} |
{{ $t->last_device ?: '—' }}
{{ $t->last_browser ?: '—' }} • {{ $t->last_os ?: '—' }}
|
{{ (int)$t->attempts }} | {{ (int)$t->unique_ips }} | {{ (int)$t->devices }} | {{ strtoupper($t->risk_level) }} | {{ \Carbon\Carbon::parse($t->last_at)->format('Y-m-d H:i') }} |
| لا يوجد أهداف ضمن هذه الفترة. | |||||||