akkudoktoreos.server.dash.components.Page
- akkudoktoreos.server.dash.components.Page(title: str | None, dashboard_items: dict[str, str], content: ~typing.Any, footer_content: ~typing.Any, footer_path: str) -> functools.partial(<function ft_hx at 0x72adcaf758a0>, 'div')
Generates a full-page layout with a header, dashboard items, content, and footer.
- Parameters:
title (Optional[str]) – The page title.
dashboard_items (dict[str, str]) – A dictionary of dashboard items.
content (Any) – The main content for the page.
footer_content (Any) – Footer content.
footer_path (Any) – Path to reload footer content from.
- Returns:
A Div element representing the entire page layout.
- Return type:
Div