@extends('layouts.main_dashboard.app') @php($routePrefix = auth()->user()?->usesStaffPortal() ? 'teacher' : 'admin') @section('styles') @endsection @section('title', __('dashboard.Add New Material')) @section('page_heading', __('dashboard.Add New Material')) @section('breadcrumb') @endsection @section('actions') {{ __('dashboard.View All Materials') }} @endsection @section('content')
{{ __('dashboard.Add New Material') }}

{{ __('dashboard.Create a new learning material') }}

{{ __('dashboard.Upload files or record live content, connect the material to a lesson, and publish it to the current or related courses from one place.') }}

{{ __('dashboard.Course') }}
{{ $course->name }}
{{ __('dashboard.Lessons') }} {{ $lessons->count() }}
@if($relatedCourses->isNotEmpty())
{{ __('dashboard.Related Courses') }} {{ $relatedCourses->count() }}
@endif
@csrf
{{ __('dashboard.Material Details') }} {{ __('dashboard.Select the lesson, title, visibility, and optional multi-course publishing.') }}
@if($relatedCourses->isNotEmpty())
{{ __('dashboard.Leave empty to upload to current course only.') }}
@endif
{{ __('dashboard.Files') }} / {{ __('dashboard.Live Recording') }} {{ __('dashboard.Upload pre-prepared content or record directly from the browser, then save the material once upload is complete.') }}

{{ __('dashboard.Drag and drop files here or click to select files') }}

{{ __('dashboard.Chunked upload is enabled for large files and unstable connections.') }}
{{ __('dashboard.Note:') }}
{{ __('dashboard.Select either Audio or Video recording. The recorded file will be automatically processed for upload.') }}
{{ __('dashboard.Preview:') }}
00:00

{{ __('dashboard.Recording in progress...') }}

{{ __('dashboard.Recording ready! Click Save below to upload.') }}
{{ __('dashboard.Cancel') }}
@endsection @section('scripts') @endsection