akkudoktoreos.server.dash.components

Functions

ConfigButton(*c, cls, **kwargs)

Creates a styled button for configuration actions.

ConfigCard(config_name, config_type, ...[, ...])

Creates a styled configuration card for displaying configuration details.

DashboardContent(content)

Creates a content section within a styled card.

DashboardFooter(*c, path)

Creates a styled footer with the provided information.

DashboardHeader(title)

Creates a styled header with a title.

DashboardTabs(dashboard_items)

Creates a dashboard tab with dynamic dashboard items.

DashboardTrigger(*c, cls, **kwargs)

Creates a styled button for the dashboard trigger.

Error(*c)

JsonView(data)

Render structured data as formatted JSON inside a styled <pre> block.

Page(title, dashboard_items, str], content, ...)

Generates a full-page layout with a header, dashboard items, content, and footer.

ScrollArea(*c, cls, orientation, **kwargs)

Creates a styled scroll area.

Success(*c)

TextView(*c, cls, **kwargs)

Render plain text with preserved line breaks and wrapped long lines.

make_config_update_form()

Factory for a form that sets a single configuration value.

make_config_update_list_form(available_values)

Factory function that creates a ConfigUpdateListForm with pre-set available values.

make_config_update_map_form([...])

Factory function that creates a ConfigUpdateMapForm.

make_config_update_value_form(available_values)

Factory for a form that sets a single configuration value with pre-set avaliable values.