Welcome to mirror list, hosted at ThFree Co, Russian Federation.

getRowEvolutionPopover.twig « templates « CoreHome « plugins - github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: b45ce4f154129a31ce251bde4570c7cf50898ab1 (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|rawSafeDecoded -}}
                        </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>