plesna/dashboard/pages/stage.py

19 lines
423 B
Python
Raw Normal View History

2024-07-28 10:29:14 +00:00
from dash import html, dcc
2024-07-27 17:19:36 +00:00
from ..datalake import stages
from ..libs.stage.stage import AbstractStage
2024-07-28 10:29:14 +00:00
from ..components.lists import html_list_schema
2024-07-27 17:19:36 +00:00
def layout(stage_name=None):
stage = stages[stage_name]
return html.Div([
2024-07-28 10:29:14 +00:00
html.H2(
f"{stage.name}",
className="text-2xl p-4 py-2"
),
html_list_schema(stage)
],
className = "flex flex-col"
)