25 lines
556 B
Python
25 lines
556 B
Python
from dash import html, dcc
|
|
from ..datalake import stages
|
|
from ..libs.stage.stage import AbstractStage
|
|
|
|
|
|
def layout(stage_name=None, schema_name=None):
|
|
stage = stages[stage_name]
|
|
return html.Div([
|
|
html.H2([
|
|
dcc.Link(
|
|
f"{stage.name}",
|
|
href=f"/stage/{stage.name}",
|
|
className="hover:underline"
|
|
),
|
|
html.Span(" > "),
|
|
html.Span(
|
|
f"{schema_name}",
|
|
),
|
|
],
|
|
className="text-2xl p-4 py-2"
|
|
|
|
),
|
|
])
|
|
|