@extends('adminlte::master') @inject('layoutHelper', 'JeroenNoten\LaravelAdminLte\Helpers\LayoutHelper') @if($layoutHelper->isLayoutTopnavEnabled()) @php( $def_container_class = 'container' ) @else @php( $def_container_class = 'container-fluid' ) @endif @section('adminlte_css') @stack('css') @yield('css') @stop @section('classes_body', $layoutHelper->makeBodyClasses()) @section('body_data', $layoutHelper->makeBodyData()) @section('body')
{{-- Top Navbar --}} @if($layoutHelper->isLayoutTopnavEnabled()) @include('adminlte::partials.navbar.navbar-layout-topnav') @else @include('adminlte::partials.navbar.navbar') @endif {{-- Left Main Sidebar --}} @if(!$layoutHelper->isLayoutTopnavEnabled()) @include('adminlte::partials.sidebar.left-sidebar') @endif {{-- Content Wrapper --}}
{{-- Content Header --}}
@yield('content_header')
{{-- Main Content --}}
@yield('content')
{{-- Footer --}} @hasSection('footer') @include('adminlte::partials.footer.footer') @endif {{-- Right Control Sidebar --}} @if(config('adminlte.right_sidebar')) @include('adminlte::partials.sidebar.right-sidebar') @endif
@stop @section('adminlte_js') @stack('js') @yield('js') @stop