lilferrit's picture
basic web-app implementation
dfa545b
raw
history blame
466 Bytes
import dash_bootstrap_components as dbc
import dash
from eggcount.ui.ui_utils import (
get_navbar
)
from dash import Dash, html, dcc
app = Dash(
__name__,
use_pages = True,
external_stylesheets=[dbc.themes.BOOTSTRAP]
)
app.layout = dbc.Container(
children = [
get_navbar(),
dash.page_container
],
class_name = "m-0 p-0 w-100 mw-100",
id = "content-container"
)
if __name__ == '__main__':
app.run(debug = True)