Skip to content

armgit / Pulse

Public Imported from GitHub
0

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.

Use canonical green color for LXC Docker host badge

rcourtman474ba326b813
diff --git a/frontend-modern/src/utils/resourceBadgePresentation.ts b/frontend-modern/src/utils/resourceBadgePresentation.ts
index d74f2e8643..7097f4ca5c 100644
--- a/frontend-modern/src/utils/resourceBadgePresentation.ts
+++ b/frontend-modern/src/utils/resourceBadgePresentation.ts
@@ -15,6 +15,7 @@ import {
canonicalResourceTypeForDisplay,
getResourceTypePresentation,
} from '@/utils/resourceTypePresentation';
+import { getWorkloadTypePresentation } from '@/utils/workloadTypePresentation';
export interface ResourceBadge {
label: string;
@@ -580,7 +581,7 @@ const proxmoxLxcDockerBadge = (resource: Resource): ResourceBadge | null => {
const label = vmid !== null ? `LXC ${vmid}` : 'LXC';
return {
label,
- classes: `${baseBadge} bg-amber-100 text-amber-700 dark:bg-amber-900/40 dark:text-amber-300`,
+ classes: `${baseBadge} ${getWorkloadTypePresentation('system-container').className}`,
title: vmid !== null
? `Docker running inside Proxmox LXC ${vmid}`
: 'Docker running inside a Proxmox LXC',