From a67ddd582c2c5bd02c219ff94adf5b0104efe163 Mon Sep 17 00:00:00 2001 From: Roby Date: Sun, 1 Nov 2026 18:57:06 +0100 Subject: [PATCH] feat(ui): aggiunto supporto per i modi FM e M17 nei toggle operativi --- static/js/app.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/static/js/app.js b/static/js/app.js index 76208a7..6cd8dd3 100644 --- a/static/js/app.js +++ b/static/js/app.js @@ -53,7 +53,8 @@ const MODE_GATEWAYS = { 'NXDN': ['nxdngateway'], 'System Fusion': ['ysfgateway'], 'D-Star': ['dstargateway', 'dstar-gateway'], - 'P25': ['p25gateway'] + 'P25': ['p25gateway'], + 'M17': ['m17gateway', 'm17-gateway'] }; function switchView(viewName) { @@ -354,7 +355,9 @@ function renderModeToggles(clientId, statusMsg = "") { { id: 'D-Star', label: 'D-STAR', color: '#f97316' }, { id: 'System Fusion', label: 'YSF', color: '#8b5cf6' }, { id: 'NXDN', label: 'NXDN', color: 'var(--success)' }, - { id: 'P25', label: 'P25', color: 'var(--accent)' } + { id: 'P25', label: 'P25', color: 'var(--accent)' }, + { id: 'FM', label: 'FM', color: '#14b8a6' }, + { id: 'M17', label: 'M17', color: '#ec4899' } // Aggiunto modo M17 (Rosa/Pink) ]; let html = "";