diff --git a/app/Filament/Pages/Statistic.php b/app/Filament/Pages/Statistic.php index be735f17..4c700e29 100644 --- a/app/Filament/Pages/Statistic.php +++ b/app/Filament/Pages/Statistic.php @@ -114,20 +114,34 @@ class Statistic extends BaseDashboard 'midfield' => 'Midfield', 'defence' => 'Defence', 'goalkeeper' => 'Goalkeeper', + ])->icons([ + 'attack' => 'phosphor-lightning', + 'midfield' => 'phosphor-align-center-horizontal-simple', + 'defence' => 'phosphor-shield', + 'goalkeeper' => 'phosphor-barricade', ]), - Grid::make(3) + Grid::make(5) ->schema([ Action::make('restart') + ->extraAttributes([ + 'class' => 'w-30', + ]) ->color('warning') ->icon('phosphor-arrow-counter-clockwise'), Action::make('copy') + ->extraAttributes([ + 'class' => 'w-30', + ]) ->color('success') ->icon('phosphor-copy'), Action::make('calculate') + ->extraAttributes([ + 'class' => 'w-30', + ]) ->icon('phosphor-calculator'), ]) ->extraAttributes([ - 'class' => 'flex justify-start' + 'class' => 'flex justify-center items-center gap-0' ]) ]) ]) diff --git a/public/svg/soccerfield.svg b/public/svg/soccerfield.svg index 167c379c..8af850ff 100644 --- a/public/svg/soccerfield.svg +++ b/public/svg/soccerfield.svg @@ -5,11 +5,11 @@ - + - + diff --git a/resources/css/filament/admin/theme.css b/resources/css/filament/admin/theme.css index aec9180e..e019db10 100644 --- a/resources/css/filament/admin/theme.css +++ b/resources/css/filament/admin/theme.css @@ -239,4 +239,8 @@ less padding in table background-position: top right; background-size: 512px auto; background-repeat: no-repeat; +} + +.piece:active { + @apply cursor-grabbing drop-shadow border } \ No newline at end of file diff --git a/resources/views/livewire/player-calculator.blade.php b/resources/views/livewire/player-calculator.blade.php index bb43df62..50a30458 100644 --- a/resources/views/livewire/player-calculator.blade.php +++ b/resources/views/livewire/player-calculator.blade.php @@ -18,7 +18,7 @@ @else @foreach ($elements as $pos) @if ($pos) -
+
{{ $pos }}