mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-24 03:57:22 +08:00
Announce Log
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
<?php
|
||||
namespace App\Filament\Pages;
|
||||
|
||||
use App\Filament\Widgets\AnnounceMonitor\MaxUploadedUser;
|
||||
use Illuminate\Contracts\Support\Htmlable;
|
||||
|
||||
class AnnounceMonitor extends \Filament\Pages\Dashboard
|
||||
{
|
||||
protected ?string $maxContentWidth = 'full';
|
||||
|
||||
protected static ?string $navigationIcon = 'heroicon-o-archive-box';
|
||||
|
||||
protected static string $routePath = 'announce-monitor';
|
||||
|
||||
protected static ?string $navigationGroup = 'Torrent';
|
||||
|
||||
protected static ?int $navigationSort = 15;
|
||||
|
||||
public function getTitle(): string|Htmlable
|
||||
{
|
||||
return self::getNavigationLabel();
|
||||
}
|
||||
|
||||
public static function getNavigationLabel(): string
|
||||
{
|
||||
return __('admin.sidebar.announce_monitor');
|
||||
}
|
||||
|
||||
public function getWidgets(): array
|
||||
{
|
||||
return [
|
||||
MaxUploadedUser::class,
|
||||
];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user