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')
|
|
|
|
|
2022-01-25 12:53:15 +01:00
|
|
|
@include('layouts.footer')
|
2021-11-09 10:14:08 +01:00
|
|
|
|
2021-07-30 22:56:43 +02:00
|
|
|
</body>
|
|
|
|
</html>
|