Remove no longer needed control data
This commit is contained in:
parent
66921499ad
commit
6e171d19f0
|
@ -73,4 +73,4 @@ def stats():
|
|||
|
||||
script, charts = components((plot, pie))
|
||||
return render_template("stats.html", js_resources=INLINE.render_js(), css_resources=INLINE.render_css(),
|
||||
chart_data=script, charts=charts, chart_count=len(charts))
|
||||
chart_data=script, charts=charts)
|
||||
|
|
|
@ -18,9 +18,9 @@
|
|||
</h5>
|
||||
|
||||
<div id="charts-wrapper">
|
||||
{% for index in range(chart_count) %}
|
||||
{% for chart in charts %}
|
||||
<div class="chart-container">
|
||||
{{ charts[index]|indent(12)|safe }}
|
||||
{{ chart|indent(12)|safe }}
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue