From 874f6f75c86befe463342679d31069dac02ecd81 Mon Sep 17 00:00:00 2001 From: salam Date: Tue, 11 Aug 2026 11:02:22 +0200 Subject: [PATCH] wip --- app/Actions/Selections/LoadPosition.php | 20 --- app/Actions/Selections/LoadStatisticTypes.php | 27 ---- .../Pages}/Selections/LoadPlayer.php | 8 +- .../Pages}/Selections/LoadSeasons.php | 2 +- app/Filament/Pages/Statistic.php | 29 +++-- composer.lock | 122 +++++++++--------- resources/css/filament/admin/theme.css | 9 +- 7 files changed, 85 insertions(+), 132 deletions(-) delete mode 100644 app/Actions/Selections/LoadPosition.php delete mode 100644 app/Actions/Selections/LoadStatisticTypes.php rename app/{Actions => Filament/Pages}/Selections/LoadPlayer.php (88%) rename app/{Actions => Filament/Pages}/Selections/LoadSeasons.php (93%) diff --git a/app/Actions/Selections/LoadPosition.php b/app/Actions/Selections/LoadPosition.php deleted file mode 100644 index 5aa1a318..00000000 --- a/app/Actions/Selections/LoadPosition.php +++ /dev/null @@ -1,20 +0,0 @@ -ss_code] = $val->season; - } - - return $arr; - } -} diff --git a/app/Actions/Selections/LoadStatisticTypes.php b/app/Actions/Selections/LoadStatisticTypes.php deleted file mode 100644 index df0dc70f..00000000 --- a/app/Actions/Selections/LoadStatisticTypes.php +++ /dev/null @@ -1,27 +0,0 @@ - '
Goals
', - 'crn' => '
Corner
', - ]; - - - // 'crn' => '
' . $val->details->player_name . '
' . $infostring . ''; + $arr[$position][$val->ss_player_id] = '' . $val->details->player_name . '
' . $infostring . '
'; } else if ($events_played < $colorlevel * 2) { - $arr[$position][$val->ss_player_id] = '' . $val->details->player_name . '
' . $infostring . '
'; + $arr[$position][$val->ss_player_id] = '' . $val->details->player_name . '
' . $infostring . '
'; } else { - $arr[$position][$val->ss_player_id] = '' . $val->details->player_name . '
' . $infostring . '
'; + $arr[$position][$val->ss_player_id] = '' . $val->details->player_name . '
' . $infostring . '
'; } } return $arr; diff --git a/app/Actions/Selections/LoadSeasons.php b/app/Filament/Pages/Selections/LoadSeasons.php similarity index 93% rename from app/Actions/Selections/LoadSeasons.php rename to app/Filament/Pages/Selections/LoadSeasons.php index 31ae4c48..8171fa15 100644 --- a/app/Actions/Selections/LoadSeasons.php +++ b/app/Filament/Pages/Selections/LoadSeasons.php @@ -1,6 +1,6 @@ color('success') ->tooltip(fn() => $this->tooltip_player_info()) ) + ->extraAttributes(fn() => ['id' => 'player_selector']) ->options(function (Get $get) { return LoadPlayer::load($get); }), diff --git a/composer.lock b/composer.lock index 6017a3fa..7f4a8081 100644 --- a/composer.lock +++ b/composer.lock @@ -81,16 +81,16 @@ }, { "name": "anourvalar/eloquent-serialize", - "version": "1.3.10", + "version": "1.3.11", "source": { "type": "git", "url": "https://github.com/AnourValar/eloquent-serialize.git", - "reference": "2be26f176b764a2d6f20118bfa4b125f71fa88f8" + "reference": "abd890c4d1ad8e90dd454d01283fbf342f80f1e5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/AnourValar/eloquent-serialize/zipball/2be26f176b764a2d6f20118bfa4b125f71fa88f8", - "reference": "2be26f176b764a2d6f20118bfa4b125f71fa88f8", + "url": "https://api.github.com/repos/AnourValar/eloquent-serialize/zipball/abd890c4d1ad8e90dd454d01283fbf342f80f1e5", + "reference": "abd890c4d1ad8e90dd454d01283fbf342f80f1e5", "shasum": "" }, "require": { @@ -140,9 +140,9 @@ ], "support": { "issues": "https://github.com/AnourValar/eloquent-serialize/issues", - "source": "https://github.com/AnourValar/eloquent-serialize/tree/1.3.10" + "source": "https://github.com/AnourValar/eloquent-serialize/tree/1.3.11" }, - "time": "2026-06-20T14:30:25+00:00" + "time": "2026-08-07T06:14:19+00:00" }, { "name": "awcodes/light-switch", @@ -3357,16 +3357,16 @@ }, { "name": "league/commonmark", - "version": "2.9.0", + "version": "2.9.2", "source": { "type": "git", "url": "https://github.com/thephpleague/commonmark.git", - "reference": "5703d83ba3da3b2e356a5fedc848ed6d8ffb6529" + "reference": "72e9a87efcf41a8e83be3ed0866b69d77565cb12" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/commonmark/zipball/5703d83ba3da3b2e356a5fedc848ed6d8ffb6529", - "reference": "5703d83ba3da3b2e356a5fedc848ed6d8ffb6529", + "url": "https://api.github.com/repos/thephpleague/commonmark/zipball/72e9a87efcf41a8e83be3ed0866b69d77565cb12", + "reference": "72e9a87efcf41a8e83be3ed0866b69d77565cb12", "shasum": "" }, "require": { @@ -3460,7 +3460,7 @@ "type": "tidelift" } ], - "time": "2026-08-03T13:42:31+00:00" + "time": "2026-08-11T00:58:45+00:00" }, { "name": "league/config", @@ -4091,16 +4091,16 @@ }, { "name": "livewire/livewire", - "version": "v4.3.5", + "version": "v4.4.0", "source": { "type": "git", "url": "https://github.com/livewire/livewire.git", - "reference": "7ef4b2a876c71744e86463079dd506b26eeab624" + "reference": "514b29d5a23594d4e4846494f580268b20c2f11e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/livewire/livewire/zipball/7ef4b2a876c71744e86463079dd506b26eeab624", - "reference": "7ef4b2a876c71744e86463079dd506b26eeab624", + "url": "https://api.github.com/repos/livewire/livewire/zipball/514b29d5a23594d4e4846494f580268b20c2f11e", + "reference": "514b29d5a23594d4e4846494f580268b20c2f11e", "shasum": "" }, "require": { @@ -4155,7 +4155,7 @@ "description": "A front-end framework for Laravel.", "support": { "issues": "https://github.com/livewire/livewire/issues", - "source": "https://github.com/livewire/livewire/tree/v4.3.5" + "source": "https://github.com/livewire/livewire/tree/v4.4.0" }, "funding": [ { @@ -4163,7 +4163,7 @@ "type": "github" } ], - "time": "2026-08-03T04:09:44+00:00" + "time": "2026-08-10T15:24:22+00:00" }, { "name": "maennchen/zipstream-php", @@ -4885,16 +4885,16 @@ }, { "name": "nesbot/carbon", - "version": "3.13.1", + "version": "3.13.2", "source": { "type": "git", "url": "https://github.com/CarbonPHP/carbon.git", - "reference": "2937ad3d1d2c506fd2bc97d571438a95641f44e2" + "reference": "a1c54919f5fff9800cd03c32bd01defd5a4061cb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/CarbonPHP/carbon/zipball/2937ad3d1d2c506fd2bc97d571438a95641f44e2", - "reference": "2937ad3d1d2c506fd2bc97d571438a95641f44e2", + "url": "https://api.github.com/repos/CarbonPHP/carbon/zipball/a1c54919f5fff9800cd03c32bd01defd5a4061cb", + "reference": "a1c54919f5fff9800cd03c32bd01defd5a4061cb", "shasum": "" }, "require": { @@ -4986,7 +4986,7 @@ "type": "tidelift" } ], - "time": "2026-07-09T18:23:49+00:00" + "time": "2026-08-08T11:40:35+00:00" }, { "name": "nette/php-generator", @@ -7302,16 +7302,16 @@ }, { "name": "symfony/console", - "version": "v7.4.15", + "version": "v7.4.16", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "088ec6fe0ef6819cbc301174093b6bfa4ad26930" + "reference": "f4c69c9aed03abf933b294257d618bdd9b30a06d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/088ec6fe0ef6819cbc301174093b6bfa4ad26930", - "reference": "088ec6fe0ef6819cbc301174093b6bfa4ad26930", + "url": "https://api.github.com/repos/symfony/console/zipball/f4c69c9aed03abf933b294257d618bdd9b30a06d", + "reference": "f4c69c9aed03abf933b294257d618bdd9b30a06d", "shasum": "" }, "require": { @@ -7376,7 +7376,7 @@ "terminal" ], "support": { - "source": "https://github.com/symfony/console/tree/v7.4.15" + "source": "https://github.com/symfony/console/tree/v7.4.16" }, "funding": [ { @@ -7396,7 +7396,7 @@ "type": "tidelift" } ], - "time": "2026-07-27T13:51:00+00:00" + "time": "2026-07-31T12:37:14+00:00" }, { "name": "symfony/css-selector", @@ -7929,16 +7929,16 @@ }, { "name": "symfony/http-foundation", - "version": "v7.4.15", + "version": "v7.4.16", "source": { "type": "git", "url": "https://github.com/symfony/http-foundation.git", - "reference": "1f898ee8188adda9417fb52cf8425a8342c254e7" + "reference": "b676451bb638e99a7d34d8a2be90406822e301eb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-foundation/zipball/1f898ee8188adda9417fb52cf8425a8342c254e7", - "reference": "1f898ee8188adda9417fb52cf8425a8342c254e7", + "url": "https://api.github.com/repos/symfony/http-foundation/zipball/b676451bb638e99a7d34d8a2be90406822e301eb", + "reference": "b676451bb638e99a7d34d8a2be90406822e301eb", "shasum": "" }, "require": { @@ -7987,7 +7987,7 @@ "description": "Defines an object-oriented layer for the HTTP specification", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/http-foundation/tree/v7.4.15" + "source": "https://github.com/symfony/http-foundation/tree/v7.4.16" }, "funding": [ { @@ -8007,20 +8007,20 @@ "type": "tidelift" } ], - "time": "2026-07-29T07:12:33+00:00" + "time": "2026-08-07T11:50:27+00:00" }, { "name": "symfony/http-kernel", - "version": "v7.4.15", + "version": "v7.4.16", "source": { "type": "git", "url": "https://github.com/symfony/http-kernel.git", - "reference": "403275d94f94d5626c3288c599b3b48093ba24f7" + "reference": "f5e728670fa2218ae8be8ea91f2b44b7d6e5304c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-kernel/zipball/403275d94f94d5626c3288c599b3b48093ba24f7", - "reference": "403275d94f94d5626c3288c599b3b48093ba24f7", + "url": "https://api.github.com/repos/symfony/http-kernel/zipball/f5e728670fa2218ae8be8ea91f2b44b7d6e5304c", + "reference": "f5e728670fa2218ae8be8ea91f2b44b7d6e5304c", "shasum": "" }, "require": { @@ -8106,7 +8106,7 @@ "description": "Provides a structured process for converting a Request into a Response", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/http-kernel/tree/v7.4.15" + "source": "https://github.com/symfony/http-kernel/tree/v7.4.16" }, "funding": [ { @@ -8126,7 +8126,7 @@ "type": "tidelift" } ], - "time": "2026-07-29T11:40:42+00:00" + "time": "2026-08-07T18:00:13+00:00" }, { "name": "symfony/mailer", @@ -8214,16 +8214,16 @@ }, { "name": "symfony/mime", - "version": "v7.4.15", + "version": "v7.4.16", "source": { "type": "git", "url": "https://github.com/symfony/mime.git", - "reference": "0c1daf58bc931628df0bea26840d1fc8b9a3d34b" + "reference": "20094b76a7106dbe978d31cd3bd7aa1ed248d0e5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/mime/zipball/0c1daf58bc931628df0bea26840d1fc8b9a3d34b", - "reference": "0c1daf58bc931628df0bea26840d1fc8b9a3d34b", + "url": "https://api.github.com/repos/symfony/mime/zipball/20094b76a7106dbe978d31cd3bd7aa1ed248d0e5", + "reference": "20094b76a7106dbe978d31cd3bd7aa1ed248d0e5", "shasum": "" }, "require": { @@ -8279,7 +8279,7 @@ "mime-type" ], "support": { - "source": "https://github.com/symfony/mime/tree/v7.4.15" + "source": "https://github.com/symfony/mime/tree/v7.4.16" }, "funding": [ { @@ -8299,7 +8299,7 @@ "type": "tidelift" } ], - "time": "2026-07-29T07:59:49+00:00" + "time": "2026-08-07T14:56:57+00:00" }, { "name": "symfony/polyfill-ctype", @@ -9540,16 +9540,16 @@ }, { "name": "symfony/translation", - "version": "v7.4.14", + "version": "v7.4.16", "source": { "type": "git", "url": "https://github.com/symfony/translation.git", - "reference": "a1af4dacb24eb7ef4f1ca71b94da8ddbce572281" + "reference": "501e0ff4553c744209ca1a68790d8a4541563710" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/translation/zipball/a1af4dacb24eb7ef4f1ca71b94da8ddbce572281", - "reference": "a1af4dacb24eb7ef4f1ca71b94da8ddbce572281", + "url": "https://api.github.com/repos/symfony/translation/zipball/501e0ff4553c744209ca1a68790d8a4541563710", + "reference": "501e0ff4553c744209ca1a68790d8a4541563710", "shasum": "" }, "require": { @@ -9616,7 +9616,7 @@ "description": "Provides tools to internationalize your application", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/translation/tree/v7.4.14" + "source": "https://github.com/symfony/translation/tree/v7.4.16" }, "funding": [ { @@ -9636,7 +9636,7 @@ "type": "tidelift" } ], - "time": "2026-06-06T09:33:19+00:00" + "time": "2026-07-30T12:37:26+00:00" }, { "name": "symfony/translation-contracts", @@ -10838,16 +10838,16 @@ }, { "name": "laravel/pint", - "version": "v1.30.4", + "version": "v1.30.5", "source": { "type": "git", "url": "https://github.com/laravel/pint.git", - "reference": "a96cb6eee2961905d2fce7207aefb80945bf6b28" + "reference": "fe4148c503a0e266353d61396b79bbf7f35122df" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/pint/zipball/a96cb6eee2961905d2fce7207aefb80945bf6b28", - "reference": "a96cb6eee2961905d2fce7207aefb80945bf6b28", + "url": "https://api.github.com/repos/laravel/pint/zipball/fe4148c503a0e266353d61396b79bbf7f35122df", + "reference": "fe4148c503a0e266353d61396b79bbf7f35122df", "shasum": "" }, "require": { @@ -10855,19 +10855,19 @@ "ext-mbstring": "*", "ext-tokenizer": "*", "ext-xml": "*", - "php": "^8.2.0" + "php": "^8.3.0" }, "require-dev": { "composer/semver": "^3.4.4", "friendsofphp/php-cs-fixer": "^3.95.18", - "illuminate/view": "^12.65.0", + "illuminate/view": "^13.24.0", "larastan/larastan": "^3.10.0", - "laravel-zero/framework": "^12.1.0", + "laravel-zero/framework": "^13.0.0", "laravel/agent-detector": "^2.0.2", "laravel/prompts": "^0.3.22", "mockery/mockery": "^1.6.12", "nunomaduro/termwind": "^2.4.0", - "pestphp/pest": "^3.8.7" + "pestphp/pest": "^4.7.8" }, "bin": [ "builds/pint" @@ -10904,7 +10904,7 @@ "issues": "https://github.com/laravel/pint/issues", "source": "https://github.com/laravel/pint" }, - "time": "2026-08-05T16:47:22+00:00" + "time": "2026-08-10T15:35:50+00:00" }, { "name": "laravel/sail", diff --git a/resources/css/filament/admin/theme.css b/resources/css/filament/admin/theme.css index f5c386f7..0f9221ff 100644 --- a/resources/css/filament/admin/theme.css +++ b/resources/css/filament/admin/theme.css @@ -209,8 +209,7 @@ less padding in table } -/* Optional: Decrease overall table container padding */ -/* .fi-ta-ctn { - padding-top: 0.5rem !important; - padding-bottom: 0.5rem !important; -} */ \ No newline at end of file +/* player statistik */ +#player_selector .fi-dropdown-header { + @apply px-2 text-lg font-black dark:bg-black border-y border-gray-300 dark:text-gray-300 dark:border-gray-600 +} \ No newline at end of file