2021-07-30 22:56:43 +02:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="{{app()->getLocale()}}">
|
2021-08-19 16:38:23 +02:00
|
|
|
@include('layouts.head')
|
|
|
|
<body class="mdc-typography @if(session('high-contrast')) mdc-high-contrast @endif">
|
2022-01-25 10:18:25 +01:00
|
|
|
@php
|
|
|
|
$modules = app(\App\Http\Controllers\Controller::class)
|
|
|
|
->getModules(request());
|
|
|
|
@endphp
|
2021-08-19 16:38:23 +02:00
|
|
|
<top-app-bar>
|
|
|
|
@include('layouts.top-app-bar')
|
|
|
|
<material-drawer @mobile type="modal" @elsenotmobile type="dismissible" open @endmobile>
|
2022-01-25 10:18:25 +01:00
|
|
|
<x-drawer :modules="$modules"></x-drawer>
|
2021-08-19 16:38:23 +02:00
|
|
|
<div slot="appContent">
|
|
|
|
<main>
|
|
|
|
@inertia
|
|
|
|
</main>
|
|
|
|
</div>
|
|
|
|
</material-drawer>
|
|
|
|
<footer class="@if(session('high-contrast')) mdc-high-contrast @endif">
|
|
|
|
<div class="left-footer">
|
|
|
|
<span>
|
|
|
|
<a href="https://openstamanager.com">
|
|
|
|
@lang('OpenSTAManager')
|
|
|
|
</a>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
<div class="right-footer">
|
2022-01-25 10:22:32 +01:00
|
|
|
<strong>@lang('Versione')</strong> {{trim(file_get_contents(base_path('VERSION')))}}
|
2021-09-08 19:14:46 +02:00
|
|
|
<small>(<code>{{trim(file_get_contents(base_path('REVISION')))}}</code>)</small>
|
2021-08-19 16:38:23 +02:00
|
|
|
</div>
|
|
|
|
</footer>
|
|
|
|
</top-app-bar>
|
2021-08-06 12:46:17 +02:00
|
|
|
|
2021-08-19 16:38:23 +02:00
|
|
|
@include('layouts.top-app-bar-menus')
|
|
|
|
|
2021-12-14 19:18:09 +01:00
|
|
|
<script>
|
2022-01-06 15:45:35 +01:00
|
|
|
window.importPath = '{{Str::contains(vite_asset(''), config('vite.dev_url')) ? config('vite.dev_url') : '.'}}';
|
2022-01-25 10:21:40 +01:00
|
|
|
window.modules = @js($modules);
|
2021-12-14 19:18:09 +01:00
|
|
|
</script>
|
2021-08-19 16:38:23 +02:00
|
|
|
|
2021-10-09 17:15:15 +02:00
|
|
|
@routes
|
|
|
|
|
2021-09-07 13:37:18 +02:00
|
|
|
@vite('app')
|
2021-11-09 10:14:08 +01:00
|
|
|
|
|
|
|
@include('layouts.translations')
|
|
|
|
|
2021-07-30 22:56:43 +02:00
|
|
|
</body>
|
|
|
|
</html>
|