web: settings-page edit-on-demand rows, wider layout; login branding
Summary
Follow-up feedback on the !13 (merged) UI redesign:
- Proxmox settings table: every row was permanently in edit mode (five input boxes + Save/Delete, always visible) even for environments nobody was touching. Rows now default to a compact read-only view with an Edit button; clicking it reveals the inputs in place via a small inline script (pure UI-state toggle — nothing is submitted until Save, and the token field only ever appears once editing, never showing a stored value). Cancel reverts without a round trip. Shell/topbar widened (1100px → 1240px) so the table has room, and actions (Edit/Save/Cancel/Delete) render as one inline button row instead of wrapping.
-
Login page: the plain gradient square is now a small inline
rack-unit SVG glyph (kept fully self-contained, no external asset —
internal/auth/template.gomust not depend oninternal/web), and the "Rax" wordmark is bolder/larger. The SSO link now reads "Login with KLab Auth" with a small monogram icon, instead of the generic "Sign in with SSO".
(Note: this was originally pushed as a second commit onto the
feature/modern-ui branch, not realizing MR !13 (merged) had already merged —
re-based cleanly onto current trunk as this new MR instead.)
Test plan
-
gofmt -s -w . && gofmt -l . && go build ./... && go vet ./... && go test ./...— clean -
Ran the built binary locally: confirmed the settings page renders read-only rows correctly (Edit/Save/Cancel/Delete inline, no token leaked, inputs present but hidden until Edit) and the login page renders both the new brand-mark SVG and the "Login with KLab Auth" SSO button with icon (verified via a direct template-render check, since a live OIDC provider wasn't available to click through end to end)