diff --git a/frontend/package.json b/frontend/package.json index 299d153..df8664b 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -1,6 +1,6 @@ { "name": "network-topology", - "version": "1.1.0", + "version": "1.1.1", "scripts": { "dev": "vite", "build": "vite build", diff --git a/frontend/src/components/TopologyGraph.vue b/frontend/src/components/TopologyGraph.vue index 8733579..26804b9 100644 --- a/frontend/src/components/TopologyGraph.vue +++ b/frontend/src/components/TopologyGraph.vue @@ -33,7 +33,7 @@ {{ t('tagLink') }} - + {{ pingStatus[d.id] === 'up' ? 'UP' : 'DOWN' }} @@ -54,7 +54,7 @@ {{ t('tagLink') }} - + {{ pingStatus[d.id] === 'up' ? 'UP' : 'DOWN' }} @@ -100,7 +100,7 @@
- + {{ pingStatus[item.device.id] === 'up' ? 'UP' : 'DOWN' }} {{ t('tagLink') }} {{ t('tagGw') }} {{ t('tagLxc') }} @@ -140,7 +140,7 @@
{{ t('tagLink') }} - + {{ pingStatus[d.id] === 'up' ? 'UP' : 'DOWN' }} @@ -289,12 +289,9 @@ async function pingAll() { .ping-summary { font-size: 12px; color: var(--text-muted); } -/* ── Dot ping ────────────────────────────────────────────────────────────── */ -.ping-dot { - width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; -} -.ping-up { background: #22C55E; } -.ping-down { background: #EF4444; } +/* ── Pastilles ping ──────────────────────────────────────────────────────── */ +.ping-up { background: #22C55E; color: #fff; } +.ping-down { background: #EF4444; color: #fff; } /* ── Cartes spéciales (WAN + Passerelle) ─────────────────────────────────── */ .special-row {