{{-- Template Name: Metronic - Responsive Admin Dashboard Template build with Twitter Bootstrap 4 & Angular 8 Author: KeenThemes Website: http://www.keenthemes.com/ Contact: support@keenthemes.com Follow: www.twitter.com/keenthemes Dribbble: www.dribbble.com/keenthemes Like: www.facebook.com/keenthemes Purchase: http://themeforest.net/item/metronic-responsive-admin-dashboard-template/4021469?ref=keenthemes Renew Support: http://themeforest.net/item/metronic-responsive-admin-dashboard-template/4021469?ref=keenthemes License: You must have a valid license purchased only from themeforest(the above link) in order to legally use the theme for your project. --}} {{-- Title Section --}} @yield('title', $page_title ?? '') {{-- Meta Data --}} {{-- Favicon --}} {{-- Fonts --}} {{-- Metronic::getGoogleFontsInclude() --}} {{-- Global Theme Styles (used by all pages) --}} @foreach(config('layout.resources.css') as $style) @endforeach {{-- Layout Themes (used by all pages) --}} @foreach (Metronic::initThemes() as $theme) @endforeach {{-- Includable CSS --}} @yield('styles') @if (config('layout.page-loader.type') != '') @include('layout.partials._page-loader') @endif @if (Route::currentRouteName() == 'login') @include('pages.login.index') @else @include('layout.base._layout') @endif {{-- Modal Transfer Call --}} @include('pages.components.cards.atendimento._modalTransferCall') {{-- Modal Blind Call --}} @include('pages.components.cards.atendimento._modalBlindCall') {{-- Callback Overlay --}} @include('pages.components.cards.atendimento._callbackOverlay') {{-- Global Config (global config for global JS scripts) --}} {{-- Global Theme JS Bundle (used by all pages) --}} @foreach(config('layout.resources.js') as $script) @endforeach @if (Route::currentRouteName() == 'login') @endif {{-- Includable JS --}} @yield('scripts') @if(isset($_SESSION)) @if (array_key_exists("user_type", $_SESSION) && $_SESSION["user_type"] == "agente") @include('pages.components.cards.atendimento.btn_mute') @if ( env('EXTERNAL_CALLS_SHOW') == "SHOW") @include('pages.components.cards.atendimento.dialpad') @endif @endif @endif