wip icons totalshots
This commit is contained in:
1 parent
d1736d3bca
commit
5ace682869
2 files changed
+41
-2
No files matched your search
@@ -148,10 +148,22 @@ class Statistic extends BaseDashboard
|
||||
->schema([
|
||||
Select::make('statistic_type')
|
||||
->hiddenLabel()
|
||||
->allowHtml()
|
||||
->placeholder('Statistic Type')
|
||||
->prefixIconColor('success')
|
||||
->prefixIcon('phosphor-arrows-out-line-vertical')
|
||||
->default('none')
|
||||
->prefixIcon(function (Get $get) {
|
||||
return match ($get('statistic_type')) {
|
||||
'gls' => 'phosphor-soccer-ball',
|
||||
'crn' => 'phosphor-angle',
|
||||
'fls' => 'phosphor-first-aid-kit',
|
||||
'ofs' => 'phosphor-arrow-fat-lines-right',
|
||||
'crd' => 'phosphor-cards',
|
||||
'snt' => 'phosphor-target',
|
||||
'tsh' => 'phosphor-chart-polar',
|
||||
default => 'phosphor-soccer-ball',
|
||||
};
|
||||
})
|
||||
->default('gls')
|
||||
->selectablePlaceholder(false)
|
||||
->options([
|
||||
'gls' => 'Goals',
|
||||
|
||||
Reference in new issue
Block a user