Skip to content

Commit 8191c91

Browse files
committed
add OVP
1 parent 3815236 commit 8191c91

23 files changed

+379
-373
lines changed

apps/ALD.py

-56
This file was deleted.

apps/DVA.py

+9-5
Original file line numberDiff line numberDiff line change
@@ -46,15 +46,18 @@
4646
#first row
4747
html.Div([
4848
html.H2(
49-
children='iDelDash',
49+
children='DelDash',
5050
style={
5151
'textAlign': 'center',
5252
'color': colors['text']
5353
}
5454
)
5555
],className='row'),
5656
#second row
57-
html.Div([
57+
html.Div([
58+
html.Div([
59+
60+
],className='one columns'),
5861
html.Div([
5962
dcc.Link('General & Labor', href='/apps/GLA'),
6063
],className = 'two columns'),
@@ -69,12 +72,13 @@
6972
dcc.Link('NTSV-C Section', href='/apps/NTC'),
7073
],className = 'two columns'),
7174
html.Div([
72-
dcc.Link('All Deliveries', href='/apps/ALD'),
75+
dcc.Link('Performance Metrics', href='/apps/OVP'),
7376
],className = 'two columns'),
7477
html.Div([
75-
dcc.Link('Overall Performance', href='/apps/OVP'),
76-
],className = 'two columns'),
78+
79+
],className='one columns'),
7780
],className = 'row'),
81+
7882
html.Br(),
7983
#third row
8084
html.Div([

apps/GLA.py

+9-4
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
#first row
2626
html.Div([
2727
html.H2(
28-
children='iDelDash',
28+
children='DelDash',
2929
style={
3030
'textAlign': 'center',
3131
'color': colors['text']
@@ -34,6 +34,9 @@
3434
],className='row'),
3535
#second row
3636
html.Div([
37+
html.Div([
38+
39+
],className='one columns'),
3740
html.Div([
3841
dcc.Link('General & Labor', href='/apps/GLA'),
3942
],className = 'two columns'),
@@ -48,12 +51,14 @@
4851
dcc.Link('NTSV-C Section', href='/apps/NTC'),
4952
],className = 'two columns'),
5053
html.Div([
51-
dcc.Link('All Deliveries', href='/apps/ALD'),
54+
dcc.Link('Performance Metrics', href='/apps/OVP'),
5255
],className = 'two columns'),
5356
html.Div([
54-
dcc.Link('Overall Performance', href='/apps/OVP'),
55-
],className = 'two columns'),
57+
58+
],className='one columns'),
5659
],className = 'row'),
60+
61+
5762
html.Br(),
5863
#third row
5964
html.Div([

apps/NTC.py

+52-13
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
1-
#!/usr/bin/env python3
2-
# -*- coding: utf-8 -*-
3-
"""
4-
Created on Wed Dec 5 23:01:44 2018
5-
6-
@author: jarvis
7-
"""
1+
#NTSV C-Sections
2+
import dash_table
3+
import pandas as pd
84

95
import plotly.graph_objs as go
106
from dash.dependencies import Input,State,Event,Output
@@ -14,6 +10,8 @@
1410

1511
from app import app
1612

13+
df = pd.read_csv('apps/test/test-dataset/EMR.csv')
14+
1715
colors = {
1816
'background': '#111111',
1917
'text': '#7FDBFF'
@@ -23,15 +21,18 @@
2321
#first row
2422
html.Div([
2523
html.H2(
26-
children='iDelDash',
24+
children='DelDash',
2725
style={
2826
'textAlign': 'center',
2927
'color': colors['text']
3028
}
3129
)
3230
],className='row'),
3331
#second row
34-
html.Div([
32+
html.Div([
33+
html.Div([
34+
35+
],className='one columns'),
3536
html.Div([
3637
dcc.Link('General & Labor', href='/apps/GLA'),
3738
],className = 'two columns'),
@@ -46,14 +47,52 @@
4647
dcc.Link('NTSV-C Section', href='/apps/NTC'),
4748
],className = 'two columns'),
4849
html.Div([
49-
dcc.Link('All Deliveries', href='/apps/ALD'),
50+
dcc.Link('Performance Metrics', href='/apps/OVP'),
5051
],className = 'two columns'),
5152
html.Div([
52-
dcc.Link('Overall Performance', href='/apps/OVP'),
53-
],className = 'two columns'),
53+
54+
],className='one columns'),
5455
],className = 'row'),
56+
html.Br(),
5557
#third row
58+
html.Div([
59+
60+
html.Div([
61+
62+
],className='one columns'),
63+
64+
html.Div([
65+
dcc.Upload(
66+
id='datatable-upload-NTSV',
67+
children=html.Div([
68+
'Drag and Drop or ',
69+
html.A('Select Files')
70+
]),
71+
style={
72+
'width': '100%', 'height': '60px', 'lineHeight': '60px',
73+
'borderWidth': '1px', 'borderStyle': 'dashed',
74+
'borderRadius': '5px', 'textAlign': 'center', 'margin': '10px','color':colors['text']
75+
},
76+
)
77+
],className = 'eleven columns')
78+
79+
],className='row'),html.Br(),
80+
#fourth row
81+
html.Div([
82+
83+
dash_table.DataTable(
84+
id='table',
85+
columns=[{"name": i, "id": i} for i in df.columns],
86+
data=df.to_dict("rows"),
87+
style_header={'backgroundColor': 'rgb(30, 30, 30)'},
88+
style_cell={
89+
'backgroundColor': 'rgb(50, 50, 50)',
90+
'color': 'white'
91+
},
92+
)
93+
],className='row'),html.Br(),html.Br(),html.Br(),html.Br(),html.Br(),html.Br()
94+
5695

5796

5897
#layout-close
59-
])
98+
])

0 commit comments

Comments
 (0)