essell
essell
FFilament
Created by FELL on 9/6/2024 in #❓┊help
need help with log-viewer in filasment 3 panel
and then the view has log viewer embedded in an iframe
5 replies
FFilament
Created by FELL on 9/6/2024 in #❓┊help
need help with log-viewer in filasment 3 panel
<?php namespace App\Filament\Pages; use Filament\Pages\Page; class LogViewerDashboard extends Page { protected static ?string $navigationIcon = 'heroicon-o-document-text'; protected static string $view = 'filament.pages.log-viewer-dashboard'; protected static ?string $title = ''; public static function shouldRegisterNavigation(): bool { return auth()->user()->hasRole('SysOp'); } public static function canAccess(): bool { return auth()->user()->hasRole('SysOp'); } public static function getNavigationGroup(): ?string { return 'SysOp Tools'; } public static function getNavigationLabel(): string { return 'Log Viewer'; } }
5 replies
FFilament
Created by FELL on 9/6/2024 in #❓┊help
need help with log-viewer in filasment 3 panel
Hey there, not suer if this is exactly the same but I have the log-viewer package set up as an ambedded page restricted to admins
5 replies