blob: 4ed2dbc6558f153f5827d17128f520aea4948f73 (
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
|
{% 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">{{ 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) }}
{% 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) }}
{% endif %}
{% endfor %}
<br style="clear:left"/>
{% if not isWidget %}
</div>
</div>
{% endif %}
{% include "_sparklineFooter.twig" %}
{% if not isWidget %}
</div></div>
{% endif %}
|