mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
Remove no longer needed control data
This commit is contained in:
@@ -73,4 +73,4 @@ def stats():
|
|||||||
|
|
||||||
script, charts = components((plot, pie))
|
script, charts = components((plot, pie))
|
||||||
return render_template("stats.html", js_resources=INLINE.render_js(), css_resources=INLINE.render_css(),
|
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>
|
</h5>
|
||||||
|
|
||||||
<div id="charts-wrapper">
|
<div id="charts-wrapper">
|
||||||
{% for index in range(chart_count) %}
|
{% for chart in charts %}
|
||||||
<div class="chart-container">
|
<div class="chart-container">
|
||||||
{{ charts[index]|indent(12)|safe }}
|
{{ chart|indent(12)|safe }}
|
||||||
</div>
|
</div>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
|
Reference in New Issue
Block a user