Skip to main content

Module admin_ui

Module admin_ui 

Source
Expand description

Embedded admin dashboard (enterprise#45) — the org monitoring console served from the gateway’s admin port.

Everything is compiled into the binary (include_str!/include_bytes!, same rule as the Context Cockpit): no CDN, no build step, renders offline and inside airgapped clusters. Fonts and the vendored Chart.js are shared with the cockpit sources so both surfaces stay visually identical.

Auth split: this router serves only the static shell (login screen) and is mounted outside the Bearer middleware — every number the shell renders comes from the /api/admin/* endpoints, which stay guarded. The token never appears in a URL; the shell keeps it in sessionStorage.

Functions§

router
Static-shell router. Mounted unguarded (see module docs).