Files
Virtnet.bond/extensions/Servers/Proxmox/views/components/table-row.blade.php
Joseph.Rawlings e7b33a2f6c Refactor Proxmox server views for improved UI consistency and usability
- Updated server card component to use new UI elements and improved layout.
- Enhanced status display with badges and better status indicators.
- Refined quick info row for server details with consistent styling.
- Reorganized server configuration statistics into stat cards for clarity.
- Improved help modals for statistics and storage management sections.
- Streamlined alerts and warnings for better user experience.
- Updated storage management view to utilize new UI components and improve readability.
2025-12-17 11:24:17 -05:00

27 lines
490 B
PHP

@props([
'hoverable' => true,
'clickable' => false,
'selected' => false,
'striped' => false,
])
@php
$classes = '';
if ($hoverable) {
$classes .= ' hover:bg-neutral/5 transition-colors';
}
if ($clickable) {
$classes .= ' cursor-pointer';
}
if ($selected) {
$classes .= ' bg-primary/5 border-l-2 border-l-primary';
}
@endphp
<tr {{ $attributes->merge(['class' => trim($classes)]) }}>
{{ $slot }}
</tr>