statistic on separate page wip
This commit is contained in:
1 parent
ad36ba555f
commit
422681df01
34 files changed
+660
-734
No files matched your search
-10
@@ -3,11 +3,9 @@
|
||||
namespace App\Filament\Clusters\StaticData\Resources\StatistikoPlayers\Pages;
|
||||
|
||||
use App\Filament\Clusters\StaticData\Resources\StatistikoPlayers\StatistikoPlayerResource;
|
||||
// use App\Filament\Imports\StatistikoPlayerImporter;
|
||||
use App\Models\StatistikoPlayer;
|
||||
use Filament\Actions\Action;
|
||||
use Filament\Actions\CreateAction;
|
||||
// use Filament\Actions\ImportAction;
|
||||
use Filament\Resources\Pages\ListRecords;
|
||||
|
||||
class ListStatistikoPlayers extends ListRecords
|
||||
@@ -27,14 +25,6 @@ class ListStatistikoPlayers extends ListRecords
|
||||
CreateAction::make()
|
||||
->label('New')
|
||||
->icon('phosphor-plus'),
|
||||
// ImportAction::make('importPlayer')
|
||||
// ->maxRows(200000)
|
||||
// ->color('success')
|
||||
// ->chunkSize(250)
|
||||
// ->icon('phosphor-upload')
|
||||
// ->label('Import')
|
||||
// ->modalDescription('Max 20k rows per import, column separator ";"')
|
||||
// ->importer(StatistikoPlayerImporter::class),
|
||||
];
|
||||
}
|
||||
}
|
||||
+1
-6
@@ -24,7 +24,7 @@ class StatistikoPlayerResource extends Resource
|
||||
|
||||
protected static ?string $cluster = StaticDataCluster::class;
|
||||
|
||||
protected static ?int $navigationSort = 2;
|
||||
protected static ?int $navigationSort = 4;
|
||||
|
||||
protected static ?string $recordTitleAttribute = 'giocatore';
|
||||
|
||||
@@ -49,9 +49,4 @@ class StatistikoPlayerResource extends Resource
|
||||
{
|
||||
return parent::getEloquentQuery()->count();
|
||||
}
|
||||
|
||||
public static function getNavigationBadgeColor(): ?string
|
||||
{
|
||||
return 'success';
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user