mirror of
https://github.com/flarum/framework.git
synced 2024-12-04 08:13:39 +08:00
690174297d
- Componentize more stuff, heading in the direction of Ember 2.0 - Start CSS from scratch - Everything is broken atm!
10 lines
274 B
Handlebars
10 lines
274 B
Handlebars
<div {{bind-attr class=":alert alert.class"}}>
|
|
<span class="alert-text">{{alert.text}}</span>
|
|
<span class="alert-actions">
|
|
<a href="#">Undo</a> <!-- menu -->
|
|
{{#if alert.dismissable}}
|
|
<a href="#" {{action "close"}}>{{fa-icon "times"}}</a>
|
|
{{/if}}
|
|
</span>
|
|
</div>
|