@php global $GROCY_REQUIRED_FRONTEND_PACKAGES; @endphp @if (GROCY_AUTHENTICATED) @endif @yield('title') | Grocy @if(in_array('bootstrap-combobox', $GROCY_REQUIRED_FRONTEND_PACKAGES)) @endif @if(in_array('bootstrap-select', $GROCY_REQUIRED_FRONTEND_PACKAGES)) @endif @if(in_array('datatables', $GROCY_REQUIRED_FRONTEND_PACKAGES)) @endif @if(in_array('tempusdominus', $GROCY_REQUIRED_FRONTEND_PACKAGES)) @endif @if(in_array('summernote', $GROCY_REQUIRED_FRONTEND_PACKAGES)) @endif @if(in_array('animatecss', $GROCY_REQUIRED_FRONTEND_PACKAGES)) @endif @if(in_array('fullcalendar', $GROCY_REQUIRED_FRONTEND_PACKAGES)) @endif @if(in_array('daterangepicker', $GROCY_REQUIRED_FRONTEND_PACKAGES)) @endif @if(boolval($userSettings['night_mode_enabled_internal'])) @endif @stack('pageStyles') @if(file_exists(GROCY_DATAPATH . '/custom_css.html')) @php include GROCY_DATAPATH . '/custom_css.html' @endphp @endif @if(!$embedded) @endif
@yield('content')
@if(!empty($__t('moment_locale') && $__t('moment_locale') != 'x'))@endif @if(in_array('bootstrap-combobox', $GROCY_REQUIRED_FRONTEND_PACKAGES)) @endif @if(in_array('datatables', $GROCY_REQUIRED_FRONTEND_PACKAGES)) @endif @if(in_array('tempusdominus', $GROCY_REQUIRED_FRONTEND_PACKAGES)) @endif @if(in_array('summernote', $GROCY_REQUIRED_FRONTEND_PACKAGES)) @if(!empty($__t('summernote_locale') && $__t('summernote_locale') != 'x'))@endif @endif @if(in_array('bootstrap-select', $GROCY_REQUIRED_FRONTEND_PACKAGES)) @if(!empty($__t('bootstrap-select_locale') && $__t('bootstrap-select_locale') != 'x'))@endif @endif @if(in_array('fullcalendar', $GROCY_REQUIRED_FRONTEND_PACKAGES)) @if(!empty($__t('fullcalendar_locale') && $__t('fullcalendar_locale') != 'x'))@endif @endif @if(in_array('daterangepicker', $GROCY_REQUIRED_FRONTEND_PACKAGES)) @endif @if(in_array('quagga2', $GROCY_REQUIRED_FRONTEND_PACKAGES)) @endif @if(in_array('bwipjs', $GROCY_REQUIRED_FRONTEND_PACKAGES)) @endif @if(in_array('chartjs', $GROCY_REQUIRED_FRONTEND_PACKAGES)) @endif @if($embedded) @endif @if(in_array('datatables', $GROCY_REQUIRED_FRONTEND_PACKAGES)) @endif @if(in_array('summernote', $GROCY_REQUIRED_FRONTEND_PACKAGES)) @endif @stack('pageScripts') @stack('componentScripts') @if(file_exists(GROCY_DATAPATH . '/custom_js.html')) @php include GROCY_DATAPATH . '/custom_js.html' @endphp @endif