@extends('layouts.app') @section('title', 'Toolbox Topics') @section('content')

Toolbox Topics

{{ $stats['total'] }}

Total Topics

Available topics

{{ $stats['active'] }}

Active Topics

Currently available

{{ $stats['mandatory'] }}

Mandatory Topics

Required training

{{ $topics->where('average_feedback_score', '>=', 4)->count() }}

Highly Rated

4+ star rating

@forelse($topics as $topic) @empty @endforelse
Topic Category Difficulty Duration Rating Usage Actions
{{ $topic->title }}
{{ Str::limit($topic->description, 80) }}
@if($topic->is_mandatory) Mandatory @endif
{{ ucfirst($topic->category) }} {{ ucfirst($topic->difficulty) }} {{ $topic->estimated_duration }} min @if($topic->average_feedback_score)
{{ number_format($topic->average_feedback_score, 1) }}
@for($i = 1; $i <= 5; $i++) @endfor
@else Not rated @endif
{{ $topic->usage_count ?? 0 }} times View Edit
No topics found
@if($topics->hasPages())
{{ $topics->links() }}
@endif
@endsection