Viewing file: shareproject.blade.php (5.3 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
@php $route=\Request::route()->getName(); $segment = Request::segment(3); $id=\Illuminate\Support\Facades\Crypt::decrypt($segment); $project=\App\Models\Project::find($id); $user=\App\Models\User::find($project->created_by); $setting = DB::table('settings')->where('created_by', $user->creatorId())->pluck('value','name')->toArray(); $SITE_RTL = \App\Models\Utility::settingsById($project->created_by); $company_favicon=Utility::companyData($project->created_by,'company_favicon'); $logo=\App\Models\Utility::get_file('uploads/logo'); $color = (!empty($setting['color'])) ? $setting['color'] : 'theme-3';
@endphp <!DOCTYPE html> <html lang="{{ str_replace('_', '-', app()->getLocale()) }}" dir="{{$SITE_RTL['SITE_RTL'] == 'on'?'rtl':''}}"> <head> <title> {{ Utility::getValByName('title_text') ? Utility::getValByName('title_text') : config('app.name', 'ERPGo') }} - @yield('page-title')</title> <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="description" content="Dashboard Template Description" /> <meta name="keywords" content="Dashboard Template" /> <meta name="author" content="Rajodiya Infotech" /> <meta name="csrf-token" content="{{ csrf_token() }}"> <!-- Favicon icon -->
<link rel="icon" href="{{$logo.'/'.(isset($company_favicon) && !empty($company_favicon)?$company_favicon:'favicon.png')}}" type="image/x-icon" /> @stack('head') <!-- for calender--> <link rel="stylesheet" href="{{ asset('assets/css/plugins/main.css') }}"> <link rel="stylesheet" href="{{ asset('assets/css/plugins/datepicker-bs5.min.css') }}"> <link rel="stylesheet" href="{{ asset('assets/css/plugins/style.css') }}"> <!-- font css --> <link rel="stylesheet" href="{{ asset('assets/css/plugins/bootstrap-switch-button.min.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') }}"> @if ($SITE_RTL == 'on') <link rel="stylesheet" href="{{ asset('assets/css/style-rtl.css') }}"> @endif @if (isset($setting['cust_darklayout']) && $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('css/custom.css') }}" id="main-style-link">
</head> <body class={{$color}}>
<div class="container"> <div class="dash-content"> <!-- [ breadcrumb ] start --> <div class="page-header"> <div class="page-block"> <div class="row align-items-center"> <div class="col-md-12 mt-5 mb-4"> <div class="d-block d-sm-flex align-items-center justify-content-between"> <div>
</div> <div> @yield('action-button') </div>
</div> </div> </div> </div> </div> <!-- <div class="row"> --> @yield('content')
<!-- </div> --> </div> </div> <script src="{{ asset('assets/js/plugins/choices.min.js') }}"></script> <script src="{{ asset('js/jquery.min.js') }}"></script> <script src="{{ asset('js/jquery.form.js') }}"></script> <script src="{{ asset('js/letter.avatar.js') }}"></script> <script src="{{ asset('assets/js/plugins/datepicker-full.min.js') }}"></script> <script src="{{ asset('assets/js/plugins/popper.min.js') }}"></script> <script src="{{ asset('assets/js/plugins/perfect-scrollbar.min.js') }}"></script> <script src="{{ asset('assets/js/plugins/bootstrap.min.js') }}"></script> <script src="{{ asset('assets/js/plugins/feather.min.js') }}"></script> <script src="{{ asset('assets/js/plugins/bootstrap-switch-button.min.js') }}"></script> <script src="{{ asset('assets/js/dash.js') }}"></script> <script src="{{ asset('assets/js/plugins/sweetalert2.all.min.js') }}"></script> <script src="{{ asset('assets/js/plugins/simple-datatables.js') }}"></script> <script src="{{ asset('assets/js/plugins/flatpickr.min.js') }}"></script> <script src="{{ asset('js/custom.js') }}"></script> <script src="{{ asset('js/chatify/autosize.js') }}"></script> <script src='https://unpkg.com/nprogress@0.2.0/nprogress.js'></script> <script src="{{url('js/swiper.min.js')}}"></script>
@stack('script-page') </body> <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>
</html>
|