framework/ember/app/templates/components/alert-message.hbs
Toby Zerner 690174297d Rejigging templates for redesign.
- Componentize more stuff, heading in the direction of Ember 2.0
- Start CSS from scratch
- Everything is broken atm!
2015-01-01 20:08:38 +10:30

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>