@extends('layouts.master')

@section('title')
    عرض الدورات التدريبية
@endsection

@section('first-css')
@endsection

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

    <!-- row -->
    <div class="container-fluid container-fluid-traning bg-white">
        <!--**********************************Tabs Start***********************************-->
        <div class="d-flex flex-wrap align-items-start justify-content-start  mb-3">
            @if(Auth::user()->role==0)
            <button type="button" class="btn btn-primary  me-1" data-bs-toggle="modal" data-bs-target="#addClassRoom">
                <i class="mdi mdi-plus-circle ms-2"></i>اضافة دورة تدريبية جديد
            </button>
            @endif
        </div>
        <!--**********************************Tabs End***********************************-->
        <div class="row">
            <div class="col-xl-12 tab-content">
                @include('class-room.tables.all')
            </div>
        </div>
    </div>

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

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