Skip to content

web: settings-page edit-on-demand rows, wider layout; login branding

Aiho Tehisaru requested to merge fix/settings-edit-toggle-login-branding into trunk

Summary

Follow-up feedback on the !13 (merged) UI redesign:

  1. 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.
  2. 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.go must not depend on internal/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)

🤖 Generated with Claude Code

https://claude.ai/code/session_01U9buZPRQy7YXLodkSPFFik

Merge request reports

Loading