Add container/VM autodiscovery, optional username in config, and management scripts
This commit is contained in:
@@ -288,6 +288,70 @@ main {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
/* --- Container / VM Sub-cards --- */
|
||||
|
||||
.container-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.container-card {
|
||||
background: #1e293b;
|
||||
border: 1px solid #334155;
|
||||
border-radius: 8px;
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
.container-card.offline {
|
||||
opacity: 0.6;
|
||||
}
|
||||
|
||||
.ct-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
|
||||
.ct-name {
|
||||
font-weight: 600;
|
||||
font-size: 0.85rem;
|
||||
color: #f1f5f9;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.ct-type {
|
||||
font-size: 0.6rem;
|
||||
font-weight: 600;
|
||||
color: #64748b;
|
||||
background: #334155;
|
||||
padding: 1px 5px;
|
||||
border-radius: 3px;
|
||||
letter-spacing: 0.05em;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.ct-details {
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
font-size: 0.75rem;
|
||||
color: #94a3b8;
|
||||
margin-bottom: 6px;
|
||||
}
|
||||
|
||||
.ct-ip {
|
||||
font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
|
||||
}
|
||||
|
||||
.ct-status-label {
|
||||
color: #64748b;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
/* --- Empty State --- */
|
||||
|
||||
.empty-state {
|
||||
|
||||
Reference in New Issue
Block a user