blob: 8b95dd680f2fc813f1a823e9a6d54321c2ae8e36 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
{% set seriesColorCount = constant("Piwik\\Plugins\\CoreVisualizations\\Visualizations\\JqplotGraph\\Evolution::SERIES_COLOR_COUNT") %}
<div class="rowevolution">
<div class="popover-title">{{ popoverTitle | raw }}</div>
<div class="graph">
{{ graph|raw }}
</div>
<div class="metrics-container">
<h2>{{ availableMetricsText|raw }}</h2>
<div class="alert alert-info">
{{ 'RowEvolution_Documentation'|translate }}
</div>
<table class="metrics" border="0" cellpadding="0" cellspacing="0" data-thing="{{ seriesColorCount }}">
{% for i, metric in metrics %}
<tr data-i="{{ i }}" {% if metric.hide|default %}style="display:none"{% endif %}>
<td class="sparkline">
{{ metric.sparkline|raw }}
</td>
<td class="text">
<span class="evolution-graph-colors" data-name="series{{ (i % seriesColorCount) + 1 }}">
{{- metric.label|raw -}}
</span>
{% if metric.details %}:
<span class="details" title="{{ metric.minmax }}">{{ metric.details|raw }}</span>
{% endif %}
</td>
</tr>
{% endfor %}
</table>
</div>
<div class="compare-container">
<h2>{{ 'RowEvolution_CompareRows'|translate }}</h2>
<div class="alert alert-info">
{{ 'RowEvolution_CompareDocumentation'|translate|raw }}
</div>
<a href="#" class="rowevolution-startmulti">» {{ 'RowEvolution_PickARow'|translate }}</a>
</div>
</div>
|