wip
This commit is contained in:
1 parent
550ea115f1
commit
c036814366
12 files changed
+481
-18891
No files matched your search
@@ -2,6 +2,10 @@
|
||||
|
||||
namespace App\Filament\Clusters\StaticData\Resources\UbEvents\Schemas;
|
||||
|
||||
use Filament\Forms\Components\Radio;
|
||||
use Filament\Forms\Components\TextInput;
|
||||
use Filament\Schemas\Components\Grid;
|
||||
use Filament\Schemas\Components\Section;
|
||||
use Filament\Schemas\Schema;
|
||||
|
||||
class UbEventForm
|
||||
@@ -10,7 +14,81 @@ class UbEventForm
|
||||
{
|
||||
return $schema
|
||||
->components([
|
||||
//
|
||||
]);
|
||||
Section::make('Player Team')
|
||||
->schema([
|
||||
Radio::make('home_away')
|
||||
->hiddenLabel()
|
||||
->options([
|
||||
'H' => 'Home',
|
||||
'A' => 'Away',
|
||||
]),
|
||||
TextInput::make('rating')
|
||||
->numeric()
|
||||
->inputMode('decimal'),
|
||||
])->columns(2),
|
||||
Grid::make([
|
||||
'default' => 2,
|
||||
'md' => 3,
|
||||
'xl' => 5,
|
||||
])
|
||||
->schema([
|
||||
TextInput::make('home_ft'),
|
||||
TextInput::make('away_ft'),
|
||||
TextInput::make('home_ht'),
|
||||
TextInput::make('away_ht'),
|
||||
TextInput::make('goals'),
|
||||
TextInput::make('assists'),
|
||||
TextInput::make('tackles'),
|
||||
TextInput::make('total_passes'),
|
||||
TextInput::make('passes_done'),
|
||||
TextInput::make('total_duels'),
|
||||
TextInput::make('duels_won'),
|
||||
TextInput::make('total_ground_duels'),
|
||||
TextInput::make('ground_duels_won'),
|
||||
TextInput::make('total_aerial_duels'),
|
||||
TextInput::make('aerial_duels_won'),
|
||||
TextInput::make('minutes_played'),
|
||||
TextInput::make('shots_on_target'),
|
||||
TextInput::make('shots_off_target'),
|
||||
TextInput::make('shots_blocked'),
|
||||
TextInput::make('total_dribble'),
|
||||
TextInput::make('dribble_done'),
|
||||
TextInput::make('position'),
|
||||
TextInput::make('bcm'),
|
||||
TextInput::make('hw'),
|
||||
TextInput::make('pw'),
|
||||
TextInput::make('pm'),
|
||||
TextInput::make('possession_lost'),
|
||||
TextInput::make('fouls'),
|
||||
TextInput::make('was_fouled'),
|
||||
TextInput::make('offsides'),
|
||||
]),
|
||||
|
||||
])->columns(1);
|
||||
}
|
||||
}
|
||||
// 'total_passes',
|
||||
// 'passes_done',
|
||||
// 'total_duels',
|
||||
// 'duels_won',
|
||||
// 'total_ground_duels',
|
||||
// 'ground_duels_won',
|
||||
// 'total_aerial_duels',
|
||||
// 'aerial_duels_won',
|
||||
// 'minutes_played',
|
||||
// 'shots_on_target',
|
||||
// 'shots_off_target',
|
||||
// 'shots_blocked',
|
||||
// 'total_dribble',
|
||||
// 'dribble_done',
|
||||
// 'position',
|
||||
// 'rating',
|
||||
// 'bcm',
|
||||
// 'hw',
|
||||
// 'pw',
|
||||
// 'pm',
|
||||
// 'possession_lost',
|
||||
// 'fouls',
|
||||
// 'was_fouled',
|
||||
// 'offsides',
|
||||
// 'date_acquisition',
|
||||
Reference in new issue
Block a user