60 lines
2.3 KiB
PHP
60 lines
2.3 KiB
PHP
<!DOCTYPE html>
|
|
<html lang="fr">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="csrf-token" content="{{ csrf_token() }}">
|
|
<title>Support LDCWEB</title>
|
|
|
|
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
|
|
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
|
|
<link rel="icon" type="image/png" sizes="192x192" href="/android-chrome-192x192.png">
|
|
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
|
|
<link rel="manifest" href="/site.webmanifest">
|
|
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#0040a6">
|
|
<meta name="apple-mobile-web-app-title" content="Support Web">
|
|
<meta name="application-name" content="Support Web">
|
|
<meta name="msapplication-TileColor" content="#4c272c">
|
|
<meta name="msapplication-TileImage" content="/mstile-144x144.png">
|
|
<meta name="theme-color" content="#ffffff">
|
|
|
|
<!-- Styles -->
|
|
<link href="{{ mix('css/app.css') }}" rel="stylesheet">
|
|
@crudPoliciesCSS
|
|
@stack('styles')
|
|
</head>
|
|
<body>
|
|
@include('layout.nav')
|
|
<div id="app" class="content mt-5">
|
|
<div class="container container-xxl">
|
|
<div class="row justify-content-center">
|
|
<div class="col-12 @yield('bodyClass')">
|
|
@auth
|
|
@foreach ($informations as $information)
|
|
<div class="alert alert-{{ $information->type->class }}" role="alert">
|
|
<b>{{ $information->title }}</b><br>
|
|
{{ $information->message }} - {{ __('Publié le') }} {{ $information->created_at->format('d-m-Y') }}
|
|
</div>
|
|
@endforeach
|
|
@endauth
|
|
|
|
@if(!isset($modelClass))
|
|
{{-- Dont use for crud-policies --}}
|
|
@include('modules.flashMessage')
|
|
@endif
|
|
@yield('content')
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@include('layout.footer')
|
|
@stack('scriptsConstants')
|
|
@include('modules.scriptConstants')
|
|
<script src="{{ mix('js/app.js') }}"></script>
|
|
@stack('scripts')
|
|
@crudPoliciesJS()
|
|
@auth
|
|
{{-- JS SESSION ALERT IF SESSION TIMEOUT --}}
|
|
<script nonce="{{ $nonce }}">var __SESSION_WATCH = true;</script>
|
|
@endauth
|
|
</body>
|
|
</html>
|