Add custom peer IP/DNS, inline config view with copy, breadcrumbs, form validation errors

Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
This commit is contained in:
lofyer
2026-07-04 07:43:26 +08:00
co-authored by factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
parent c4dc22074e
commit 628246c5c5
11 changed files with 95 additions and 13 deletions
+13
View File
@@ -71,6 +71,19 @@ input {
}
.add-peer { display: flex; gap: 0.5rem; align-items: center; margin-bottom: 0.25rem; flex-wrap: wrap; }
input.narrow { width: 80px; }
input.mid { width: 160px; }
.breadcrumbs { margin-bottom: 1rem; font-size: 0.85rem; color: #6b7280; }
.breadcrumbs a { color: #2563eb; text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.config-card { margin-top: 1rem; }
.config-card pre {
background: #1f2430;
color: #d6e2ff;
padding: 1rem;
border-radius: 6px;
overflow-x: auto;
font-size: 0.85rem;
}
form.stack label { display: block; margin-bottom: 0.5rem; }
form.stack { margin-top: 0.75rem; }