Add server links management and timeout guard for VM/container discovery
All checks were successful
Build-Publish / build (linux/amd64) (push) Successful in 5s
Build-Publish / build (linux/arm64) (push) Successful in 13s
Build-Publish / create-manifest (push) Successful in 2s
Build-Publish / publish-template (push) Successful in 15s

This commit is contained in:
j
2026-03-08 20:26:07 +13:00
parent 7d7cd25518
commit d9d7662d8c
4 changed files with 200 additions and 6 deletions

View File

@@ -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 {