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