@extends('layouts.app') @section('title', 'Lecturer Dashboard') @section('content')

Lecturer Dashboard

Cohort overview — {{ now()->format('l, d F Y') }}

All students
{{-- ── Key numbers ────────────────────────────────────────────────────── --}}
{{ $stats['students'] }}
Students
{{ $stats['active'] }} active
@include('student.logbook._ring', ['percent' => $stats['average'], 'size' => 58])
Average
current semester
{{ $stats['retry'] }}
Procedures to retry
across the cohort
{{ $stats['this_week'] }}
Assessed this week
{{ $stats['reports'] }} reports on file
@if($stats['no_semester'] > 0)
{{ $stats['no_semester'] }} student{{ $stats['no_semester'] === 1 ? ' has' : 's have' }} no current semester set, so they are excluded from the figures above. Review students.
@endif
{{-- ── Needs attention ────────────────────────────────────────────── --}}
Students furthest behind
{{-- ── Cohort spread ──────────────────────────────────────────── --}}
Cohort spread
@php $max = max(1, max($bands)); @endphp @foreach($bands as $label => $count)
{{ $label }}
{{ $count }}
@endforeach @if(array_sum($bands) === 0)
No students with progress to chart yet.
@endif
{{-- ── Activity + intakes ─────────────────────────────────────────── --}}
Latest assessments
@forelse($recent as $a)
{{ $a->is_na ? 'NA' : $a->score }}
{{ $a->student?->name ?? 'Student removed' }}
{{ $a->procedure?->name }}
{{ $a->assessedBy?->name }} · {{ $a->assessment_date->format('d M Y') }}
@empty
No assessments recorded yet.
@endforelse
@if($intakes->isNotEmpty())
Intakes
    @foreach($intakes as $intake => $count)
  • {{ $intake }} {{ $count }}
  • @endforeach
@endif
@endsection