feat: add labels to nodes in monitoring

This commit is contained in:
2025-09-20 22:13:39 +02:00
parent 491ddb86b8
commit 9d4b68e7fc
2 changed files with 95 additions and 5 deletions

View File

@@ -4248,10 +4248,49 @@ html {
font-family: 'Courier New', monospace;
}
.ip-label {
color: var(--text-tertiary);
font-size: 0.75rem;
font-weight: 500;
opacity: 0.8;
margin-right: 0.25rem;
}
.node-status {
margin-bottom: 0.75rem;
}
.node-labels {
margin-bottom: 0.75rem;
}
.labels-container {
display: flex;
flex-wrap: wrap;
gap: 0.35rem;
margin-bottom: 0.5rem;
}
.labels-divider {
height: 1px;
background: var(--border-primary);
margin: 0.5rem 0;
opacity: 0.3;
}
.label-chip {
display: inline-flex;
align-items: center;
font-size: 0.75rem;
padding: 0.25rem 0.5rem;
border-radius: 9999px;
background: rgba(30, 58, 138, 0.35);
border: 1px solid rgba(59, 130, 246, 0.4);
color: #dbeafe;
white-space: nowrap;
font-family: inherit;
}
.node-uptime {
display: flex;
justify-content: space-between;
@@ -4385,6 +4424,27 @@ html {
font-weight: 600;
}
.value-label {
color: var(--text-secondary);
font-size: 0.8rem;
font-weight: 500;
opacity: 0.8;
}
.error-label {
color: var(--text-secondary);
font-size: 0.8rem;
font-weight: 500;
opacity: 0.8;
margin-bottom: 0.25rem;
}
.error-message {
color: var(--text-primary);
font-size: 0.875rem;
font-style: italic;
}
.resource-utilization {
display: flex;
align-items: center;