1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2025-02-24 23:37:51 +01:00

49 lines
1.4 KiB
PHP
Raw Normal View History

<!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">
2022-01-25 10:22:32 +01:00
<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>
2021-08-06 12:46:17 +02:00
@include('layouts.top-app-bar-menus')
<script>
window.importPath = '{{Str::contains(vite_asset(''), config('vite.dev_url')) ? config('vite.dev_url') : '.'}}';
window.modules = @js($modules);
</script>
@routes
@vite('app')
@include('layouts.translations')
</body>
</html>