From f0edca127fc6ac4539db6eda2585c3563182ba84 Mon Sep 17 00:00:00 2001 From: Samuel Lorch Date: Sun, 2 Apr 2023 16:58:40 +0200 Subject: [PATCH] fix router link disabling --- client/src/global-styles/components.css | 3 ++- client/src/pages/firewall/DestinationNATRules.vue | 2 +- client/src/pages/firewall/ForwardRules.vue | 2 +- client/src/pages/firewall/SourceNATRules.vue | 2 +- client/src/pages/network/Interfaces.vue | 2 +- client/src/pages/object/Addresses.vue | 2 +- client/src/pages/object/Services.vue | 2 +- 7 files changed, 8 insertions(+), 7 deletions(-) diff --git a/client/src/global-styles/components.css b/client/src/global-styles/components.css index d038152..1ba83ee 100644 --- a/client/src/global-styles/components.css +++ b/client/src/global-styles/components.css @@ -71,8 +71,9 @@ button, .button { background-color: var(--cl-bg-hl); } -.button:disabled, button:disabled { +.button:disabled, button:disabled, .disabled { background-color: var(--cl-bg-hl); + pointer-events: none; } input, textarea { diff --git a/client/src/pages/firewall/DestinationNATRules.vue b/client/src/pages/firewall/DestinationNATRules.vue index 41f6121..a5eeb0f 100644 --- a/client/src/pages/firewall/DestinationNATRules.vue +++ b/client/src/pages/firewall/DestinationNATRules.vue @@ -56,7 +56,7 @@ onMounted(async() => { Create - Edit + Edit diff --git a/client/src/pages/firewall/ForwardRules.vue b/client/src/pages/firewall/ForwardRules.vue index d526b8d..4fa8ced 100644 --- a/client/src/pages/firewall/ForwardRules.vue +++ b/client/src/pages/firewall/ForwardRules.vue @@ -57,7 +57,7 @@ onMounted(async() => { Create - Edit + Edit diff --git a/client/src/pages/firewall/SourceNATRules.vue b/client/src/pages/firewall/SourceNATRules.vue index f03f50b..3907c32 100644 --- a/client/src/pages/firewall/SourceNATRules.vue +++ b/client/src/pages/firewall/SourceNATRules.vue @@ -56,7 +56,7 @@ onMounted(async() => { Create - Edit + Edit diff --git a/client/src/pages/network/Interfaces.vue b/client/src/pages/network/Interfaces.vue index d4dd302..d4753a8 100644 --- a/client/src/pages/network/Interfaces.vue +++ b/client/src/pages/network/Interfaces.vue @@ -60,7 +60,7 @@ onMounted(async() => { Create - Edit + Edit \ No newline at end of file diff --git a/client/src/pages/object/Addresses.vue b/client/src/pages/object/Addresses.vue index 9a265ba..2ebaed1 100644 --- a/client/src/pages/object/Addresses.vue +++ b/client/src/pages/object/Addresses.vue @@ -79,7 +79,7 @@ onMounted(async() => { Create - Edit + Edit \ No newline at end of file diff --git a/client/src/pages/object/Services.vue b/client/src/pages/object/Services.vue index 5a4a0ef..dc7aa74 100644 --- a/client/src/pages/object/Services.vue +++ b/client/src/pages/object/Services.vue @@ -84,7 +84,7 @@ onMounted(async() => { Create - Edit + Edit \ No newline at end of file