wip calculatore
This commit is contained in:
1 parent
29de0c2c6c
commit
272e5b7d3a
6 files changed
+56
-53
No files matched your search
@@ -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/**/*';
|
||||
|
||||
@@ -14,30 +14,29 @@
|
||||
@endphp
|
||||
@if ($record['active'])
|
||||
<div draggable="false"
|
||||
class="w-full text-xs mt-1 p-1 select-none 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 rounded transition-colors flex justify-end content-center items-center gap-1">
|
||||
<div class="w-86 text-[11px] min-w-86 text-center grid grid-cols-11 content-center items-center gap-1">
|
||||
<div class="bg-gray-200">{{ $record['preferred_foot'] }}</div>
|
||||
<div class="bg-gray-200">{{ $record['events_played'] }}</div>
|
||||
<div class="bg-gray-200">{{ $record['everage_minutes'] }}</div>
|
||||
<div class="bg-blue-100">{{ $record['gls'] }}</div>
|
||||
<div class="bg-blue-100">{{ $record['crn'] }}</div>
|
||||
<div class="bg-blue-100">{{ $record['fls'] }}</div>
|
||||
<div class="bg-blue-100">{{ $record['ofs'] }}</div>
|
||||
<div class="bg-blue-100">{{ $record['snt'] }}</div>
|
||||
<div class="bg-blue-100">{{ $record['tsh'] }}</div>
|
||||
<div class="bg-blue-100">{{ $record['crd'] }}</div>
|
||||
<div class="bg-black text-white rounded font-bold">{{ $record['position'] }}</div>
|
||||
<div class="text-blue-500 dark:text-blue-600">{{ $record['gls'] }}</div>
|
||||
<div class="text-blue-500 dark:text-blue-600">{{ $record['crn'] }}</div>
|
||||
<div class="text-blue-500 dark:text-blue-600">{{ $record['fls'] }}</div>
|
||||
<div class="text-blue-500 dark:text-blue-600">{{ $record['ofs'] }}</div>
|
||||
<div class="text-blue-500 dark:text-blue-600">{{ $record['snt'] }}</div>
|
||||
<div class="text-blue-500 dark:text-blue-600">{{ $record['tsh'] }}</div>
|
||||
<div class="text-blue-500 dark:text-blue-600">{{ $record['crd'] }}</div>
|
||||
<div>{{ $record['preferred_foot'] }}</div>
|
||||
<div>{{ $record['events_played'] }}</div>
|
||||
<div>{{ $record['everage_minutes'] }}</div>
|
||||
<div class="bg-black text-white rounded font-bold">{{ $record['position'] }}</div>
|
||||
</div>
|
||||
<div class="w-18 font-stretch-ultra-condensed">
|
||||
<x-filament::badge size="sm" color="{{ $record['player_color'] }}">
|
||||
{{ ucfirst($record['player_position']) }}
|
||||
</x-filament::badge>
|
||||
</div>
|
||||
<div class="text-left font-bold tracking-tight flex-1">
|
||||
<div class="text-left font-bold tracking-tight flex-1 text-red-500">
|
||||
{{ $record['name'] }}
|
||||
</div>
|
||||
<div class="w-8 flex justify-end">
|
||||
<x-phosphor-map-pin class="h-5 w-5 text-orange-500" />
|
||||
</div>
|
||||
</div>
|
||||
@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">
|
||||
<div class="w-86 text-[11px] min-w-86 text-center grid grid-cols-11 content-center items-center gap-1">
|
||||
<div class="bg-gray-200">{{ $record['preferred_foot'] }}</div>
|
||||
<div class="bg-gray-200">{{ $record['events_played'] }}</div>
|
||||
<div class="bg-gray-200">{{ $record['everage_minutes'] }}</div>
|
||||
<div class="bg-blue-100">{{ $record['gls'] }}</div>
|
||||
<div class="bg-blue-100">{{ $record['crn'] }}</div>
|
||||
<div class="bg-blue-100">{{ $record['fls'] }}</div>
|
||||
<div class="bg-blue-100">{{ $record['ofs'] }}</div>
|
||||
<div class="bg-blue-100">{{ $record['snt'] }}</div>
|
||||
<div class="bg-blue-100">{{ $record['tsh'] }}</div>
|
||||
<div class="bg-blue-100">{{ $record['crd'] }}</div>
|
||||
<div class="text-blue-500 dark:text-blue-600">{{ $record['gls'] }}</div>
|
||||
<div class="text-blue-500 dark:text-blue-600">{{ $record['crn'] }}</div>
|
||||
<div class="text-blue-500 dark:text-blue-600">{{ $record['fls'] }}</div>
|
||||
<div class="text-blue-500 dark:text-blue-600">{{ $record['ofs'] }}</div>
|
||||
<div class="text-blue-500 dark:text-blue-600">{{ $record['snt'] }}</div>
|
||||
<div class="text-blue-500 dark:text-blue-600">{{ $record['tsh'] }}</div>
|
||||
<div class="text-blue-500 dark:text-blue-600">{{ $record['crd'] }}</div>
|
||||
<div>{{ $record['preferred_foot'] }}</div>
|
||||
<div>{{ $record['events_played'] }}</div>
|
||||
<div>{{ $record['everage_minutes'] }}</div>
|
||||
<div class="bg-black text-white rounded font-bold">{{ $record['position'] }}</div>
|
||||
</div>
|
||||
<div class="w-18 font-stretch-ultra-condensed">
|
||||
@@ -72,4 +71,4 @@
|
||||
<x-phosphor-dots-six-vertical class="h-5 w-5" />
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
@endif
|
||||
@@ -1,13 +1,13 @@
|
||||
@php
|
||||
use Illuminate\Support\Facades\Log;
|
||||
@endphp
|
||||
<div class="grid grid-cols-3 gap-3">
|
||||
<div class="dispatcher-board-root">
|
||||
<div class="w-full flex flex-row gap-3">
|
||||
<div class="dispatcher-board-root w-2xl min-w-2xl">
|
||||
{{ $this->table }}
|
||||
</div>
|
||||
<div class="col-span-2">
|
||||
<div class="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-middle.jpg') }});">
|
||||
<div class="w-full">
|
||||
<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)
|
||||
<div x-data="{ isOver: false }" @dragover.prevent="isOver = true" @dragenter.prevent="isOver = true"
|
||||
@@ -24,10 +24,10 @@
|
||||
'border-gray-800 bg-white/30'"
|
||||
class="border rounded-xl transition-all pt-0 flex flex-col justify-start shadow-2xs transform">
|
||||
<!-- Box Header -->
|
||||
<div
|
||||
class="grid grid-cols-6 items-center border-b p-1">
|
||||
<div class="grid grid-cols-6 items-center p-1">
|
||||
<div></div>
|
||||
<div class="w-16 text-center mx-auto bg-black text-white p-1 text-xl font-black rounded col-span-4">
|
||||
<div
|
||||
class="w-16 text-center mx-auto bg-black text-white p-1 text-xl font-black rounded col-span-4">
|
||||
{{ $benennung }}
|
||||
</div>
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
|
||||
<!-- Box Inhalt -->
|
||||
@if ($boxes[$boxNumber])
|
||||
<div class="border bg-white p-2 m-2 rounded leading-5">
|
||||
<div class=" bg-black text-white p-1 m-2 rounded leading-5">
|
||||
{{ $boxes[$boxNumber]['name'] }}
|
||||
</div>
|
||||
@endif
|
||||
|
||||
Reference in new issue
Block a user