@extends('layouts.examiner') @section('title', 'Online Candidates') @section('content')

Online Candidates

{{ $onlineCandidates->count() }} Currently Online
@if(session('success'))
{{ session('success') }}
@endif @if(session('error'))
{{ session('error') }}
@endif
@forelse($onlineCandidates as $i => $exam) @php $cand = $exam->candidate; @endphp @if($cand) @endif @empty @endforelse
# Reg No Name Gender Department IP Time Left (min) Started Actions
{{ $i + 1 }} {{ $cand->reg_no }} {{ $cand->full_name }} {{ $cand->gender_label }} {{ optional($cand->department)->name ?? '—' }} {{ $cand->ip ?: '—' }} {{ $exam->remaining_time ?? '—' }} {{ $exam->started_at ? $exam->started_at->format('H:i') : '—' }}
@csrf
No candidates currently online.
Go to Reset Management
@endsection