ct_us_004.json : syntax update

kpi_csv_sq.py : dash is containerized and file access needs to be done via
a server

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
This commit is contained in:
Chuck SmileyRekiere
2021-08-03 20:35:44 -06:00
parent 7dc362016c
commit 55c3d7c7a6
2 changed files with 12 additions and 3 deletions

View File

@@ -115,6 +115,15 @@ for test_tag in test_tag_list:
# for now it was designed if there is a kpi.csv then there is an index.html
#https://dash.plotly.com/urls
#html_src = os.path.join(kpi_path[0],"index.html")
# need to have a share available
#local_share = 'file://LAPTOP-T8B2MBJD/Users/chuck/git/lanforge-scripts/py-scripts/sandbox/lf_check_2'
local_share = 'file://LAPTOP-T8B2MBJD/Users/chuck/git/lanforge-scripts/py-scripts/sandbox/'
html_src = os.path.join(local_share,kpi_path[0],"index.html")
#children_div.append(html.A('link{}'.format(i), href='http://192.168.95.6/html-reports/lf_check--2021-08-03-12-47-01.html', target='_blank'))
children_div.append(html.A(html_src, href=html_src, target='_blank'))
#children_div.append(html.Br())
#children_div.append(html.A('Navigate to google.com {}'.format(i), href='http://google.com', target='_blank'))
#children_div.append(dcc.Location(id='dog',refresh=False))
#children_div.append(dcc.Link('Link', href=html_src, target="_blank" ))
# can add other information