1
0
قرینه از https://github.com/matomo-org/matomo.git synced 2025-08-22 06:57:53 +00:00
Files
matomo/plugins/Dashboard/templates/index.twig
dizzy a7b1f06156 [Vue] remove angularjs from Dashboard plugin (#19442)
* remove use of angularjs from SegmentEditor plugin

* remove import added by phpstorm

* make sure to export comparison service instance not just class

* built vue files

* remove angularjs from Dashboard plugin

* built vue files

* fixing some issues

* fix initial value for segment definition

* treat null, undefined and empty string segment value the same

* Update expected screenshots

* try to fix timing error in test

* Allow composer plugins for dev dependency codesniffer to fix travis builds.

* get to load in UI

* getting dashboard settings control to work

* fixing UI test issues, reintroduce compileAngularComponents (will remove calls in CoreHome PR)

* fixing some more issues

* hide the dashboard manager on initial display as before

* update expected screenshots

* fixing DashboardManager UI test that previously used the uiControlObject property

* fix race condition in dashboard ajax requests/aborts

* remove duplicate translation

* remove use of html_attr escape

* remove unused use statements

* fix shown entity id in reporting menu

Co-authored-by: sgiehl <stefan@matomo.org>
2022-08-11 16:16:44 +02:00

23 خطوط
877 B
Twig

{% include "@Dashboard/_header.twig" %}
<div class="top_controls">
{% include "@CoreHome/_periodSelect.twig" %}
{{ postEvent("Template.nextToCalendar") }}
<div vue-entry="Dashboard.DashboardSettings"></div>
{% if dashboards|length %}
<div id="Dashboard" class="piwikTopControl borderedControl piwikSelector">
<ul>
{% for dashboard in dashboards %}
<li id="Dashboard_embeddedIndex_{{ dashboard.iddashboard }}">
<a href="#" onclick="$('#dashboardWidgetsArea').dashboard('loadDashboard', {{ dashboard.iddashboard }});"
class="item">{{ dashboard.name|escape }}</a>
</li>
{% endfor %}
</ul>
</div>
{% endif %}
</div>
{% import 'ajaxMacros.twig' as ajax %}
{{ ajax.loadingDiv }}
{% include "@Dashboard/embeddedIndex.twig" %}
</body>
</html>