@extends('layouts.app') @section('title', 'Learning Materials & PDF Notes') @section('page-title', 'PDF Notes Upload') @section('content')
Learning Materials & PDF Notes

Upload and access class notes, revision materials, and syllabus PDFs.

@if(request('class_level') || request('search')) @endif
@forelse($notes as $note)
{{ $note->class_level }} @if($note->subject_name) {{ $note->subject_name }} @endif
{{ $note->title }}
@if($note->description)

{{ Str::limit($note->description, 100) }}

@endif
{{ $note->uploader->name ?? 'Staff' }}
{{ $note->created_at->format('M d, Y') }}
@if(auth()->user()->isAdmin() || $note->uploaded_by === auth()->id())
@csrf @method('DELETE')
@endif
@empty
No PDF Notes Uploaded Yet

Click "Upload New Notes" above to share study materials with students.

@endforelse
@if($notes->hasPages())
{{ $notes->links() }}
@endif
@endsection