place calculator an separate page
This commit is contained in:
1 parent
26052c6cfd
commit
ed8a50d044
14 files changed
+777
-306
No files matched your search
@@ -1,29 +1,10 @@
|
||||
@php
|
||||
$record = $getRecord();
|
||||
/***
|
||||
"id" => 1218016
|
||||
"name" => "Walter Nuñez"
|
||||
"pos_ori" => "LW"
|
||||
"pos" => "LW"
|
||||
"foot" => "Right"
|
||||
"tot_evt" => 2
|
||||
"tot_min" => 102
|
||||
"ave_min" => 51
|
||||
"gls" => 0
|
||||
"fls" => 3
|
||||
"ofs" => 0
|
||||
"crd" => 0
|
||||
"snt" => 0
|
||||
"tsh" => 0
|
||||
"color_evt" => "success"
|
||||
"area" => "attack"
|
||||
"color_pos" => "warning"
|
||||
*/
|
||||
@endphp
|
||||
@if ($record['active'])
|
||||
<div draggable="false"
|
||||
class="bgFade w-140 max-w-140 border dark:border-gray-600 border-gray-200 text-xs my-0.5 py-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-10 content-center items-center gap-1">
|
||||
class="w-full mt-1 border dark:border-gray-600 border-gray-200 text-xs select-none rounded transition-colors grid grid-cols-16 gap-1 items-center">
|
||||
<div class="col-span-10 text-[10px] text-center grid grid-cols-10 content-center items-center gap-1">
|
||||
<div>{{ $record['gls'] }}</div>
|
||||
<div>{{ $record['fls'] }}</div>
|
||||
<div>{{ $record['ofs'] }}</div>
|
||||
@@ -52,8 +33,8 @@
|
||||
e.dataTransfer.effectAllowed = 'copy';
|
||||
e.dataTransfer.setData('text/plain', JSON.stringify({ id: {{ $record['id'] }} }));
|
||||
}"
|
||||
class="w-140 max-w-140 border dark:border-gray-600 border-gray-200 hover:border-blue-500 text-xs my-0.5 mx-0 py-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-10 content-center items-center gap-1">
|
||||
class="w-full mt-1 border dark:border-gray-600 border-gray-200 hover:border-blue-500 text-xs select-none cursor-grab active:cursor-grabbing rounded transition-colors grid grid-cols-16 gap-1 items-center">
|
||||
<div class="col-span-10 text-[10px] text-center grid grid-cols-10 content-center items-center gap-1">
|
||||
<div>{{ $record['gls'] }}</div>
|
||||
<div>{{ $record['fls'] }}</div>
|
||||
<div>{{ $record['ofs'] }}</div>
|
||||
@@ -65,15 +46,15 @@
|
||||
<div>{{ $record['ave_min'] }}</div>
|
||||
<div></div>
|
||||
</div>
|
||||
<div class="w-18 font-stretch-ultra-condensed">
|
||||
<x-filament::badge size="sm" color="{{ $record['color_pos'] }}">
|
||||
<div class="text-center">
|
||||
<div class="{{ $record['color_pos'] }}">
|
||||
{{ ucfirst($record['pos_ori']) }}
|
||||
</x-filament::badge>
|
||||
</div>
|
||||
</div>
|
||||
<div class="text-left text-sm tracking-tight flex-1">
|
||||
<div class="col-span-4 overflow-hidden font-medium">
|
||||
{{ $record['name'] }}
|
||||
</div>
|
||||
<div class="w-8 flex justify-end">
|
||||
<div class="flex justify-end">
|
||||
<x-phosphor-dots-six-vertical class="h-5 w-5" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user