From abce1b6ce40b36ae8dee91b11b72fd27832f65b1 Mon Sep 17 00:00:00 2001 From: Matteo Di Lorenzi Date: Fri, 21 Aug 2026 15:46:21 +0200 Subject: [PATCH 1/2] fix(ui): update button styles and improve SSH key labels in i18n files --- src/components/standalone/firewall/nat/NatRulesContent.vue | 2 +- src/components/standalone/ssh/SshKeys.vue | 3 +++ .../standalone/wireguard/WireguardPeerTunnelList.vue | 2 +- src/i18n/en.json | 2 +- src/i18n/it.json | 2 +- 5 files changed, 7 insertions(+), 4 deletions(-) diff --git a/src/components/standalone/firewall/nat/NatRulesContent.vue b/src/components/standalone/firewall/nat/NatRulesContent.vue index 7e06f27bb..dab9108ed 100644 --- a/src/components/standalone/firewall/nat/NatRulesContent.vue +++ b/src/components/standalone/firewall/nat/NatRulesContent.vue @@ -96,7 +96,7 @@ function hideCreateOrEditRuleDrawer() {
+

+ {{ t('standalone.ssh.ssh_keys.public_keys_label') }} +

  • diff --git a/src/components/standalone/wireguard/WireguardPeerTunnelList.vue b/src/components/standalone/wireguard/WireguardPeerTunnelList.vue index 4f4eabd8e..fe78db34e 100644 --- a/src/components/standalone/wireguard/WireguardPeerTunnelList.vue +++ b/src/components/standalone/wireguard/WireguardPeerTunnelList.vue @@ -178,7 +178,7 @@ useIntervalFn( {{ t('standalone.wireguard_peers.import_peer_tunnel') }} - + diff --git a/src/i18n/en.json b/src/i18n/en.json index 5c74de9c4..bc1ac438c 100644 --- a/src/i18n/en.json +++ b/src/i18n/en.json @@ -716,7 +716,7 @@ "add_key_button": "Add key", "unnamed_key": "Unnamed key", "add_new_ssh_key": { - "label": "Add new SSH key", + "label": "New SSH key", "placeholder": "Paste SSH key here..." }, "delete_key_modal": { diff --git a/src/i18n/it.json b/src/i18n/it.json index 8dfc30850..e21e58911 100644 --- a/src/i18n/it.json +++ b/src/i18n/it.json @@ -540,7 +540,7 @@ "add_key_button": "Aggiungi chiave", "unnamed_key": "Chiave senza nome", "add_new_ssh_key": { - "label": "Aggiungi nuova chiave SSH", + "label": "Nuova chiave SSH", "placeholder": "Incolla qui la chiave SSH..." }, "delete_key_modal": { From 3d8ccd646b2b0a1a6b3fa12438fe7e0432baf414 Mon Sep 17 00:00:00 2001 From: Matteo Di Lorenzi Date: Wed, 26 Aug 2026 12:14:19 +0200 Subject: [PATCH 2/2] fix(ui): update ips button labels and drawer stepper with dynamic label color classes --- src/components/standalone/NeStepper.vue | 10 ++++++++-- .../standalone/security/ips/IpsSuppressedAlerts.vue | 8 ++++---- 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/src/components/standalone/NeStepper.vue b/src/components/standalone/NeStepper.vue index 079ff00ce..a2debd1e6 100644 --- a/src/components/standalone/NeStepper.vue +++ b/src/components/standalone/NeStepper.vue @@ -7,10 +7,16 @@ import { NeProgressBar } from '@nethesis/vue-components' import { range } from 'lodash-es' -defineProps<{ +const { + totalSteps, + currentStep, + stepLabel, + labelColorClasses = 'text-primary-600 dark:text-primary-500' +} = defineProps<{ totalSteps: number currentStep: number stepLabel: string + labelColorClasses?: string }>() @@ -19,7 +25,7 @@ defineProps<{
    -

    +

    {{ stepLabel }} {{ currentStep }}/{{ totalSteps }}

    diff --git a/src/components/standalone/security/ips/IpsSuppressedAlerts.vue b/src/components/standalone/security/ips/IpsSuppressedAlerts.vue index 23645a9a2..415b3185c 100644 --- a/src/components/standalone/security/ips/IpsSuppressedAlerts.vue +++ b/src/components/standalone/security/ips/IpsSuppressedAlerts.vue @@ -26,7 +26,7 @@ import { useItemPagination, useSort } from '@nethesis/vue-components' -import { faCircleInfo, faCirclePlus, faShield, faTrash } from '@fortawesome/free-solid-svg-icons' +import { faBellSlash, faCircleInfo, faShield, faTrash } from '@fortawesome/free-solid-svg-icons' import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome' import { ubusCall } from '@/lib/standalone/ubus' import type { AxiosResponse } from 'axios' @@ -147,9 +147,9 @@ function handleDeleted() { - {{ t('standalone.ips.add_bypass') }} + {{ t('standalone.ips.add_suppressed_alert') }}
    {{ t('standalone.ips.add_suppressed_alert') }}