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.
30 lines
1.1 KiB
PHP
30 lines
1.1 KiB
PHP
<?php
|
|
$id = $getId();
|
|
$isContained = $getContainer()->getParentComponent()->isContained();
|
|
|
|
$activeTabClasses = \Illuminate\Support\Arr::toCssClasses([
|
|
'fi-active',
|
|
'p-6' => $isContained,
|
|
'mt-6' => ! $isContained,
|
|
]);
|
|
|
|
$inactiveTabClasses = 'invisible absolute h-0 overflow-hidden p-0';
|
|
?>
|
|
|
|
<div
|
|
x-bind:class="tab === <?php echo \Illuminate\Support\Js::from($id)->toHtml() ?> ? <?php echo \Illuminate\Support\Js::from($activeTabClasses)->toHtml() ?> : <?php echo \Illuminate\Support\Js::from($inactiveTabClasses)->toHtml() ?>"
|
|
<?php echo e($attributes
|
|
->merge([
|
|
'aria-labelledby' => $id,
|
|
'id' => $id,
|
|
'role' => 'tabpanel',
|
|
'tabindex' => '0',
|
|
], escape: false)
|
|
->merge($getExtraAttributes(), escape: false)
|
|
->class(['fi-in-tabs-tab outline-none'])); ?>
|
|
|
|
>
|
|
<?php echo e($getChildComponentContainer()); ?>
|
|
|
|
</div>
|
|
<?php /**PATH C:\Users\Owner\Virtnet.bond\vendor\filament\infolists\resources\views\components\tabs\tab.blade.php ENDPATH**/ ?>
|