questlab/www/analytics/plugins/Dashboard/templates/index.twig
coderkun 046a724272 merge
2015-04-27 16:42:05 +02:00

20 lines
No EOL
775 B
Twig

{% include "@Dashboard/_header.twig" %}
<div class="top_controls">
{% include "@CoreHome/_periodSelect.twig" %}
{{ postEvent("Template.nextToCalendar") }}
{% render dashboardSettingsControl %}
<div id="Dashboard" class="piwikTopControl">
<ul>
{% for dashboard in dashboards %}
<li class="dashboardMenuItem" id="Dashboard_embeddedIndex_{{ dashboard.iddashboard }}">
<a href="javascript:$('#dashboardWidgetsArea').dashboard('loadDashboard', {{ dashboard.iddashboard }});">{{ dashboard.name|escape }}</a>
</li>
{% endfor %}
</ul>
</div>
</div>
{% import 'ajaxMacros.twig' as ajax %}
{{ ajax.loadingDiv }}
{% include "@Dashboard/embeddedIndex.twig" %}
</body>
</html>