{{/* Settings surface — matches switchboard-prototype-settings.jsx. Full-page layout: topbar + left nav + content area. JS (settings-handlers.js, ui-settings.js) populates dynamic sections. */}} {{define "surface-settings"}}
{{/* Top Bar */}}
Back
Settings
{{/* Left Nav */}}
{{$section := .Section}} {{$base := .BasePath}} General Appearance Models Personas Profile Teams {{/* BYOK-gated nav items */}} {{/* BYOK indicator */}}
{{/* Content */}}

{{if eq .Section "general"}}General{{else if eq .Section "appearance"}}Appearance{{else if eq .Section "models"}}Models{{else if eq .Section "personas"}}Personas{{else if eq .Section "profile"}}Profile{{else if eq .Section "teams"}}Teams{{else if eq .Section "providers"}}My Providers{{else if eq .Section "roles"}}Model Roles{{else if eq .Section "usage"}}My Usage{{else if eq .Section "knowledge"}}Knowledge Bases{{else if eq .Section "memory"}}Memory{{else if eq .Section "notifications"}}Notifications{{else}}Settings{{end}}

{{if eq .Section "general"}}

Chat Defaults

0.7
{{else if eq .Section "appearance"}}

Theme

UI Scale

100%

Message Font Size

14px
{{else if eq .Section "profile"}}

Profile

Change Password

{{else if eq .Section "providers"}}
Loading providers…
{{else if eq .Section "personas"}}
Loading personas…
{{else if eq .Section "models"}}
Loading models…
{{else if eq .Section "roles"}}
{{else if eq .Section "usage"}}
{{else if eq .Section "teams"}}
Loading teams…
{{else}}
Loading…
{{end}}
{{end}} {{/* CSS: loaded via base.html (variables, layout, primitives, modals, chat, panels, surfaces, splash) */}} {{define "css-settings"}}{{end}} {{/* Scripts */}} {{define "scripts-settings"}} {{end}}