2015-08-06 11:01:21 +12:00
|
|
|
<% cached "UserForms_Navigation", $LastEdited %>
|
|
|
|
<% if $NumberOfSteps.Count > "1" %>
|
2015-08-06 14:19:05 +12:00
|
|
|
<div id="userform-progress" aria-hidden="true" style="display:none;">
|
2015-08-06 13:40:09 +12:00
|
|
|
<p>Step <span class="current-step-number">1</span> of $NumberOfSteps.Count</p>
|
2015-08-06 11:01:21 +12:00
|
|
|
<div class="progress">
|
2015-08-06 13:40:09 +12:00
|
|
|
<div class="progress-bar" role="progressbar" aria-valuenow="1" aria-valuemin="1" aria-valuemax="$NumberOfSteps.Count"></div>
|
2015-08-06 11:01:21 +12:00
|
|
|
</div>
|
2015-08-06 14:19:05 +12:00
|
|
|
<nav>
|
|
|
|
<ul class="step-buttons">
|
|
|
|
<% loop $NumberOfSteps %>
|
|
|
|
<li class="step-button-wrapper<% if $Pos == '1' %> current<% end_if %>">
|
2015-08-06 17:47:14 +12:00
|
|
|
<button class="step-button-jump" disabled="disabled">$Pos</button>
|
2015-08-06 14:19:05 +12:00
|
|
|
</li>
|
|
|
|
<% end_loop %>
|
|
|
|
<ul>
|
|
|
|
</nav>
|
|
|
|
</div>
|
2015-08-06 11:01:21 +12:00
|
|
|
<% end_if %>
|
|
|
|
<% end_cached %>
|