open-vault/ui/app/templates/components/wizard-section.hbs

21 lines
475 B
Handlebars
Raw Normal View History

2018-08-28 05:03:55 +00:00
<div class="wizard-section {{class}}">
<h2 class="title is-6">
{{#if headerIcon}}
<ICon @glyph={{headerIcon}} @size=24 />
{{/if}}
{{headerText}}
</h2>
{{yield}}
{{#if instructions}}
<div class="wizard-instructions">
<h2 class="title is-6">What to do</h2>
<p>{{instructions}}</p>
</div>
{{/if}}
2018-08-28 05:03:55 +00:00
{{#if docText}}
<DocLink @path={{docPath}}>
<ICon @glyph='learn' @size=16 /> {{docText}}
</DocLink>
{{/if}}
</div>