-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsponge.py
More file actions
31 lines (23 loc) · 742 Bytes
/
sponge.py
File metadata and controls
31 lines (23 loc) · 742 Bytes
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
27
28
29
30
31
import dash_core_components as dcc
import dash_html_components as html
import dash_bootstrap_components as dbc
from covid_dashboard import app
from covid_dashboard.Body import Body
from covid_dashboard.header_footer import HeaderFooter
def main():
logo_url = app.get_asset_url("logocss.png")
header_line = HeaderFooter.get_header(logo_url)
# body = Body(df_energy, df, df_distance, df_contacts)
body = Body()
app.layout = dbc.Container(
[
html.Div(id='size', style={"display": "none"}),
dcc.Location(id='url'),
dbc.Row(header_line),
body.build_layout()
],
fluid=True
)
app.run_server(debug=True)
if __name__ == '__main__':
main()