wip
This commit is contained in:
1 parent
dd7617c86f
commit
f013d2563e
4 files changed
+23
-5
No files matched your search
@@ -114,20 +114,34 @@ class Statistic extends BaseDashboard
|
|||||||
'midfield' => 'Midfield',
|
'midfield' => 'Midfield',
|
||||||
'defence' => 'Defence',
|
'defence' => 'Defence',
|
||||||
'goalkeeper' => 'Goalkeeper',
|
'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([
|
->schema([
|
||||||
Action::make('restart')
|
Action::make('restart')
|
||||||
|
->extraAttributes([
|
||||||
|
'class' => 'w-30',
|
||||||
|
])
|
||||||
->color('warning')
|
->color('warning')
|
||||||
->icon('phosphor-arrow-counter-clockwise'),
|
->icon('phosphor-arrow-counter-clockwise'),
|
||||||
Action::make('copy')
|
Action::make('copy')
|
||||||
|
->extraAttributes([
|
||||||
|
'class' => 'w-30',
|
||||||
|
])
|
||||||
->color('success')
|
->color('success')
|
||||||
->icon('phosphor-copy'),
|
->icon('phosphor-copy'),
|
||||||
Action::make('calculate')
|
Action::make('calculate')
|
||||||
|
->extraAttributes([
|
||||||
|
'class' => 'w-30',
|
||||||
|
])
|
||||||
->icon('phosphor-calculator'),
|
->icon('phosphor-calculator'),
|
||||||
])
|
])
|
||||||
->extraAttributes([
|
->extraAttributes([
|
||||||
'class' => 'flex justify-start'
|
'class' => 'flex justify-center items-center gap-0'
|
||||||
])
|
])
|
||||||
])
|
])
|
||||||
])
|
])
|
||||||
|
|||||||
@@ -5,11 +5,11 @@
|
|||||||
<path id="Border" d="M 0 0 h 68 v 105 h -68 Z"/>
|
<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"/>
|
<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 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">
|
<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="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"/>
|
<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"/>
|
<path id="Penalty arc" d="M 26.733027 16.5 a 9.15 9.15 0 0 0 14.533946 0"/>
|
||||||
</g>
|
</g>
|
||||||
<use xlink:href="#Penalty area" transform="rotate(180,34,52.5)" />
|
<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 |
@@ -239,4 +239,8 @@ less padding in table
|
|||||||
background-position: top right;
|
background-position: top right;
|
||||||
background-size: 512px auto;
|
background-size: 512px auto;
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
|
}
|
||||||
|
|
||||||
|
.piece:active {
|
||||||
|
@apply cursor-grabbing drop-shadow border
|
||||||
}
|
}
|
||||||
@@ -18,7 +18,7 @@
|
|||||||
@else
|
@else
|
||||||
@foreach ($elements as $pos)
|
@foreach ($elements as $pos)
|
||||||
@if ($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">
|
<div class="font-black text-3xl text-center text-white/25 p-3">
|
||||||
{{ $pos }}
|
{{ $pos }}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in new issue
Block a user