49 lines
1.7 KiB
PHP
49 lines
1.7 KiB
PHP
@php
|
|
$user = \Illuminate\Support\Facades\Auth::user();
|
|
$version = config('netgescon.version') ?? config('app.version');
|
|
@endphp
|
|
|
|
@once
|
|
<style>
|
|
/* Ensure the Filament layout behaves like a full-height flex column,
|
|
so this footer is pushed to the bottom even on short pages.
|
|
This is a safe fallback when the Vite theme CSS isn't loaded. */
|
|
.fi-main-ctn {
|
|
min-height: 100vh;
|
|
min-height: 100dvh;
|
|
height: auto !important;
|
|
display: flex !important;
|
|
flex-direction: column !important;
|
|
}
|
|
.fi-main {
|
|
flex: 1 1 auto;
|
|
min-height: 0;
|
|
height: auto !important;
|
|
}
|
|
.netgescon-footer {
|
|
flex: none;
|
|
margin-top: auto;
|
|
width: 100% !important;
|
|
position: sticky !important;
|
|
bottom: 0 !important;
|
|
z-index: 10 !important;
|
|
}
|
|
</style>
|
|
@endonce
|
|
|
|
<div class="netgescon-footer px-6 py-3 text-xs text-gray-500 border-t bg-white">
|
|
<div class="mx-auto max-w-7xl flex flex-wrap items-center justify-between gap-2">
|
|
<div class="flex flex-wrap items-center gap-x-3 gap-y-1">
|
|
<div>NetGescon{{ $version ? ' · v' . $version : '' }}</div>
|
|
<div class="text-gray-400">|</div>
|
|
<div>{{ now()->format('d/m/Y H:i') }}</div>
|
|
</div>
|
|
|
|
<div class="flex items-center gap-3">
|
|
<a href="{{ \App\Filament\Pages\Supporto\RichiestaHelp::getUrl(panel: 'admin-filament') }}" class="text-primary-600 hover:underline">
|
|
Richiedi help / segnala bug
|
|
</a>
|
|
</div>
|
|
</div>
|
|
</div>
|