1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2025-02-24 15:27:43 +01:00
2022-01-25 12:53:15 +01:00

40 lines
1.2 KiB
PHP

<!DOCTYPE html>
<html lang="{{app()->getLocale()}}">
@include('layouts.head')
<body class="mdc-typography @if(session('high-contrast')) mdc-high-contrast @endif">
@php
$modules = app(\App\Http\Controllers\Controller::class)
->getModules(request());
@endphp
<top-app-bar>
@include('layouts.top-app-bar')
<material-drawer @mobile type="modal" @elsenotmobile type="dismissible" open @endmobile>
<x-drawer :modules="$modules"></x-drawer>
<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">
<strong>@lang('Versione')</strong> {{trim(file_get_contents(base_path('VERSION')))}}
<small>(<code>{{trim(file_get_contents(base_path('REVISION')))}}</code>)</small>
</div>
</footer>
</top-app-bar>
@include('layouts.top-app-bar-menus')
@include('layouts.footer')
</body>
</html>