2023-01-30 09:47:32 +00:00
|
|
|
<!doctype html>
|
|
|
|
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
|
|
|
|
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
<meta content="{{ config('SETTINGS::SYSTEM:SEO_TITLE') }}" property="og:title">
|
|
|
|
<meta content="{{ config('SETTINGS::SYSTEM:SEO_DESCRIPTION') }}" property="og:description">
|
|
|
|
<meta content='{{ \Illuminate\Support\Facades\Storage::disk('public')->exists('logo.png') ? asset('storage/logo.png') : asset('images/controlpanel_logo.png') }}' property="og:image">
|
|
|
|
|
|
|
|
<!-- CSRF Token -->
|
|
|
|
<meta name="csrf-token" content="{{ csrf_token() }}">
|
|
|
|
|
|
|
|
<title>{{ config('app.name', 'Laravel') }}</title>
|
|
|
|
<link rel="icon"
|
2023-02-01 08:54:21 +00:00
|
|
|
href="{{ \Illuminate\Support\Facades\Storage::disk('public')->exists('favicon.ico') ? \Illuminate\Support\Facades\Storage::disk('public')->url('favicon.ico') : asset('favicon.ico') }}"
|
|
|
|
type="image/x-icon">
|
2023-01-30 09:47:32 +00:00
|
|
|
|
|
|
|
<script src="{{ asset('js/app.js') }}" defer></script>
|
|
|
|
|
|
|
|
<!-- Fonts -->
|
|
|
|
<link rel="dns-prefetch" href="//fonts.gstatic.com">
|
|
|
|
<link href="https://fonts.googleapis.com/css?family=Nunito" rel="stylesheet">
|
|
|
|
|
|
|
|
<link rel="preload" href="{{ asset('plugins/fontawesome-free/css/all.min.css') }}" as="style"
|
2023-02-01 08:54:21 +00:00
|
|
|
onload="this.onload=null;this.rel='stylesheet'">
|
2023-01-30 09:47:32 +00:00
|
|
|
<noscript>
|
|
|
|
<link rel="stylesheet" href="{{ asset('plugins/fontawesome-free/css/all.min.css') }}">
|
|
|
|
</noscript>
|
|
|
|
@if (config('SETTINGS::RECAPTCHA:ENABLED') == 'true')
|
|
|
|
{!! htmlScriptTagJsApi() !!}
|
|
|
|
@endif
|
2023-02-01 08:54:21 +00:00
|
|
|
<link rel="stylesheet" href="{{ asset('themes/BlueInfinity/app.css') }}">
|
2023-01-30 09:47:32 +00:00
|
|
|
</head>
|
|
|
|
@yield('content')
|
|
|
|
|
|
|
|
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@10.14.1/dist/sweetalert2.all.min.js"></script>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
@if (Session::has('error'))
|
2023-02-01 08:54:21 +00:00
|
|
|
Swal.fire({
|
|
|
|
icon: 'error',
|
|
|
|
title: 'Oops...',
|
|
|
|
html: '{{ Session::get('error') }}',
|
|
|
|
})
|
2023-01-30 09:47:32 +00:00
|
|
|
@endif
|
|
|
|
|
|
|
|
@if (Session::has('success'))
|
2023-02-01 08:54:21 +00:00
|
|
|
Swal.fire({
|
|
|
|
icon: 'success',
|
|
|
|
title: '{{ Session::get('success') }}',
|
|
|
|
position: 'top-end',
|
|
|
|
showConfirmButton: false,
|
|
|
|
background: '#343a40',
|
|
|
|
toast: true,
|
|
|
|
timer: 3000,
|
|
|
|
timerProgressBar: true,
|
|
|
|
didOpen: (toast) => {
|
|
|
|
toast.addEventListener('mouseenter', Swal.stopTimer)
|
|
|
|
toast.addEventListener('mouseleave', Swal.resumeTimer)
|
|
|
|
}
|
|
|
|
})
|
2023-01-30 09:47:32 +00:00
|
|
|
@endif
|
|
|
|
</script>
|
|
|
|
|
|
|
|
</html>
|