From e06a8f79312372cfa02841b59913dc9db44a376e Mon Sep 17 00:00:00 2001 From: "courtmanr@gmail.com" Date: Thu, 5 Jun 2025 14:05:47 +0100 Subject: [PATCH] fix: match system alerts styling to custom alerts design MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Updated system alert cards to use same styling as custom alerts - Removed colored icons and fancy styling for consistency - Added status badges and threshold displays matching custom alerts - Updated layout to use border-gray-600, p-3, same structure - System and custom alerts now have identical visual design - Added status badge updates in updateSystemAlertDisplay function 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- src/public/js/ui/alertManagementModal.js | 131 ++++++++++++----------- 1 file changed, 67 insertions(+), 64 deletions(-) diff --git a/src/public/js/ui/alertManagementModal.js b/src/public/js/ui/alertManagementModal.js index bfb39d13e..a938b7713 100644 --- a/src/public/js/ui/alertManagementModal.js +++ b/src/public/js/ui/alertManagementModal.js @@ -267,29 +267,27 @@ PulseApp.ui.alertManagementModal = (() => {
-
-
+
+
-
-
-
- - - -
-
-
-

CPU Alert

-

Triggers when CPU usage exceeds 85%

-
+
+
CPU Alert
+ Enabled +
+

Triggers when CPU usage exceeds 85%

+
+ All VMs/LXCs
-
+
+
+ Built-in system rule +
-
-
-
+
+
-
-
-
- - - -
-
-
-

Memory Alert

-

Triggers when memory usage exceeds 90%

-
+
+
Memory Alert
+ Enabled +
+

Triggers when memory usage exceeds 90%

+
+ All VMs/LXCs
-
+
+
+ Built-in system rule +
-
-
-
+
+
-
-
-
- - - -
-
-
-

Disk Alert

-

Triggers when disk usage exceeds 95%

-
+
+
Disk Alert
+ Enabled +
+

Triggers when disk usage exceeds 95%

+
+ All VMs/LXCs
-
+
+
+ Built-in system rule +
-
-
-
+
+
-
-
-
- - - -
-
-
-

Down Alert

-

Triggers when VM/LXC becomes unreachable or stops responding

-
+
+
Down Alert
+ Enabled +
+

Triggers when VM/LXC becomes unreachable or stops responding

+
+ All VMs/LXCs
-
+
+
+ Built-in system rule +
-