This commit is contained in:
salam committed 2026-09-03 18:00:57 +02:00
1 parent dd7617c86f
commit f013d2563e
4 files changed
+23 -5

No files matched your search

+16 -2
View File
@@ -114,20 +114,34 @@ class Statistic extends BaseDashboard
'midfield' => 'Midfield',
'defence' => 'Defence',
'goalkeeper' => 'Goalkeeper',
])->icons([
'attack' => 'phosphor-lightning',
'midfield' => 'phosphor-align-center-horizontal-simple',
'defence' => 'phosphor-shield',
'goalkeeper' => 'phosphor-barricade',
]),
Grid::make(3)
Grid::make(5)
->schema([
Action::make('restart')
->extraAttributes([
'class' => 'w-30',
])
->color('warning')
->icon('phosphor-arrow-counter-clockwise'),
Action::make('copy')
->extraAttributes([
'class' => 'w-30',
])
->color('success')
->icon('phosphor-copy'),
Action::make('calculate')
->extraAttributes([
'class' => 'w-30',
])
->icon('phosphor-calculator'),
])
->extraAttributes([
'class' => 'flex justify-start'
'class' => 'flex justify-center items-center gap-0'
])
])
])
+2 -2
View File
@@ -5,11 +5,11 @@
<path id="Border" d="M 0 0 h 68 v 105 h -68 Z"/>
<path id="Centre line" d="M 0 52.5 h 68"/>
<circle id="Centre circle" r="9.15" cx="34" cy="52.5"/>
<circle id="Centre mark" r="0.75" cx="34" cy="52.5" fill="#fff" stroke="none"/>
<circle id="Centre mark" r="0.75" cx="34" cy="52.5" fill="#00a63e" stroke="none"/>
<g id="Penalty area">
<path id="Penalty area line" d="M 13.84 0 v 16.5 h 40.32 v -16.5"/>
<path id="Goal area line" d="M 24.84 0 v 5.5 h 18.32 v -5.5"/>
<circle id="Penalty mark" r="0.75" cx="34" cy="10.94" fill="#fff" stroke="none"/>
<circle id="Penalty mark" r="0.75" cx="34" cy="10.94" fill="#00a63e" stroke="none"/>
<path id="Penalty arc" d="M 26.733027 16.5 a 9.15 9.15 0 0 0 14.533946 0"/>
</g>
<use xlink:href="#Penalty area" transform="rotate(180,34,52.5)" />

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 1.0 KiB

+4
View File
@@ -239,4 +239,8 @@ less padding in table
background-position: top right;
background-size: 512px auto;
background-repeat: no-repeat;
}
.piece:active {
@apply cursor-grabbing drop-shadow border
}
@@ -18,7 +18,7 @@
@else
@foreach ($elements as $pos)
@if ($pos)
<div class="size-24 bg-white/30 inset-shadow-sm">
<div class="size-24 bg-white/10">
<div class="font-black text-3xl text-center text-white/25 p-3">
{{ $pos }}
</div>