Files
Virtnet.bond/extensions/Servers/Proxmox/views/components/ui/table-row.blade.php
Joseph.Rawlings abff5a381f Migrate UI components from AdminLTE to LucentUI Theme using Tailwind CSS
- Updated tab-panel component to use Tailwind for styling and transitions.
- Refactored table-row component to implement Tailwind classes for hover effects and borders.
- Converted table-td component to utilize Tailwind for alignment and text styles.
- Changed table-th component to apply Tailwind for header styling and sorting indicators.
- Revised table component to adopt Tailwind for layout, borders, and responsive design.
- Enhanced tabs component with Tailwind for navigation styles and transitions.
- Updated toggle component to use Tailwind for switch styles and accessibility.
- Refactored tooltip component to implement Tailwind for positioning and styling.
- Added visual enhancements to app.css for improved UI interactions and animations.
2026-02-01 14:16:57 -05:00

33 lines
817 B
PHP

{{--
Table Row Component - LucentUI Theme
Migrated from AdminLTE to Tailwind
--}}
@props([
'clickable' => false,
'href' => null,
'hoverable' => null,
])
@php
$isHoverable = $hoverable ?? true;
@endphp
@if($href)
<tr
{{ $attributes->class([
'border-b border-neutral dark:border-gray-700 last:border-b-0 transition-colors duration-200 cursor-pointer hover:bg-primary/5 dark:hover:bg-primary/10',
]) }}
onclick="window.location='{{ $href }}'"
>
{{ $slot }}
</tr>
@else
<tr {{ $attributes->class([
'border-b border-neutral dark:border-gray-700 last:border-b-0 transition-colors duration-200',
'cursor-pointer hover:bg-primary/5 dark:hover:bg-primary/10' => $clickable,
]) }}>
{{ $slot }}
</tr>
@endif