From 35d504072d61dc1f7cf4248618dad42d06c8ce2e Mon Sep 17 00:00:00 2001 From: "Joseph.Rawlings" Date: Wed, 17 Dec 2025 13:55:22 -0500 Subject: [PATCH] refactor: update resource allocation card layout and styling for improved clarity --- .../Servers/Proxmox/views/overview.blade.php | 24 ++++++++----------- 1 file changed, 10 insertions(+), 14 deletions(-) diff --git a/extensions/Servers/Proxmox/views/overview.blade.php b/extensions/Servers/Proxmox/views/overview.blade.php index 0093ae131..2c3096164 100644 --- a/extensions/Servers/Proxmox/views/overview.blade.php +++ b/extensions/Servers/Proxmox/views/overview.blade.php @@ -278,7 +278,7 @@ 'entitlement_label' => ($powerStats['starts'] ?? 0) . ' starts • ' . ($powerStats['shutdowns'] ?? 0) . ' shutdowns • ' . ($powerStats['reboots'] ?? 0) . ' reboots', 'description' => 'Shows the live uptime reported by the hypervisor plus counts from the task history.', 'gradient' => 'linear-gradient(90deg, #a855f7 0%, #ec4899 100%)', - 'badge' => ['label' => 'Live', 'class' => 'text-blue-600 bg-blue-100 dark:text-blue-400 dark:bg-blue-950/50'], + 'badge' => ['label' => 'Live', 'class' => 'text-blue-600 bg-blue-100 dark:text-blue-400 dark:bg-blue-900'], ], ]; @@ -303,21 +303,17 @@ $lastSampleTimestamp = now()->toIso8601String(); @endphp - -
+ +
-

Resource Allocation vs Entitlement

- -

- Compares your virtual machine's actual resource consumption against its allocated entitlements, providing real-time visibility into CPU, memory, and uptime metrics. +

Resource Allocation

+ +

+ VM resource consumption vs allocated entitlements.

-
-

- CPU Allocation: Shows live CPU usage as a percentage of your vCPU entitlement. Values are sampled directly from the Proxmox hypervisor and update with each status poll. -

-

- Memory Allocation: Displays current RAM usage compared to your provisioned memory entitlement. -

+
+

CPU: Live usage % of vCPU entitlement.

+

Memory: RAM usage vs provisioned.

Hypervisor Uptime: Shows the live uptime plus power event statistics from the task history.