-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTool.py
38 lines (33 loc) · 983 Bytes
/
Tool.py
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
32
33
34
35
36
37
import dash_html_components as html
import dash_bootstrap_components as dbc
import warnings
import Tab1
import Tab2
import Tab3
import App
warnings.simplefilter(action='ignore', category=FutureWarning)
# Init the app here, use app.get_instance to get the instance app
app = App.App.get_instance()
app.dash_app.layout = html.Div(
children=[
# Tabs-environment:
dbc.Navbar(
color="secondary",
dark=True,
style={'height': '64px'},
children=[
html.H2('SMS Group')
]
),
dbc.Tabs(style={'fontWeight': 'bold', 'font-size': 24, 'font-family': 'Courier New'},
children=[
Tab1.layout(),
Tab2.layout(),
Tab3.layout()
])
]
)
# START APP:
if __name__ == '__main__':
#app.dash_app.run_server(debug=True)
app.dash_app.run_server(port=8050, debug=True, use_reloader=False)