blob: 5c8390d9146bbc05720d5fb1bb5443ef2593debe (
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
40
41
42
43
44
45
46
47
48
|
{% import '@CoreVisualizations/macros.twig' as macros %}
{% if not isWidget %}
<div class="card"><div class="card-content">
{% endif %}
{% if title is not empty %}<h2 class="card-title"
{% if titleAttributes is not empty %}{% for attribute, value in titleAttributes %}{{ attribute }}="{{ value }}"{% endfor %}{% endif %}
>{{ title }}</h2>{% endif %}
{% if not isWidget %}
<div class="row">
<div class="col m6">
{% endif %}
{% for key, sparkline in sparklines %}
{% if key is even %}
{{ macros.singleSparkline(sparkline, allMetricsDocumentation, areSparklinesLinkable) }}
{% endif %}
{% endfor %}
{% if not isWidget %}
<br style="clear:left"/>
</div>
<div class="col m6">
{% endif %}
{% for key, sparkline in sparklines %}
{% if key is odd %}
{{ macros.singleSparkline(sparkline, allMetricsDocumentation, areSparklinesLinkable) }}
{% endif %}
{% endfor %}
<br style="clear:left"/>
{% if not isWidget %}
</div>
</div>
{% endif %}
{% if areSparklinesLinkable %}
{% include "_sparklineFooter.twig" %}
{% endif %}
{% if footerMessage is not empty %}
<div class='datatableFooterMessage'>{{ footerMessage | raw }}</div>
{% endif %}
{% if not isWidget %}
</div></div>
{% endif %}
|