2018-08-28 05:03:55 +00:00
|
|
|
<div class="wizard-header">
|
2018-09-05 16:21:29 +00:00
|
|
|
{{#unless hidePopup}}
|
|
|
|
<PopupMenu @class="wizard-dismiss-menu">
|
|
|
|
<nav class="menu">
|
|
|
|
<ul class="menu-list">
|
|
|
|
<li class="action">
|
|
|
|
<button type="button" class="button link " onclick={{action "dismissWizard"}}>
|
|
|
|
Dismiss
|
|
|
|
</button>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</nav>
|
|
|
|
</PopupMenu>
|
|
|
|
{{/unless}}
|
2018-08-28 05:03:55 +00:00
|
|
|
<h1 class="title is-5">
|
2019-05-16 19:49:38 +00:00
|
|
|
<Icon @glyph={{glyph}} @size="l"/> {{headerText}}
|
2018-08-28 05:03:55 +00:00
|
|
|
</h1>
|
2018-10-18 19:19:50 +00:00
|
|
|
{{#if showProgress}}
|
|
|
|
<ToolTip @verticalPosition="below" as |T|>
|
|
|
|
<T.trigger @tabindex=false>
|
|
|
|
<WizardProgress @currentFeatureProgress={{currentFeatureProgress}} @progressBar={{progressBar}} />
|
|
|
|
</T.trigger>
|
|
|
|
<T.content @class="tool-tip">
|
|
|
|
<div class="box">
|
|
|
|
{{#if currentTutorialProgress}}
|
|
|
|
{{currentTutorialProgress.text}}
|
|
|
|
{{else}}
|
|
|
|
<p>{{capitalize currentFeatureProgress.feature}}</p>
|
|
|
|
{{currentFeatureProgress.text}}
|
|
|
|
{{/if}}
|
|
|
|
</div>
|
|
|
|
</T.content>
|
|
|
|
</ToolTip>
|
|
|
|
{{else}}
|
|
|
|
{{#if selectProgress}}
|
|
|
|
<WizardProgress @noProgress={{true}} @progressBar={{selectProgress}} />
|
|
|
|
{{/if}}
|
|
|
|
{{/if}}
|
2018-08-28 05:03:55 +00:00
|
|
|
</div>
|
|
|
|
{{yield}}
|