Introduced a new Livewire component for statistics redirection and added a corresponding route to enhance navigation within the Proxmox extension. This update lays the groundwork for future statistics-related features.
64 lines
3.7 KiB
PHP
64 lines
3.7 KiB
PHP
<?php
|
|
use Filament\Support\Enums\VerticalAlignment;
|
|
|
|
$verticalAlignment = $getVerticalAlignment();
|
|
|
|
if (! $verticalAlignment instanceof VerticalAlignment) {
|
|
$verticalAlignment = filled($verticalAlignment) ? (VerticalAlignment::tryFrom($verticalAlignment) ?? $verticalAlignment) : null;
|
|
}
|
|
?>
|
|
|
|
<div
|
|
<?php echo e($attributes
|
|
->merge($getExtraAttributes(), escape: false)
|
|
->class([
|
|
'fi-in-split flex gap-6',
|
|
match ($getFromBreakpoint()) {
|
|
'sm' => 'flex-col sm:flex-row ' . match ($verticalAlignment) {
|
|
VerticalAlignment::Center => 'sm:items-center',
|
|
VerticalAlignment::End => 'sm:items-end',
|
|
default => 'sm:items-start',
|
|
},
|
|
'md' => 'flex-col md:flex-row ' . match ($verticalAlignment) {
|
|
VerticalAlignment::Center => 'md:items-center',
|
|
VerticalAlignment::End => 'md:items-end',
|
|
default => 'md:items-start',
|
|
},
|
|
'lg' => 'flex-col lg:flex-row ' . match ($verticalAlignment) {
|
|
VerticalAlignment::Center => 'lg:items-center',
|
|
VerticalAlignment::End => 'lg:items-end',
|
|
default => 'lg:items-start',
|
|
},
|
|
'xl' => 'flex-col xl:flex-row ' . match ($verticalAlignment) {
|
|
VerticalAlignment::Center => 'xl:items-center',
|
|
VerticalAlignment::End => 'xl:items-end',
|
|
default => 'xl:items-start',
|
|
},
|
|
'2xl' => 'flex-col 2xl:flex-row ' . match ($verticalAlignment) {
|
|
VerticalAlignment::Center => '2xl:items-center',
|
|
VerticalAlignment::End => '2xl:items-end',
|
|
default => '2xl:items-start',
|
|
},
|
|
default => match ($verticalAlignment) {
|
|
VerticalAlignment::Center => 'items-center',
|
|
VerticalAlignment::End => 'items-end',
|
|
default => 'items-start',
|
|
},
|
|
},
|
|
])); ?>
|
|
|
|
>
|
|
<?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php $__currentLoopData = $getChildComponentContainers(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $container): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
|
|
<?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php $__currentLoopData = $container->getComponents(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $component): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
|
|
<div
|
|
class="<?php echo \Illuminate\Support\Arr::toCssClasses([
|
|
'w-full flex-1' => $component->canGrow(),
|
|
]); ?>"
|
|
>
|
|
<?php echo e($component); ?>
|
|
|
|
</div>
|
|
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
|
|
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
|
|
</div>
|
|
<?php /**PATH C:\Users\Owner\Virtnet.bond\vendor\filament\infolists\resources\views\components\split.blade.php ENDPATH**/ ?>
|