open-vault/ui/app/templates/components/alert-popup.hbs
Angel Garbarino 178292f807
Glimmerize components using outer-html (#15744)
* alert-popup glimmerize:

* glimmerize block-error

* logo splash and wizard section

* remove template only

* pr comments
2022-06-02 14:40:17 -06:00

18 lines
634 B
Handlebars

<div class="message {{this.type.class}}">
<div class="columns is-mobile is-variable is-1">
<div class="column is-narrow message-icon">
<Icon aria-hidden="true" @name={{this.type.glyph}} />
</div>
<div class="column">
<button type="button" class="close-button" {{on "click" this.close}}>
<Icon @name="x" aria-label="Close" />
</button>
<div class="message-title">
{{this.type.text}}
</div>
{{#if this.message}}
<p class="message-body {{if @isPreformatted 'pre'}}" data-test-flash-message-body="true">{{this.message}}</p>
{{/if}}
</div>
</div>
</div>