{# SETTINGS center view (R4a). A full center pane (like the agent-detail view): a header + a left sub-nav of 4 tabs (Configure · Providers & Models · Cortex · System) and a scrollable content body. Defaults to System (the only functional tab in R4a); the other three render a clean labeled "coming next" placeholder. Sub-nav switching is a client-side HTMX swap of just the content body (#settings-body) via GET /settings/{page}?project=…, so the header + sub-nav stay put. The active tab + the parent top-bar "Settings" nav highlight are handled by the shell's syncNav (this root carries data-active-view="settings"). Context: settings_page : which sub-tab is active ("system" default) settings_tabs : ordered [{id,label,soon}] for the sub-nav selected_key : current project key (kept on the swap URLs) + whatever the active page partial needs (System: `groups`, `saved`) #}
{# ---------------- header ---------------- #}
Settings
{{ selected_key or "Kaidera OS" }} · console configuration
{# ---------------- left sub-nav (4 tabs) ---------------- #} {# ---------------- content body (sub-tab swap target) ---------------- #}
{% include settings_body_template %}