wip
This commit is contained in:
1 parent
370c2a9722
commit
a2db3e6f6e
1 file changed
+21
-15
@@ -19,6 +19,7 @@ use Filament\Schemas\Components\Section;
|
||||
use Filament\Schemas\Components\Utilities\Get;
|
||||
use Filament\Schemas\Components\Utilities\Set;
|
||||
use Filament\Schemas\Schema;
|
||||
use Illuminate\Contracts\Support\Htmlable;
|
||||
|
||||
class Statistic extends BaseDashboard
|
||||
{
|
||||
@@ -28,6 +29,11 @@ class Statistic extends BaseDashboard
|
||||
|
||||
protected static ?string $title = 'Statistic';
|
||||
|
||||
public function getHeading(): string|Htmlable|null
|
||||
{
|
||||
return '';
|
||||
}
|
||||
|
||||
public function filtersForm(Schema $schema): Schema
|
||||
{
|
||||
return $schema
|
||||
@@ -111,21 +117,6 @@ class Statistic extends BaseDashboard
|
||||
'home' => 'Home',
|
||||
'away' => 'Away',
|
||||
]),
|
||||
Select::make('similar_past_matches')
|
||||
->prefixIcon('phosphor-align-center-horizontal')
|
||||
->suffixAction(
|
||||
Action::make('iconInfo')
|
||||
->color('gray')
|
||||
->icon('phosphor-question')
|
||||
->tooltip('Lorem ipsum dolor sit amet, consetetur sadipscing elitr.')
|
||||
)
|
||||
->default('none')
|
||||
->selectablePlaceholder(false)
|
||||
->options([
|
||||
'none' => 'None',
|
||||
'league' => 'League',
|
||||
'all' => 'All Database',
|
||||
]),
|
||||
Select::make('statistic_type')
|
||||
->prefixIcon('phosphor-cell-signal-full')
|
||||
->suffixAction(
|
||||
@@ -145,6 +136,21 @@ class Statistic extends BaseDashboard
|
||||
'snt' => 'Shot on target',
|
||||
'tsh' => 'Total shots',
|
||||
]),
|
||||
Select::make('similar_past_matches')
|
||||
->prefixIcon('phosphor-align-center-horizontal')
|
||||
->suffixAction(
|
||||
Action::make('iconInfo')
|
||||
->color('gray')
|
||||
->icon('phosphor-question')
|
||||
->tooltip('Lorem ipsum dolor sit amet, consetetur sadipscing elitr.')
|
||||
)
|
||||
->default('none')
|
||||
->selectablePlaceholder(false)
|
||||
->options([
|
||||
'none' => 'None',
|
||||
'league' => 'League',
|
||||
'all' => 'All Database',
|
||||
]),
|
||||
Slider::make('accuracy')
|
||||
->default(0.5)
|
||||
->decimalPlaces(1)
|
||||
|
||||
Reference in new issue
Block a user