1
0
mirror of https://github.com/tabler/tabler.git synced 2026-07-30 15:04:38 +04:00

tabler v1

This commit is contained in:
chomik
2019-03-12 22:09:15 +01:00
parent 79f7d92872
commit ab3aec2eeb
3320 changed files with 148049 additions and 207078 deletions
+18
View File
@@ -0,0 +1,18 @@
{% assign type = include.type %}
{% assign square = false %}
{% if type == "pie" or type == "donut" %}
{% assign square = true %}
{% endif %}
<div class="sparkline{% if square %} sparkline-square{% endif %}{% if include.wide %} sparkline-wide{% endif %}" data-spark="{{ include.data }}" data-spark-type="{{ include.type }}" {% if include.color %}data-spark-color="{{ include.color }}"{% endif %}>
{% if include.label %}
<div class="sparkline-label">
{{ include.label }}
</div>
{% endif %}
{% if include.label-icon %}
<div class="sparkline-label">
{% include ui/icon.html icon=include.label-icon color=include.color %}
</div>
{% endif %}
</div>