pdf reportes v2

parent 5e01a1cb
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
</span> </span>
</a> </a>
</li> </li>
{% if folders %}
<li class="treeview"> <li class="treeview">
<a href="#"> <a href="#">
<i class="fa fa-file-archive-o"></i> <i class="fa fa-file-archive-o"></i>
...@@ -33,6 +33,19 @@ ...@@ -33,6 +33,19 @@
{% endfor %} {% endfor %}
</ul> </ul>
</li> </li>
{% else %}
<li>
<a class="treeview " href="#" onclick="showGraph()">
<i class="fa fa-eye showChart"></i>
<i class="fa fa-eye-slash hideChart" style="display:none"></i>
<span class="showChart">Show Chart</span>
<span class="hideChart" style="display:none">Hide Chart</span>
<span class="pull-right-container">
<span class="label label-primary pull-right"></span>
</span>
</a>
</li>
{% endif %}
<li class="treeview"> <li class="treeview">
<a href="#"> <a href="#">
<i class="fa fa-area-chart"></i> <i class="fa fa-area-chart"></i>
...@@ -155,17 +168,7 @@ ...@@ -155,17 +168,7 @@
</span> </span>
</a> </a>
</li> </li>
<li>
<a class="treeview " href="#" onclick="showGraph()">
<i class="fa fa-eye showChart"></i>
<i class="fa fa-eye-slash hideChart" style="display:none"></i>
<span class="showChart">Show Chart</span>
<span class="hideChart" style="display:none">Hide Chart</span>
<span class="pull-right-container">
<span class="label label-primary pull-right"></span>
</span>
</a>
</li>
<!-- <li> <!-- <li>
<a class="treeview " href="#" onclick="showComparisons()"> <a class="treeview " href="#" onclick="showComparisons()">
<i class="fa fa-eye showImage"></i> <i class="fa fa-eye showImage"></i>
......
...@@ -41,7 +41,7 @@ def report_L2ASCL(request, report, purchase_id): ...@@ -41,7 +41,7 @@ def report_L2ASCL(request, report, purchase_id):
dataProduct['endDate'])[6:8] dataProduct['endDate'])[6:8]
graphData, label, defaultLabel, defaultDataset,datasets = ProcessChartData(scl_data_path) graphData, label, defaultLabel, defaultDataset,datasets = ProcessChartData(scl_data_path)
print(datasets) #print(datasets)
if report == 'scl_data': if report == 'scl_data':
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment