@extends('layouts.school') @section('title', 'Exam Dashboard') @section('header', 'Exam Management') @section('content')

Overview of examinations across your school

Total Exams

๐Ÿ“

{{ $totalExams }}

{{ $totalClasses }} active classes

Published

โœ…

{{ $publishedExams }}

View exams โ†’

Drafts

๐Ÿ“„

{{ $draftExams }}

Create exam โ†’

Results Entered

๐ŸŽฏ

{{ number_format($totalResults) }}

{{ $currentTerm?->name ? 'Current term: ' . $currentTerm->name : 'No current term' }}

Recent Examinations

View all โ†’
@forelse($recentExams as $exam)
{{ $exam->name }}

{{ $exam->classroom?->name ?? 'โ€”' }} ยท {{ $exam->term?->name ?? 'โ€”' }} ยท {{ ucfirst($exam->type) }} ยท {{ $exam->total_marks }} marks

{{ $exam->is_published ? 'Published' : 'Draft' }}
@empty

No examinations yet. Create your first exam

@endforelse

Exams by Type

@php $types = ['exam' => 'Exams', 'test' => 'Tests', 'assignment' => 'Assignments']; $colors = ['exam' => 'bg-blue-50 text-blue-700', 'test' => 'bg-purple-50 text-purple-700', 'assignment' => 'bg-orange-50 text-orange-700']; $counts = []; foreach ($types as $key => $label) { $counts[$key] = $examsByType->get($key, 0); } $max = max(1, (int) $examsByType->max()); @endphp
@foreach ($types as $key => $label)
{{ $label }} {{ $counts[$key] }}
@endforeach

Grading

Grading bands: {{ $totalGrades }}

Manage grading scale โ†’

๐Ÿ—“๏ธ Examination Schedule

Plan exam dates, times, rooms and supervisors for each subject.

๐Ÿ‘ฅ Examination Candidates

Select which students are sitting for each examination.

๐Ÿ“‹ Examination Attendance

Mark student attendance per exam per subject.

@endsection