Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.
Go aialertsdashboarddockerdocker-monitoringgohomelabinfrastructure-monitoringkubernetesmonitoringmspproxmoxproxmox-backup-serverproxmox-mail-gatewayproxmox-veself-hostedtruenastypescriptvspherewebhooks
Adopt SettingsPanel with icons in UnifiedAgents and ProLicensePanel
rcourtman19f363796256
diff --git a/frontend-modern/src/components/Settings/ProLicensePanel.tsx b/frontend-modern/src/components/Settings/ProLicensePanel.tsxindex 5cb3c38d9b..01410d2a0b 100644--- a/frontend-modern/src/components/Settings/ProLicensePanel.tsx+++ b/frontend-modern/src/components/Settings/ProLicensePanel.tsx@@ -4,6 +4,8 @@ import { formField, formHelpText, labelClass, controlClass } from '@/components/import { notificationStore } from '@/stores/notifications';import { LicenseAPI, type LicenseStatus } from '@/api/license';import RefreshCw from 'lucide-solid/icons/refresh-cw';+import ShieldCheck from 'lucide-solid/icons/shield-check';+import BadgeCheck from 'lucide-solid/icons/badge-check';const PULSE_PRO_URL = 'https://pulserelay.pro/';const PULSE_PRO_MANAGE_URL = 'https://pulserelay.pro/manage';@@ -155,6 +157,7 @@ export const ProLicensePanel: Component = () => {<SettingsPaneltitle="Pulse Pro License"description="Activate your Pulse Pro license to unlock auto-fix, alert-triggered AI, and advanced features."+ icon={<ShieldCheck class="w-5 h-5" />}action={<buttonclass="inline-flex items-center gap-2 px-3 py-1.5 text-xs font-medium rounded-md border border-gray-300 dark:border-gray-700 text-gray-700 dark:text-gray-200 hover:bg-gray-100 dark:hover:bg-gray-800 transition-colors disabled:opacity-60"@@ -202,6 +205,7 @@ export const ProLicensePanel: Component = () => {<SettingsPaneltitle="Current License"description="Review your active tier, expiry, and available features."+ icon={<BadgeCheck class="w-5 h-5" />}><Show when={!loading()} fallback={<p class="text-sm text-gray-500">Loading license status...</p>}><div class="flex flex-wrap items-center gap-2">diff --git a/frontend-modern/src/components/Settings/UnifiedAgents.tsx b/frontend-modern/src/components/Settings/UnifiedAgents.tsxindex a0bcd85438..b0426e6f59 100644--- a/frontend-modern/src/components/Settings/UnifiedAgents.tsx+++ b/frontend-modern/src/components/Settings/UnifiedAgents.tsx@@ -2,6 +2,9 @@ import { Component, createSignal, Show, For, onMount, createEffect, createMemo }import { useNavigate } from '@solidjs/router';import { useWebSocket } from '@/App';import { Card } from '@/components/shared/Card';+import SettingsPanel from '@/components/shared/SettingsPanel';+import Server from 'lucide-solid/icons/server';+import Users from 'lucide-solid/icons/users';import { ProxmoxIcon } from '@/components/icons/ProxmoxIcon';import { formatRelativeTime, formatAbsoluteTime } from '@/utils/format';import { MonitoringAPI } from '@/api/monitoring';@@ -811,13 +814,12 @@ export const UnifiedAgents: Component = () => {return (<div class="space-y-6">- <Card padding="lg" class="space-y-5">- <div class="space-y-1">- <h3 class="text-base font-semibold text-gray-900 dark:text-gray-100">Add a unified agent</h3>- <p class="text-sm text-gray-600 dark:text-gray-400">- Monitor server metrics (CPU, RAM, Disk) and Docker containers with a single agent.- </p>- </div>+ <SettingsPanel+ title="Add a unified agent"+ description="Monitor server metrics (CPU, RAM, Disk) and Docker containers with a single agent."+ icon={<Server class="w-5 h-5" strokeWidth={2} />}+ bodyClass="space-y-5"+ ><div class="rounded-lg border border-emerald-200 bg-emerald-50 px-4 py-3 text-sm text-emerald-900 dark:border-emerald-700 dark:bg-emerald-900/20 dark:text-emerald-100"><div class="flex items-start gap-3">@@ -1192,15 +1194,14 @@ export const UnifiedAgents: Component = () => {</div></div></div>- </Card>-- <Card padding="lg" class="space-y-4">- <div class="space-y-1">- <h3 class="text-base font-semibold text-gray-900 dark:text-gray-100">Managed Agents</h3>- <p class="text-sm text-gray-600 dark:text-gray-400">- All active and removed agents, including Kubernetes clusters.- </p>- </div>+ </SettingsPanel>++ <SettingsPanel+ title="Managed Agents"+ description="All active and removed agents, including Kubernetes clusters."+ icon={<Users class="w-5 h-5" strokeWidth={2} />}+ bodyClass="space-y-4"+ ><Show when={hasLinkedAgents()}><div class="flex items-start gap-2 rounded-lg border border-blue-200 bg-blue-50 px-3 py-2 dark:border-blue-800 dark:bg-blue-900/20">@@ -1661,7 +1662,7 @@ export const UnifiedAgents: Component = () => {</tbody></table></Card>- </Card>+ </SettingsPanel></div >);};