diff --git a/app/Livewire/BoardDispatcher.php b/app/Livewire/BoardDispatcher.php index 53470e7f..0af94b87 100644 --- a/app/Livewire/BoardDispatcher.php +++ b/app/Livewire/BoardDispatcher.php @@ -66,11 +66,8 @@ class BoardDispatcher extends Component implements HasActions, HasSchemas, HasTa public function getHeadingTable(): HtmlString { - return new HtmlString('
'.$this->ss_team_name.'
+ return new HtmlString('
' . $this->ss_team_name . '
-
Foot
-
Evt
-
Øm
Gls
Crn
Fls
@@ -78,6 +75,9 @@ class BoardDispatcher extends Component implements HasActions, HasSchemas, HasTa
Snt
Tsh
Crd
+
Foot
+
Evt
+
Øm
'); } @@ -90,15 +90,15 @@ class BoardDispatcher extends Component implements HasActions, HasSchemas, HasTa ->close(), Action::make('reset') ->icon('phosphor-arrows-clockwise') - ->action(fn () => $this->clearAll()), + ->action(fn() => $this->clearAll()), Action::make('calculate') ->icon('phosphor-calculator') ->disabled($this->calculationDisabled) - ->action(fn () => $this->calculateAspg()), + ->action(fn() => $this->calculateAspg()), Action::make('download') ->icon('phosphor-download') ->disabled($this->downloadDisabled) - ->action(fn () => $this->downloadResult()), + ->action(fn() => $this->downloadResult()), ]) /** * WICHTIG: Da Filament v5 zwingend eine Query braucht, nutzen wir ein @@ -112,7 +112,7 @@ class BoardDispatcher extends Component implements HasActions, HasSchemas, HasTa ->columns([ ViewColumn::make('drag_card') ->columnSpanFull() - ->label(fn () => $this->getHeadingTable()) + ->label(fn() => $this->getHeadingTable()) ->view('filament.tables.columns.drag-card'), ]) ->filters([ @@ -214,7 +214,7 @@ class BoardDispatcher extends Component implements HasActions, HasSchemas, HasTa unset($row['pcolor']); unset($row['ecolor']); unset($row['info']); - $copystring .= implode("\t", $row)."\n"; + $copystring .= implode("\t", $row) . "\n"; } $this->js("navigator.clipboard.writeText(`$copystring`)"); } diff --git a/composer.lock b/composer.lock index 4f6453ff..5e4936f3 100644 --- a/composer.lock +++ b/composer.lock @@ -4712,24 +4712,24 @@ }, { "name": "mongodb/mongodb", - "version": "2.3.0", + "version": "2.2.0", "source": { "type": "git", - "url": "https://github.com/mongodb/mongo-php-library", - "reference": "12e56461166d915e3dd8e4969ad0940ed5207d88" + "url": "https://github.com/mongodb/mongo-php-library.git", + "reference": "bbb13f969e37e047fd822527543df55fdc1c9298" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/mongodb/mongo-php-library/zipball/12e56461166d915e3dd8e4969ad0940ed5207d88", - "reference": "12e56461166d915e3dd8e4969ad0940ed5207d88", + "url": "https://api.github.com/repos/mongodb/mongo-php-library/zipball/bbb13f969e37e047fd822527543df55fdc1c9298", + "reference": "bbb13f969e37e047fd822527543df55fdc1c9298", "shasum": "" }, "require": { "composer-runtime-api": "^2.0", - "ext-mongodb": "^2.3", + "ext-mongodb": "^2.2", "php": "^8.1", "psr/log": "^1.1.4|^2|^3", - "symfony/polyfill-php85": "^1.33" + "symfony/polyfill-php85": "^1.32" }, "replace": { "mongodb/builder": "*" @@ -4781,7 +4781,11 @@ "mongodb", "persistence" ], - "time": "2026-04-28T12:50:06+00:00" + "support": { + "issues": "https://github.com/mongodb/mongo-php-library/issues", + "source": "https://github.com/mongodb/mongo-php-library/tree/2.2.0" + }, + "time": "2026-02-11T11:39:56+00:00" }, { "name": "monolog/monolog", diff --git a/public/images/soccerfield-cleand.jpg b/public/images/soccerfield-cleand.jpg new file mode 100644 index 00000000..4eda3e06 Binary files /dev/null and b/public/images/soccerfield-cleand.jpg differ diff --git a/resources/css/filament/admin/theme.css b/resources/css/filament/admin/theme.css index f551f396..cb875c80 100644 --- a/resources/css/filament/admin/theme.css +++ b/resources/css/filament/admin/theme.css @@ -4,7 +4,7 @@ @source '../../../../resources/views/livewire/*'; @source '../../../../resources/views/filament/**/*'; @source '../../../../resources/views/filament/modals/**/*'; -@source '../../../../resources/views/filament/tables/**/*'; +@source '../../../../resources/views/filament/tables/columns/**/*'; @source '../../../../resources/views/components/**/*'; @source '../../../../vendor/awcodes/light-switch/resources/**/*.blade.php'; @source '../../../../vendor/guava/filament-modal-relation-managers/resources/**/*'; diff --git a/resources/views/filament/tables/columns/drag-card.blade.php b/resources/views/filament/tables/columns/drag-card.blade.php index cea9c4a4..52eef7ce 100644 --- a/resources/views/filament/tables/columns/drag-card.blade.php +++ b/resources/views/filament/tables/columns/drag-card.blade.php @@ -14,30 +14,29 @@ @endphp @if ($record['active'])
+ class="border dark:border-gray-600 border-gray-200 w-full text-xs mt-1 p-1 select-none rounded transition-colors flex justify-end content-center items-center gap-1">
-
{{ $record['preferred_foot'] }}
-
{{ $record['events_played'] }}
-
{{ $record['everage_minutes'] }}
-
{{ $record['gls'] }}
-
{{ $record['crn'] }}
-
{{ $record['fls'] }}
-
{{ $record['ofs'] }}
-
{{ $record['snt'] }}
-
{{ $record['tsh'] }}
-
{{ $record['crd'] }}
-
{{ $record['position'] }}
+
{{ $record['gls'] }}
+
{{ $record['crn'] }}
+
{{ $record['fls'] }}
+
{{ $record['ofs'] }}
+
{{ $record['snt'] }}
+
{{ $record['tsh'] }}
+
{{ $record['crd'] }}
+
{{ $record['preferred_foot'] }}
+
{{ $record['events_played'] }}
+
{{ $record['everage_minutes'] }}
+
{{ $record['position'] }}
{{ ucfirst($record['player_position']) }}
-
+
{{ $record['name'] }}
-
@else @@ -46,18 +45,18 @@ e.dataTransfer.effectAllowed = 'copy'; e.dataTransfer.setData('text/plain', JSON.stringify({ id: {{ $record['id'] }} })); }" - class="w-full text-xs mt-1 p-1 select-none cursor-grab active:cursor-grabbing border border-gray-300 rounded hover:border-primary-500 transition-colors flex justify-end content-center items-center gap-1"> + class="border dark:border-gray-600 border-gray-200 w-full text-xs mt-1 p-1 select-none cursor-grab active:cursor-grabbing rounded transition-colors flex justify-end content-center items-center gap-1">
-
{{ $record['preferred_foot'] }}
-
{{ $record['events_played'] }}
-
{{ $record['everage_minutes'] }}
-
{{ $record['gls'] }}
-
{{ $record['crn'] }}
-
{{ $record['fls'] }}
-
{{ $record['ofs'] }}
-
{{ $record['snt'] }}
-
{{ $record['tsh'] }}
-
{{ $record['crd'] }}
+
{{ $record['gls'] }}
+
{{ $record['crn'] }}
+
{{ $record['fls'] }}
+
{{ $record['ofs'] }}
+
{{ $record['snt'] }}
+
{{ $record['tsh'] }}
+
{{ $record['crd'] }}
+
{{ $record['preferred_foot'] }}
+
{{ $record['events_played'] }}
+
{{ $record['everage_minutes'] }}
{{ $record['position'] }}
@@ -72,4 +71,4 @@
-@endif \ No newline at end of file +@endif diff --git a/resources/views/livewire/board-dispatcher.blade.php b/resources/views/livewire/board-dispatcher.blade.php index 95e87ddc..14a69fa8 100644 --- a/resources/views/livewire/board-dispatcher.blade.php +++ b/resources/views/livewire/board-dispatcher.blade.php @@ -1,13 +1,13 @@ @php use Illuminate\Support\Facades\Log; @endphp -
-
+
+
{{ $this->table }}
-
-
+
+
@foreach ($beschriftung as $boxNumber => $benennung) @if ($benennung)
-
+
-
+
{{ $benennung }}
@@ -39,7 +39,7 @@ @if ($boxes[$boxNumber]) -
+
{{ $boxes[$boxNumber]['name'] }}
@endif