this should functianally work

This commit is contained in:
2025-09-11 05:49:26 +02:00
parent 474482a752
commit a601fb414c
4 changed files with 60 additions and 5 deletions

View File

@ -11,6 +11,7 @@ from dotenv import load_dotenv
load_dotenv()
config_file = "./config.json"
BS = "https://cdn.jsdelivr.net/npm/bootstrap@5.3.6/dist/css/bootstrap.min.css"
with open(config_file) as config_f:
config=load(config_f)
@ -21,7 +22,7 @@ def main() -> None:
# load the data and create the data manager
data = load_mtbf_data("data/blank.csv")
app = Dash(external_stylesheets=[dbc.themes.LUX])
app = Dash(external_stylesheets=[BS])
app.title = "Reliability Dashboard"
app.layout = create_layout(app, data)
app.run()