yera.ui.sessions_sidebar
Functions for rendering the sessions sidebar HTML.
Symbols
live_sessions_sidebar_html
live_sessions_sidebar_html(
apps: dict[str, AppFunctionWrapper],
live_by_app: dict[str, list[SessionRecord]],
) → strRender the global sidebar containing only active sessions.
Parameters
apps
type: dict[str, AppFunctionWrapper]
Apps currently available on this server.
live_by_app
type: dict[str, list[SessionRecord]]
Running and waiting sessions grouped by app ID.
Returns
type: str
The complete Live sidebar HTML.