@extends('layouts.admin') @section('content')
Results
View performance, attempts, and per-student breakdown
Completed Exams
{{ $totalExams ?? 0 }}
Total Attempts
{{ $totalAttempts ?? 0 }}
Pass Rate
{{ number_format($passRate ?? 0, 1) }}%
Avg Score
{{ number_format($avgScore ?? 0, 1) }}%
| Exam | Type | Subject | Topic | Difficulty | Test Type | Attempts | Action |
|---|---|---|---|---|---|---|---|
|
{{ $exam->title }} |
{{-- Exam Type --}}
{{ $exam->exam_type ?? 'N/A' }} | {{-- Subject --}}@if($exam->subject && $exam->subject !== 'All Subjects') 📚 {{ $exam->subject }} @elseif($exam->subject === 'All Subjects') 📚 All Subjects @else — @endif | {{-- Topic --}}@if($exam->topic) → {{ $exam->topic }} @else — @endif | {{-- Difficulty --}}@if($exam->difficulty_level) {{ $exam->difficulty_level }} @else — @endif | {{-- Test Type --}}@if($exam->test_type) {{ ucwords(str_replace('_', ' ', $exam->test_type)) }} @else — @endif | {{-- Attempts --}}{{ $exam->results_count ?? 0 }} | {{-- Action --}}View Students |
{{ $exam->title }}
No completed exams yet
@if($search || $selectedExamType) Try adjusting your filters or search query @else Exams with at least one attempt will appear here @endif