Skip to content

Commit 6b0f858

Browse files
committed
All dashboard blueprints initial
0 parents  commit 6b0f858

13 files changed

+635
-0
lines changed

__pycache__/app.cpython-37.pyc

412 Bytes
Binary file not shown.

app.py

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
#!/usr/bin/env python3
2+
# -*- coding: utf-8 -*-
3+
"""
4+
Created on Wed Dec 5 15:51:51 2018
5+
6+
@author: jarvis
7+
"""
8+
9+
import dash
10+
11+
external_stylesheets = ['https://codepen.io/chriddyp/pen/bWLwgP.css']
12+
13+
app = dash.Dash(__name__, external_stylesheets=external_stylesheets)
14+
server = app.server
15+
app.config.suppress_callback_exceptions = True

apps/ALD.py

+56
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
#!/usr/bin/env python3
2+
# -*- coding: utf-8 -*-
3+
"""
4+
Created on Wed Dec 5 23:02:49 2018
5+
6+
@author: jarvis
7+
"""
8+
9+
import plotly.graph_objs as go
10+
from dash.dependencies import Input,State,Event,Output
11+
import dash_core_components as dcc
12+
import dash_html_components as html
13+
from datetime import datetime as dt
14+
15+
from app import app
16+
17+
colors = {
18+
'background': '#111111',
19+
'text': '#7FDBFF'
20+
}
21+
22+
layout = html.Div(style={'backgroundColor': colors['background']}, children=[
23+
#first row
24+
html.Div([
25+
html.H2(
26+
children='iDelDash',
27+
style={
28+
'textAlign': 'center',
29+
'color': colors['text']
30+
}
31+
)
32+
],className='row'),
33+
html.Div([
34+
html.Div([
35+
dcc.Link('General & Labor', href='/apps/GLA'),
36+
],className = 'two columns'),
37+
38+
html.Div([
39+
dcc.Link('Delivery & Vitals', href='/apps/DVA'),
40+
],className = 'two columns'),
41+
html.Div([
42+
dcc.Link('NTSV-C Section', href='/apps/NTC'),
43+
],className = 'two columns'),
44+
html.Div([
45+
dcc.Link('Neonatal', href='/apps/NEO'),
46+
],className = 'two columns'),
47+
html.Div([
48+
dcc.Link('All Deliveries', href='/apps/ALD'),
49+
],className = 'two columns'),
50+
html.Div([
51+
dcc.Link('Overall Performance', href='/apps/OVP'),
52+
],className = 'two columns'),
53+
],className = 'row'),
54+
55+
#layout-close
56+
])

apps/DVA.py

+49
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
#Deliveries and Vitals Analyser
2+
import plotly.graph_objs as go
3+
from dash.dependencies import Input,State,Event,Output
4+
import dash_core_components as dcc
5+
import dash_html_components as html
6+
from datetime import datetime as dt
7+
8+
from app import app
9+
10+
colors = {
11+
'background': '#111111',
12+
'text': '#7FDBFF'
13+
}
14+
15+
layout = html.Div(style={'backgroundColor': colors['background']}, children=[
16+
#first row
17+
html.Div([
18+
html.H2(
19+
children='iDelDash',
20+
style={
21+
'textAlign': 'center',
22+
'color': colors['text']
23+
}
24+
)
25+
],className='row'),
26+
html.Div([
27+
html.Div([
28+
dcc.Link('General & Labor', href='/apps/GLA'),
29+
],className = 'two columns'),
30+
31+
html.Div([
32+
dcc.Link('Delivery & Vitals', href='/apps/DVA'),
33+
],className = 'two columns'),
34+
html.Div([
35+
dcc.Link('NTSV-C Section', href='/apps/NTC'),
36+
],className = 'two columns'),
37+
html.Div([
38+
dcc.Link('Neonatal', href='/apps/NEO'),
39+
],className = 'two columns'),
40+
html.Div([
41+
dcc.Link('All Deliveries', href='/apps/ALD'),
42+
],className = 'two columns'),
43+
html.Div([
44+
dcc.Link('Overall Performance', href='/apps/OVP'),
45+
],className = 'two columns'),
46+
],className = 'row'),
47+
48+
#layout-close
49+
])

0 commit comments

Comments
 (0)