Add server links management and timeout guard for VM/container discovery
This commit is contained in:
@@ -194,6 +194,30 @@ main {
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
/* --- Service Links (summary card) --- */
|
||||
|
||||
.service-links {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 4px;
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
|
||||
.service-link {
|
||||
font-size: 0.65rem;
|
||||
color: #3b82f6;
|
||||
background: #1e3a5f;
|
||||
padding: 1px 6px;
|
||||
border-radius: 3px;
|
||||
text-decoration: none;
|
||||
transition: background 0.2s;
|
||||
}
|
||||
|
||||
.service-link:hover {
|
||||
background: #2563eb;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.server-hw {
|
||||
font-size: 0.7rem;
|
||||
color: #475569;
|
||||
@@ -371,6 +395,88 @@ main {
|
||||
color: #475569;
|
||||
}
|
||||
|
||||
/* --- Links Editor (details) --- */
|
||||
|
||||
.links-section {
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.links-section h4 {
|
||||
font-size: 0.75rem;
|
||||
font-weight: 600;
|
||||
color: #3b82f6;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.1em;
|
||||
margin-bottom: 6px;
|
||||
}
|
||||
|
||||
.links-list {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 4px;
|
||||
}
|
||||
|
||||
.link-row {
|
||||
display: flex;
|
||||
gap: 6px;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.link-label {
|
||||
width: 120px;
|
||||
background: #0f172a;
|
||||
border: 1px solid #1e3a5f;
|
||||
border-radius: 4px;
|
||||
color: #cbd5e1;
|
||||
font-size: 0.8rem;
|
||||
padding: 4px 8px;
|
||||
}
|
||||
|
||||
.link-url {
|
||||
flex: 1;
|
||||
background: #0f172a;
|
||||
border: 1px solid #1e3a5f;
|
||||
border-radius: 4px;
|
||||
color: #cbd5e1;
|
||||
font-size: 0.8rem;
|
||||
padding: 4px 8px;
|
||||
}
|
||||
|
||||
.link-label:focus, .link-url:focus {
|
||||
outline: none;
|
||||
border-color: #3b82f6;
|
||||
}
|
||||
|
||||
.link-remove {
|
||||
background: none;
|
||||
border: none;
|
||||
color: #64748b;
|
||||
font-size: 1rem;
|
||||
cursor: pointer;
|
||||
padding: 2px 6px;
|
||||
}
|
||||
|
||||
.link-remove:hover {
|
||||
color: #ef4444;
|
||||
}
|
||||
|
||||
.link-add-btn {
|
||||
margin-top: 6px;
|
||||
background: none;
|
||||
border: 1px dashed #334155;
|
||||
border-radius: 4px;
|
||||
color: #64748b;
|
||||
font-size: 0.75rem;
|
||||
padding: 4px 10px;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s;
|
||||
}
|
||||
|
||||
.link-add-btn:hover {
|
||||
border-color: #3b82f6;
|
||||
color: #3b82f6;
|
||||
}
|
||||
|
||||
/* --- Container Summary (on card face) --- */
|
||||
|
||||
.ct-summary-list {
|
||||
|
||||
Reference in New Issue
Block a user