File size: 466 Bytes
dfa545b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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)