@extends('layouts.master')

@section('title')
    عرض دروس برنامج @isset($course->title)
        {{ $course->title }}
    @endisset
@endsection

@section('first-css')
@endsection


@section('content-body')
    <!--**********************************
                            Content body start
                        ***********************************-->
    @include('massages')

    <!-- row -->
    <div class="container-fluid">

        <!--**********************************Tabs Start***********************************-->
        <div class="d-flex flex-wrap align-items-start justify-content-start  mb-3">
            {{-- <button type="button" class="btn btn-secondary  me-1" data-bs-toggle="modal" data-bs-target="#importExcel">
                <i class="mdi mdi-plus-circle ms-2"></i> استيراد من أكسل
            </button> --}}
            <button type="button" class="btn btn-primary  me-1" data-bs-toggle="modal" data-bs-target="#addLesson">
                <i class="mdi mdi-plus-circle ms-2"></i>اضافة درس جديد
            </button>
        </div>
        <!--**********************************Tabs End***********************************-->
        <div class="row">
            <div class="col-xl-12 tab-content">
                @include('lessons.tables.all')
            </div>
        </div>
    </div>

    <!--**********************************
                            Content body end
                ***********************************-->

    @include('lessons.modals.new')
    @include('lessons.modals.update')
@endsection
@section('script')
    <script src="{{ asset('/js/update/update-lesson.js') }}"></script>
@endsection
