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.
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
@props([
|
||||
'title' => null,
|
||||
'count' => null,
|
||||
])
|
||||
|
||||
<div {{ $attributes->merge(['class' => 'divide-y divide-neutral/10']) }}>
|
||||
@if($title || $count !== null)
|
||||
<div class="flex items-center justify-between pb-3 mb-1">
|
||||
@if($title)
|
||||
<h4 class="text-sm font-semibold text-base/80">{{ $title }}</h4>
|
||||
@endif
|
||||
@if($count !== null)
|
||||
<span class="text-xs text-base/50 bg-neutral/10 px-2 py-0.5 rounded-full">{{ $count }} items</span>
|
||||
@endif
|
||||
</div>
|
||||
@endif
|
||||
|
||||
{{ $slot }}
|
||||
</div>
|
||||
Reference in New Issue
Block a user