wip
This commit is contained in:
1 parent
8a6478e103
commit
ac536fd10b
2 files changed
+7
-2
No files matched your search
@@ -43,6 +43,8 @@ class BoardDispatcher extends Component implements HasActions, HasSchemas, HasTa
|
||||
|
||||
public string $ss_team_name = '';
|
||||
|
||||
public array $lineups = [3331 => [2, 9, 23, 30, 10, 24, 12, 19, 26, 21]];
|
||||
public array $lineup = [2, 9, 23, 30, 10, 24, 12, 19, 26, 21];
|
||||
public array $boxes = [];
|
||||
|
||||
public array $beschriftung = [];
|
||||
@@ -62,7 +64,7 @@ class BoardDispatcher extends Component implements HasActions, HasSchemas, HasTa
|
||||
}
|
||||
}
|
||||
|
||||
// Log::debug('boxes', $this->beschriftung);
|
||||
// Log::debug('beschriftung', $this->beschriftung);
|
||||
}
|
||||
|
||||
public function getHeadingTable(): HtmlString
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
@php
|
||||
use Illuminate\Support\Facades\Log;
|
||||
@endphp
|
||||
<div class="w-full flex flex-row gap-3">
|
||||
<div class="dispatcher-board-root w-2xl min-w-2xl">
|
||||
{{ $this->table }}
|
||||
@@ -6,7 +9,7 @@
|
||||
<div class="relative top-16 rounded col-span-5 grid grid-cols-7 grid-rows-5 p-5 gap-2 bg-cover bg-center bg-no-repeat aspect-7/5"
|
||||
style="background-image: url({{ asset('images/soccerfield-cleand.jpg') }});">
|
||||
@foreach ($beschriftung as $boxNumber => $benennung)
|
||||
@if ($benennung)
|
||||
@if ($benennung && in_array($boxNumber, $lineup))
|
||||
<div x-data="{ isOver: false }" @dragover.prevent="isOver = true" @dragenter.prevent="isOver = true"
|
||||
@dragleave.prevent="isOver = false"
|
||||
@drop.prevent="
|
||||
|
||||
Reference in new issue
Block a user