From 26618601f8adedcc429159c205c64d5e1c963091 Mon Sep 17 00:00:00 2001 From: "Joseph.Rawlings" Date: Thu, 4 Dec 2025 10:21:36 -0500 Subject: [PATCH] feat: enhance firewall view in Proxmox with sidebar navigation and section scrolling for improved user experience and organization --- .../Proxmox/views/components/layout.blade.php | 20 +- .../Servers/Proxmox/views/firewall.blade.php | 218 +++++++++++++++++- 2 files changed, 220 insertions(+), 18 deletions(-) diff --git a/extensions/Servers/Proxmox/views/components/layout.blade.php b/extensions/Servers/Proxmox/views/components/layout.blade.php index 3ef6e3f80..5b9805329 100644 --- a/extensions/Servers/Proxmox/views/components/layout.blade.php +++ b/extensions/Servers/Proxmox/views/components/layout.blade.php @@ -443,23 +443,23 @@ left: 50%; transform: translateX(-50%); min-width: 180px; - background: color-mix(in srgb, var(--color-background-secondary) 95%, transparent); + background: var(--color-background-secondary); backdrop-filter: blur(16px); - border: 1px solid color-mix(in srgb, var(--color-neutral) 35%, transparent); + border: 1px solid color-mix(in srgb, var(--color-neutral) 50%, transparent); border-radius: 12px; box-shadow: - 0 4px 16px rgba(0, 0, 0, 0.12), - 0 0 0 1px rgba(0, 0, 0, 0.03); + 0 4px 16px rgba(0, 0, 0, 0.15), + 0 0 0 1px rgba(0, 0, 0, 0.05); z-index: 50; overflow: hidden; } .dark .dropdown-menu { - background: color-mix(in srgb, var(--color-background-secondary) 95%, transparent); - border-color: color-mix(in srgb, var(--color-neutral) 45%, transparent); + background: var(--color-background-secondary); + border-color: color-mix(in srgb, var(--color-neutral) 60%, transparent); box-shadow: - 0 4px 20px rgba(0, 0, 0, 0.4), - 0 0 0 1px rgba(255, 255, 255, 0.08); + 0 4px 20px rgba(0, 0, 0, 0.5), + 0 0 0 1px rgba(255, 255, 255, 0.1); } .dropdown-item { @@ -469,7 +469,7 @@ font-weight: 600; transition: all 0.2s ease; border-left: 3px solid transparent; - color: color-mix(in srgb, var(--color-base) 70%, transparent); + color: color-mix(in srgb, var(--color-base) 85%, transparent); } .dropdown-item:hover { @@ -477,7 +477,7 @@ rgba(37, 99, 235, 0.08), rgba(59, 130, 246, 0.05)); border-left-color: rgba(37, 99, 235, 0.3); - color: color-mix(in srgb, var(--color-base) 90%, transparent); + color: var(--color-base); } .dropdown-item.active { diff --git a/extensions/Servers/Proxmox/views/firewall.blade.php b/extensions/Servers/Proxmox/views/firewall.blade.php index cc5ccb418..a50b454b4 100644 --- a/extensions/Servers/Proxmox/views/firewall.blade.php +++ b/extensions/Servers/Proxmox/views/firewall.blade.php @@ -1,6 +1,84 @@ -
- - @if($error && $showErrorModal) +
+ + +
+
+
+ +

Firewall

+
+ + + + +
+

Quick Actions

+
+ + @if($firewallEnabled) + + + @endif +
+
+
+
+ + +
+ + @if($error && $showErrorModal)
@@ -396,7 +597,7 @@ @endif -
+
@@ -423,7 +624,7 @@
-
+
@@ -482,7 +683,7 @@ @if($firewallEnabled) -
+
@@ -582,7 +783,7 @@
-
+
@@ -1910,7 +2111,8 @@
@endif -
+
+
@script