point-tools/old/src/PointToolsBundle/Resources/views/User/top.html.twig

23 lines
683 B
Twig
Raw Normal View History

{% extends "::base.html.twig" %}
2017-01-10 01:24:22 +00:00
{% block header_title %}Stats @ Point Tools{% endblock %}
2015-06-26 15:05:26 +00:00
{% block head_js %}
{{ parent() }}
2017-01-10 00:18:10 +00:00
<script src="//code.highcharts.com/5.0.6/highcharts.js"></script>
<script src="//code.highcharts.com/5.0.6/modules/exporting.js"></script>
2015-06-26 15:05:26 +00:00
{% endblock %}
{% block content %}
2015-06-26 15:05:26 +00:00
<script type="text/javascript">
// Top chart
2015-06-26 15:05:26 +00:00
{{ chart(top_chart) }}
// Events by day chart
{{ chart(events_dynamic_chat) }}
2015-06-26 15:05:26 +00:00
</script>
<div id="topchart" style="min-width: 400px; height: 600px; margin: 0 auto;"></div>
<div id="eventschart" style="min-width: 400px; height: 600px; margin: 0 auto;"></div>
{% endblock %}