feat: auto-discovery

This commit is contained in:
2025-08-25 12:05:51 +02:00
parent f72e4ba220
commit 5977a37d6c
8 changed files with 552 additions and 3 deletions

View File

@@ -48,6 +48,88 @@ p {
/* Placeholder for future content if needed */
}
.primary-node-info {
display: flex;
align-items: center;
gap: 0.5rem;
padding: 0.5rem 1rem;
background: rgba(255, 255, 255, 0.05);
border-radius: 8px;
border: 1px solid rgba(255, 255, 255, 0.1);
backdrop-filter: blur(10px);
}
.primary-node-label {
font-size: 0.9rem;
color: rgba(255, 255, 255, 0.7);
font-weight: 500;
}
.primary-node-ip {
font-size: 0.9rem;
color: #4ade80;
font-weight: 600;
font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
padding: 0.25rem 0.5rem;
background: rgba(74, 222, 128, 0.1);
border-radius: 4px;
border: 1px solid rgba(74, 222, 128, 0.2);
}
.primary-node-ip.discovering {
color: #fbbf24;
background: rgba(251, 191, 36, 0.1);
border-color: rgba(251, 191, 36, 0.2);
}
.primary-node-ip.error {
color: #f87171;
background: rgba(248, 113, 113, 0.1);
border-color: rgba(248, 113, 113, 0.2);
margin: 0;
padding: 0.25rem 0.5rem;
}
.primary-node-ip.selecting {
color: #8b5cf6;
background: rgba(139, 92, 246, 0.1);
border-color: rgba(139, 92, 246, 0.2);
animation: pulse 1.5s ease-in-out infinite alternate;
}
@keyframes pulse {
from {
opacity: 1;
transform: scale(1);
}
to {
opacity: 0.7;
transform: scale(1.05);
}
}
.primary-node-refresh {
background: none;
border: none;
color: rgba(255, 255, 255, 0.6);
cursor: pointer;
padding: 0.25rem;
border-radius: 4px;
transition: all 0.2s ease;
display: flex;
align-items: center;
justify-content: center;
}
.primary-node-refresh:hover {
color: rgba(255, 255, 255, 0.9);
background: rgba(255, 255, 255, 0.1);
}
.primary-node-refresh:active {
transform: scale(0.95);
}
.firmware-header {
display: flex;
justify-content: space-between;