1
0
mirror of https://github.com/tabler/tabler.git synced 2025-12-26 11:16:12 +04:00
Files
tabler/_includes/cards/stats-1.html
2018-02-19 20:17:04 +01:00

14 lines
504 B
HTML

<div class="card">
<div class="card-body p-3 text-center">
<div class="text-right {% if include.percentage > 0 %}text-green{% elsif include.percentage < 0 %}text-red{% endif %}">
{{ include.percentage }}%
{% if include.percentage > 0 %}
<i class="fe fe-chevron-up"></i>
{% elsif include.percentage < 0 %}
<i class="fe fe-chevron-down"></i>
{% endif %}
</div>
<div class="h1 m-0">{{ include.number }}</div>
<div class="text-muted mb-4">{{ include.title }}</div>
</div>
</div>