You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
68 lines
2.9 KiB
68 lines
2.9 KiB
<!DOCTYPE html> |
|
<html lang="en" data-theme="dark"> |
|
<head> |
|
<meta charset="UTF-8"> |
|
<meta name="viewport" content="width=device-width, initial-scale=1.0"> |
|
@if (session('ldap_authenticated')) |
|
<meta name="csrf-token" content="{{ csrf_token() }}"> |
|
@endif |
|
<title>@yield('title', config('app.name'))</title> |
|
@include('partials.pwa-head') |
|
<script src="{{ asset('js/theme-init.js') }}"></script> |
|
<script src="https://cdn.tailwindcss.com"></script> |
|
<link rel="stylesheet" href="{{ asset('css/app-ui.css') }}"> |
|
@stack('head') |
|
</head> |
|
<body class="bg-slate-950 text-slate-100 min-h-screen flex flex-col @if(session('ldap_authenticated')) has-app-shell @endif"> |
|
@if (session('ldap_authenticated')) |
|
<div class="app-shell" data-app-shell> |
|
@include('partials.app-shell') |
|
<main class="app-shell__content"> |
|
<div id="app-content-progress" class="app-content-progress" hidden aria-hidden="true"></div> |
|
<turbo-frame id="app-content" class="app-content-frame" data-turbo-action="advance"> |
|
<div data-page-route="{{ Route::currentRouteName() }}" |
|
data-page-title="@yield('title', config('app.name'))" |
|
hidden aria-hidden="true"></div> |
|
@include('partials.ui-flash-payload') |
|
@yield('content') |
|
@stack('frame-scripts') |
|
</turbo-frame> |
|
</main> |
|
</div> |
|
@else |
|
<div class="flex-1 w-full"> |
|
@yield('content') |
|
</div> |
|
@endif |
|
@hasSection('hide_footer') |
|
@else |
|
@include('partials.footer') |
|
@endif |
|
<script src="{{ asset('js/theme.js') }}"></script> |
|
@if (session('ldap_authenticated')) |
|
<script src="https://cdn.jsdelivr.net/npm/@hotwired/turbo@8.0.12/dist/turbo.min.js" defer></script> |
|
<script src="{{ asset('js/app-nav.js') }}" defer></script> |
|
<script src="{{ asset('js/app-spa-nav.js') }}" defer></script> |
|
@endif |
|
@include('partials.ui-feedback') |
|
@if (session('ldap_authenticated')) |
|
@include('partials.list-row-actions-sheet') |
|
<script src="{{ asset('js/list-row-actions.js') }}" defer></script> |
|
@endif |
|
<script src="{{ asset('js/ui-feedback.js') }}" defer></script> |
|
<script src="{{ asset('js/pwa-register.js') }}" defer></script> |
|
<script src="{{ asset('js/pwa-install.js') }}" defer></script> |
|
@include('partials.pwa-install-prompt') |
|
@if (session('ldap_authenticated')) |
|
<script> |
|
window.__AUDIT_BEACON__ = { |
|
context: @json(route('audit.beacon.context')), |
|
pageView: @json(route('audit.beacon.page-view')), |
|
pageDuration: @json(route('audit.beacon.page-duration')), |
|
}; |
|
</script> |
|
<script src="{{ asset('js/audit-client.js') }}" defer></script> |
|
@endif |
|
@stack('scripts') |
|
</body> |
|
</html>
|
|
|