{{/* Admin surface — matches switchboard-prototype-admin.jsx. Full-page layout: topbar (with category tabs) + left nav + content area. JS (admin-handlers.js, ui-admin.js) populates dynamic sections. */}} {{define "surface-admin"}}
{{/* Top Bar */}}
Back to Chat
Administration {{/* Category tabs */}}
{{$section := .Section}} {{$base := .BasePath}} People AI Routing System Monitoring
{{/* Left Nav */}}
{{/* People sections */}} {{if eq $section "users"}}Users {{else}}Users{{end}} {{if eq $section "teams"}}Teams {{else}}Teams{{end}} {{if eq $section "groups"}}Groups {{else}}Groups{{end}}
{{/* Content Area */}}

{{$section}}

{{/* Populated by admin-handlers.js */}}
Loading…
{{/* Create User modal */}} {{/* Reset Password modal */}} {{/* Approve User modal */}} {{/* Create Team modal */}} {{/* Create Group modal */}} {{/* Provider form modal */}} {{/* Persona form modal */}} {{end}} {{/* CSS: loaded via base.html (variables, layout, primitives, modals, chat, panels, surfaces, splash) */}} {{define "css-admin"}}{{end}} {{/* Scripts */}} {{define "scripts-admin"}} {{end}}