@extends('Component.layout') @section('title', 'Admin Dashboard - Iqra') @section('breadcrumb', 'Admin Dashboard') @section('content')

Dashboard

Plan, prioritize, and accomplish your tasks with ease.

Total Students
{{ $totalStudents }}
Registered across all classes
Total Tests
{{ $totalExams }}
Created by all teachers
Total Teachers
{{ $totalTeachers }}
Staff registered in system

Class Performance Overview

Average marks percentage by class

Recent Announcements

@forelse($announcements as $announcement)

{{ $announcement->title }}

{{ $announcement->type === 'general' ? 'General' : 'Class' }}

{{ $announcement->content }}

@empty

No recent announcements.

@endforelse
View All Messages

Teacher Accounts

Manage and configure school classroom Teachers

@forelse($teachers as $teacher) @empty @endforelse
Teacher Name Email Address Status Actions
{{ $teacher->name }} {{ $teacher->email }} {{ $teacher->status }}
@csrf
@csrf @method('DELETE')
No Teachers created by this Admin account yet.
@endsection