Viewing file: admin.blade.php (8.8 KB) -rw-rw-r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
@php use App\Models\Utility;
//$logo=asset(Storage::url('uploads/logo/')); $logo=\App\Models\Utility::get_file('uploads/logo');
$company_favicon=Utility::getValByName('company_favicon'); $setting = \App\Models\Utility::colorset(); $company_logo = \App\Models\Utility::GetLogo(); $mode_setting = \App\Models\Utility::mode_layout(); $color = (!empty($setting['color'])) ? $setting['color'] : 'theme-3'; $SITE_RTL = Utility::getValByName('SITE_RTL'); $lang=Utility::getValByName('default_language');
@endphp <!DOCTYPE html> <html lang="{{ str_replace('_', '-', app()->getLocale()) }}" dir="{{$SITE_RTL == 'on' ? 'rtl' : '' }}">
<meta name="csrf-token" id="csrf-token" content="{{ csrf_token() }}"> <head> <title>{{(Utility::getValByName('title_text')) ? Utility::getValByName('title_text') : config('app.name', 'ERPGO')}} - @yield('page-title')</title> <script src="{{ asset('js/html5shiv.js') }}"></script> {{-- <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>--}} {{-- <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>--}}
<!-- Meta --> <meta charset="utf-8"/> <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimal-ui"/> <meta http-equiv="X-UA-Compatible" content="IE=edge"/> <meta name="url" content="{{ url('').'/'.config('chatify.path') }}" data-user="{{ Auth::user()->id }}"> <link rel="icon" href="{{$logo.'/'.(isset($company_favicon) && !empty($company_favicon)?$company_favicon:'favicon.png')}}" type="image" sizes="16x16">
<!-- Favicon icon --> {{-- <link rel="icon" href="{{ asset('assets/images/favicon.svg') }}" type="image/x-icon"/>--}} <!-- Calendar--> @stack('css-page') <link rel="stylesheet" href="{{ asset('assets/css/plugins/main.css') }}">
<link rel="stylesheet" href="{{ asset('assets/css/plugins/style.css') }}"> <link rel="stylesheet" href="{{ asset('assets/css/plugins/flatpickr.min.css') }}">
<link rel="stylesheet" href="{{ asset('assets/css/plugins/animate.min.css') }}">
<!-- font css --> <link rel="stylesheet" href="{{ asset('assets/fonts/tabler-icons.min.css') }}"> <link rel="stylesheet" href="{{ asset('assets/fonts/feather.css') }}"> <link rel="stylesheet" href="{{ asset('assets/fonts/fontawesome.css') }}"> <link rel="stylesheet" href="{{ asset('assets/fonts/material.css') }}">
<!--bootstrap switch--> <link rel="stylesheet" href="{{ asset('assets/css/plugins/bootstrap-switch-button.min.css') }}">
<!-- vendor css --> @if ($SITE_RTL == 'on') <link rel="stylesheet" href="{{ asset('assets/css/style-rtl.css') }}"> @endif @if ($setting['cust_darklayout'] == 'on') <link rel="stylesheet" href="{{ asset('assets/css/style-dark.css') }}"> @else <link rel="stylesheet" href="{{ asset('assets/css/style.css') }}" id="main-style-link"> @endif
<link rel="stylesheet" href="{{ asset('assets/css/customizer.css') }}"> <link rel="stylesheet" href="{{ asset('css/custom.css') }}" id="main-style-link">
@stack('css-page') </head> <body class="{{ $color }}">
<!-- [ Pre-loader ] start --> <div class="loader-bg"> <div class="loader-track"> <div class="loader-fill"></div> </div> </div>
@include('partials.admin.menu') <!-- [ navigation menu ] end --> <!-- [ Header ] start --> @include('partials.admin.header')
<!-- Modal --> <div class="modal notification-modal fade" id="notification-modal" tabindex="-1" role="dialog" aria-hidden="true" > <div class="modal-dialog" role="document"> <div class="modal-content"> <div class="modal-body"> <button type="button" class="btn-close float-end" data-bs-dismiss="modal" aria-label="Close" ></button> <h6 class="mt-2"> <i data-feather="monitor" class="me-2"></i>Desktop settings </h6> <hr/> <div class="form-check form-switch"> <input type="checkbox" class="form-check-input" id="pcsetting1" checked /> <label class="form-check-label f-w-600 pl-1" for="pcsetting1" >Allow desktop notification</label > </div> <p class="text-muted ms-5"> you get lettest content at a time when data will updated </p> <div class="form-check form-switch"> <input type="checkbox" class="form-check-input" id="pcsetting2"/> <label class="form-check-label f-w-600 pl-1" for="pcsetting2" >Store Cookie</label > </div> <h6 class="mb-0 mt-5"> <i data-feather="save" class="me-2"></i>Application settings </h6> <hr/> <div class="form-check form-switch"> <input type="checkbox" class="form-check-input" id="pcsetting3"/> <label class="form-check-label f-w-600 pl-1" for="pcsetting3" >Backup Storage</label > </div> <p class="text-muted mb-4 ms-5"> Automaticaly take backup as par schedule </p> <div class="form-check form-switch"> <input type="checkbox" class="form-check-input" id="pcsetting4"/> <label class="form-check-label f-w-600 pl-1" for="pcsetting4" >Allow guest to print file</label > </div> <h6 class="mb-0 mt-5"> <i data-feather="cpu" class="me-2"></i>System settings </h6> <hr/> <div class="form-check form-switch"> <input type="checkbox" class="form-check-input" id="pcsetting5" checked /> <label class="form-check-label f-w-600 pl-1" for="pcsetting5" >View other user chat</label > </div> <p class="text-muted ms-5">Allow to show public user message</p> </div> <div class="modal-footer"> <button type="button" class="btn btn-light-danger btn-sm" data-bs-dismiss="modal" > Close </button> <button type="button" class="btn btn-light-primary btn-sm"> Save changes </button> </div> </div> </div> </div> <!-- [ Header ] end -->
<!-- [ Main Content ] start --> <div class="dash-container"> <div class="dash-content"> <div class="page-header"> <div class="page-block"> <div class="row align-items-center"> <div class="col-auto"> <div class="page-header-title"> <h4 class="m-b-10">@yield('page-title')</h4> </div> <ul class="breadcrumb"> @yield('breadcrumb') </ul> </div> <div class="col"> @yield('action-btn') </div> </div> </div> </div> @yield('content') <!-- [ Main Content ] end --> </div> </div> <div class="modal fade" id="commonModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true"> <div class="modal-dialog" role="document"> <div class="modal-content"> <div class="modal-header"> <h5 class="modal-title" id="exampleModalLabel"></h5> <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button> </div> <div class="body"> </div> </div> </div> </div> <div class="position-fixed top-0 end-0 p-3" style="z-index: 99999"> <div id="liveToast" class="toast text-white fade" role="alert" aria-live="assertive" aria-atomic="true"> <div class="d-flex"> <div class="toast-body"> </div> <button type="button" class="btn-close btn-close-white me-2 m-auto" data-bs-dismiss="toast" aria-label="Close"></button> </div> </div> </div> @include('partials.admin.footer') @include('Chatify::layouts.footerLinks') </body> </html>
|