mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-24 20:17:24 +08:00
migration script
# Conflicts: # app/Filament/Resources/Torrent/AnnounceLogResource.php
This commit is contained in:
@@ -1,19 +1,21 @@
|
||||
<?php
|
||||
namespace App\Filament\Pages;
|
||||
|
||||
use Filament\Pages\Dashboard;
|
||||
use Filament\Support\Enums\Width;
|
||||
use App\Filament\Widgets\AnnounceMonitor\MaxUploadedUser;
|
||||
use App\Models\Setting;
|
||||
use Illuminate\Contracts\Support\Htmlable;
|
||||
|
||||
class AnnounceMonitor extends \Filament\Pages\Dashboard
|
||||
class AnnounceMonitor extends Dashboard
|
||||
{
|
||||
protected ?string $maxContentWidth = 'full';
|
||||
protected Width|string|null $maxContentWidth = 'full';
|
||||
|
||||
protected static ?string $navigationIcon = 'heroicon-o-archive-box';
|
||||
protected static string | \BackedEnum | null $navigationIcon = 'heroicon-o-archive-box';
|
||||
|
||||
protected static string $routePath = 'announce-monitor';
|
||||
|
||||
protected static ?string $navigationGroup = 'Torrent';
|
||||
protected static string | \UnitEnum | null $navigationGroup = 'Torrent';
|
||||
|
||||
protected static ?int $navigationSort = 15;
|
||||
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
<?php
|
||||
namespace App\Filament\Pages;
|
||||
|
||||
use Filament\Support\Enums\Width;
|
||||
use App\Filament\Widgets\AccountInfo;
|
||||
use App\Filament\Widgets\LatestTorrents;
|
||||
use App\Filament\Widgets\LatestUsers;
|
||||
@@ -13,7 +14,7 @@ use App\Filament\Widgets\UserTrend;
|
||||
|
||||
class Dashboard extends \Filament\Pages\Dashboard
|
||||
{
|
||||
protected ?string $maxContentWidth = 'full';
|
||||
protected Width|string|null $maxContentWidth = 'full';
|
||||
|
||||
public function getWidgets(): array
|
||||
{
|
||||
|
||||
@@ -6,9 +6,9 @@ use Filament\Pages\Page;
|
||||
|
||||
class RunCommand extends Page
|
||||
{
|
||||
protected static ?string $navigationIcon = 'heroicon-o-document-text';
|
||||
protected static string | \BackedEnum | null $navigationIcon = 'heroicon-o-document-text';
|
||||
|
||||
protected static string $view = 'filament.pages.run-command';
|
||||
protected string $view = 'filament.pages.run-command';
|
||||
protected static bool $shouldRegisterNavigation = false;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user