base tabler
This commit is contained in:
parent
ac2cfa9fe1
commit
0f84beacf1
1432 changed files with 28760 additions and 1 deletions
11
liquid/includes/ui/steps.html
Normal file
11
liquid/includes/ui/steps.html
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
{% assign count = include.count | default: 4 %}
|
||||
{% assign active = include.active | default: 3 %}
|
||||
<div class="steps{% if include.numbers %} steps-counter{% endif %}{% if include.color %} steps-{{ include.color }}{% endif %}{% if include['size'] %} steps-{{ include['size'] }}{% endif %}">
|
||||
{% for i in (1..count) %}
|
||||
{% assign elem = 'a' %}
|
||||
{% if i > active %}{% assign elem = 'span' %}{% endif %}
|
||||
<{{ elem }} href="#" class="step-item{% if i == active %} active{% endif %}"{% if include.show-tooltip %} data-bs-toggle="tooltip" title="Step {{ i }} description"{% endif %}>{% if include.show-title %}
|
||||
Step {{ i }}
|
||||
{% endif %}</{{ elem }}>
|
||||
{% endfor %}
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue