<!doctype html>
<html lang="en">

@include('partial.heads')

<body>

@include('partial.sidebar')

@include('partial.navbar')

<div class="content-page">
    <div class="container-fluid">

        @if(session('permission_error'))
            <div class="alert alert-danger alert-dismissible fade show" role="alert">
                <i class="ri-error-warning-line mr-1"></i>
                {{ session('permission_error') }}

                <button type="button" class="close" data-dismiss="alert">
                    <span>&times;</span>
                </button>
            </div>
        @endif

        {{-- PAGE CONTENT --}}
        @yield('content')

    </div>
</div>

@include('partial.footer')

@include('partial.scripts')

@stack('scripts')

</body>
</html>