diff --git a/py-scripts/sandbox/lf_qa.py b/py-scripts/sandbox/lf_qa.py index 7c09e87a..86c142cb 100755 --- a/py-scripts/sandbox/lf_qa.py +++ b/py-scripts/sandbox/lf_qa.py @@ -170,6 +170,7 @@ class csv_sqlite_dash(): """ path = Path(self.path) kpi_chart_list= list(path.glob('**/kpi-chart*.png')) # Hard code for now + table_index = 0 for kpi_chart in kpi_chart_list: parent_path = os.path.dirname(kpi_chart) kpi_path = os.path.join(parent_path,"kpi.csv") @@ -178,17 +179,24 @@ class csv_sqlite_dash(): kpi_chart = self.server + kpi_chart.replace('/home/lanforge/','') if "print" in kpi_chart: pass - else: + else: + if (table_index %2) == 0: + kpi_chart_html += """""" kpi_chart_html += """ - + +

{} {}

+ - - """.format(kpi_chart,kpi_chart,kpi_chart) - + """.format(test_tag,test_id,kpi_chart,kpi_chart,kpi_chart) + table_index += 1 + if (table_index %2) == 0: + kpi_chart_html += """""" + if (table_index %2) != 0: + kpi_chart_html += """""" kpi_chart_html += """""" return kpi_chart_html