mirror of
https://github.com/tabler/tabler.git
synced 2026-09-01 23:01:29 +04:00
Add progress page (#2494)
Co-authored-by: ethancrawford <ethan_jc@hotmail.com>
This commit is contained in:
co-authored by
ethancrawford
parent
f8dee0a4bb
commit
9c5d729e6d
@@ -0,0 +1,7 @@
|
||||
{% assign percentage = include.value | replace: '%', '' | default: 0 %}
|
||||
{% assign color = include.color | default: 'primary-lt' %}
|
||||
<div class="progressbg{% if include.class %} {{ include.class }}{% endif %}">
|
||||
{% include "ui/progress.html" value=percentage class="progressbg-progress" color=color %}
|
||||
{% if include.text %}<div class="progressbg-text">{{ include.text }}</div>{% endif %}
|
||||
{% if include.show-value %}<div class="progressbg-value">{{ percentage }}%</div>{% endif %}
|
||||
</div>
|
||||
Reference in New Issue
Block a user