- 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.
32 lines
601 B
PHP
32 lines
601 B
PHP
{{--
|
|
Table Data Cell Component - TailServer Theme
|
|
--}}
|
|
|
|
@props([
|
|
'align' => 'start',
|
|
'nowrap' => false,
|
|
'muted' => false,
|
|
'strong' => false,
|
|
])
|
|
|
|
@php
|
|
$alignClasses = [
|
|
'start' => 'text-start',
|
|
'center' => 'text-center',
|
|
'end' => 'text-end',
|
|
];
|
|
$alignClass = $alignClasses[$align] ?? $alignClasses['start'];
|
|
@endphp
|
|
|
|
<td
|
|
{{ $attributes->class([
|
|
'px-3 py-3',
|
|
$alignClass,
|
|
'whitespace-nowrap' => $nowrap,
|
|
'text-base/50' => $muted,
|
|
'font-semibold text-base' => $strong,
|
|
]) }}
|
|
>
|
|
{{ $slot }}
|
|
</td>
|