2020-06-12 20:03:43 +00:00
|
|
|
<%- # License: AGPL-3.0-or-later WITH WTO-AP-3.0-or-later
|
|
|
|
# Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE -%>
|
2018-03-25 17:30:42 +00:00
|
|
|
<div class='wizard-index'>
|
|
|
|
<!--= hide_if <%=wizard_name%>.is_completed -->
|
|
|
|
|
|
|
|
<!--= def '<%= wizard_name %>.step_width' (cat (divide 100 (length <%= wizard_name %>.steps)) '%') -->
|
|
|
|
|
|
|
|
<span class='wizard-index-label'>
|
|
|
|
<!--= repeat <%= wizard_name %>.steps -->
|
|
|
|
<!--= add_class_if (eq <%= wizard_name %>.current_step this.i) 'is-current' -->
|
|
|
|
<!--= add_class_if this.is_accessible 'is-accessible' -->
|
|
|
|
<!--= style 'width' <%= wizard_name %>.step_width -->
|
|
|
|
<!--= on 'click' (wizard.jump '<%= wizard_name %>' this.i) -->
|
|
|
|
<!--= put this.name -->
|
|
|
|
</span>
|
|
|
|
|
|
|
|
</div>
|