Download plugins/CoreHome/templates/getMultiRowEvolutionPopover.twig from Leon4gr45/matomo: direct link, hf CLI and curl.
- Browser
- Download file 1.99 kB
-
https://huggingface.co/spaces/Leon4gr45/matomo/resolve/main/plugins/CoreHome/templates/getMultiRowEvolutionPopover.twig
- Command line
-
hf download hf://spaces/Leon4gr45/matomo/plugins/CoreHome/templates/getMultiRowEvolutionPopover.twig
-
curl -L -o getMultiRowEvolutionPopover.twig https://huggingface.co/spaces/Leon4gr45/matomo/resolve/main/plugins/CoreHome/templates/getMultiRowEvolutionPopover.twig
1.99 kB
| {% set seriesColorCount = constant("Piwik\\Plugins\\CoreVisualizations\\Visualizations\\JqplotGraph\\Evolution::SERIES_COLOR_COUNT") %} | |
| <div class="rowevolution multirowevolution"> | |
| <div class="popover-title">{{ 'RowEvolution_MultiRowEvolutionTitle'|translate }}</div> | |
| <div class="graph"> | |
| {{ graph | raw }} | |
| </div> | |
| <div class="metrics-container"> | |
| <h2>{{ availableRecordsText|translate }}</h2> | |
| <table class="metrics" border="0" cellpadding="0" cellspacing="0"> | |
| {% for i, metric in metrics %} | |
| <tr {% if metric.hide|default %}class="hiddenByDefault" style="display:none"{% endif %}> | |
| <td class="sparkline"> | |
| {{ metric.sparkline|raw }} | |
| </td> | |
| <td class="text"> | |
| {% import 'macros.twig' as piwik %} | |
| {{ piwik.logoHtml(metric, "") }} | |
| <span class="evolution-graph-colors" data-name="series{{ i % seriesColorCount }}"> | |
| {{- metric.label|rawSafeDecoded -}} | |
| </span> | |
| <span class="details" title="{{ metric.minmax }}">{{ metric.details|raw }}</span> | |
| </td> | |
| </tr> | |
| {% endfor %} | |
| </table> | |
| <a href="#" class="rowevolution-startmulti">» {{ 'RowEvolution_PickAnotherRow'|translate }}</a> | |
| </div> | |
| {% if availableMetrics|length > 1 %} | |
| <div class="metric-selectbox"> | |
| <h2>{{ 'RowEvolution_AvailableMetrics'|translate }}</h2> | |
| <select name="metric" class="multirowevoltion-metric"> | |
| {% for metric, metricName in availableMetrics %} | |
| <option value="{{ metric }}"{% if selectedMetric == metric %} selected="selected"{% endif %}> | |
| {{ metricName }} | |
| </option> | |
| {% endfor %} | |
| </select> | |
| </div> | |
| {% endif %} | |
| </div> | |