base tabler
This commit is contained in:
parent
ac2cfa9fe1
commit
0f84beacf1
1432 changed files with 28760 additions and 1 deletions
26
liquid/includes/cards/small-stats-2.html
Normal file
26
liquid/includes/cards/small-stats-2.html
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
{% assign icon = include.icon | default: "user" %}
|
||||
{% if include.growth > 0 %}
|
||||
{% assign color="green" %}
|
||||
{% assign arrow="arrow-up" %}
|
||||
{% elsif include.growth < 0 %}
|
||||
{% assign color="red" %}
|
||||
{% assign arrow="arrow-down" %}
|
||||
{% else %}
|
||||
{% assign color="grey" %}
|
||||
{% assign arrow="clock" %}
|
||||
{% endif %}
|
||||
|
||||
|
||||
<div class="card" data-color={{color}}>
|
||||
<div class="card-body">
|
||||
<div class="float-end avatar{% if include.color %} bg-{{ include.color }}{% if include.light %}-lt{% else %} text-white{% endif %}{% endif %}">
|
||||
{% include "ui/icon.html" icon=icon %}
|
||||
</div>
|
||||
<div class="text-secondary fw-normal mt-0">{{ include.title | default: 'Customers' }}</div>
|
||||
<h3 class="h2 mt-2 mb-3">{{ include.count | default: "1,850" }}</h3>
|
||||
<p class="mb-0 text-secondary">
|
||||
{% include "ui/trending.html" value=include.growth %}
|
||||
<span class="text-nowrap">{{ include.description | default: 'Since last month' }}</span>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue