From 09e0e5b6214f5cf038c11ada2cff9b6c6bbbadd9 Mon Sep 17 00:00:00 2001 From: salam Date: Wed, 27 May 2026 11:16:27 +0200 Subject: [PATCH] wip --- app/Filament/Pages/Statistic.php | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/app/Filament/Pages/Statistic.php b/app/Filament/Pages/Statistic.php index 70c896ae..a28d7b84 100644 --- a/app/Filament/Pages/Statistic.php +++ b/app/Filament/Pages/Statistic.php @@ -62,6 +62,7 @@ class Statistic extends BaseDashboard ]) ->schema([ Select::make('league_id') + ->prefixIconColor('primary') ->prefixIcon('phosphor-trophy') ->options(fn () => LoadStatisticFixturesLeaguesOptions::load(1)) ->live() @@ -70,7 +71,8 @@ class Statistic extends BaseDashboard $set('match_id', null); }), Select::make('match_id') - ->prefixIcon('icon-team') + ->prefixIconColor('primary') + ->prefixIcon('phosphor-calendar-check') ->options(function (Get $get) { return LoadStatisticFixturesMatchOptions::load($get('league_id')); }) @@ -81,7 +83,8 @@ class Statistic extends BaseDashboard ->live() ->label('Events'), Select::make('team_id') - ->prefixIcon('icon-team') + ->prefixIconColor('primary') + ->prefixIcon('phosphor-users-three') ->options(function (Get $get) { if ($get('match_id')) { $res = StatisticFixtures::where('id', $get('match_id'))->get(); @@ -101,6 +104,7 @@ class Statistic extends BaseDashboard ->label('Team'), Select::make('team_position') + ->prefixIconColor('primary') ->prefixIcon('phosphor-map-pin') ->default('all') ->selectablePlaceholder(false) @@ -115,7 +119,8 @@ class Statistic extends BaseDashboard 'default' => 1, 'xl' => 2, ]) - ->prefixIcon('phosphor-cell-signal-full') + ->prefixIconColor('primary') + ->prefixIcon('phosphor-dots-three-outline') ->default('none') ->selectablePlaceholder(false) ->options([ @@ -148,7 +153,7 @@ class Statistic extends BaseDashboard ->action(fn (Set $set) => $set('end_date', null)) ), Select::make('similar_past_matches') - ->prefixIcon('phosphor-align-center-horizontal') + ->prefixIcon('phosphor-approximate-equals') ->suffixAction( Action::make('iconInfo') ->color('gray')