2014-11-13 14:27:45 +03:00
|
|
|
<div class="modal-container js-modal-container" {{action "closeModal"}}>
|
2015-04-01 19:01:38 +03:00
|
|
|
<article class="{{klass}} js-modal">
|
2014-12-26 05:26:55 +03:00
|
|
|
<section class="modal-content" {{action "noBubble" bubbles=false preventDefault=false}}>
|
2014-03-31 08:07:05 +04:00
|
|
|
{{#if title}}<header class="modal-header"><h1>{{title}}</h1></header>{{/if}}
|
2015-05-13 12:23:29 +03:00
|
|
|
{{#if showClose}}<a class="close icon-x" href="" title="Close" {{action "closeModal"}}><span class="hidden">Close</span></a>{{/if}}
|
2014-03-31 08:07:05 +04:00
|
|
|
<section class="modal-body">
|
|
|
|
{{yield}}
|
|
|
|
</section>
|
|
|
|
{{#if confirm}}
|
|
|
|
<footer class="modal-footer">
|
2015-08-12 11:29:40 +03:00
|
|
|
{{! Buttons must be on one line to prevent white-space errors }}
|
|
|
|
<button type="button" class="{{rejectButtonClass}} btn-minor js-button-reject" {{action "confirm" "reject"}}>{{confirm.reject.text}}</button><button type="button" class="{{acceptButtonClass}} js-button-accept" {{action "confirm" "accept"}}>{{confirm.accept.text}}</button>
|
2014-03-31 08:07:05 +04:00
|
|
|
</footer>
|
|
|
|
{{/if}}
|
|
|
|
</section>
|
|
|
|
</article>
|
|
|
|
</div>
|
2015-04-01 19:01:38 +03:00
|
|
|
<div class="modal-background js-modal-background"></div>
|