2019-07-23 14:03:54 +00:00
|
|
|
{{yield}}
|
|
|
|
<div>
|
|
|
|
<header>
|
|
|
|
{{#yield-slot 'header'}}{{yield}}{{/yield-slot}}
|
|
|
|
</header>
|
|
|
|
{{#yield-slot 'content'}}{{yield}}{{/yield-slot}}
|
|
|
|
<dl>
|
2019-02-21 13:10:53 +00:00
|
|
|
<dt>Output</dt>
|
|
|
|
<dd>
|
|
|
|
<pre><code>{{output}}</code></pre>
|
2019-07-23 14:03:54 +00:00
|
|
|
{{#feedback-dialog type='inline'}}
|
|
|
|
{{#block-slot 'action' as |success error|}}
|
|
|
|
{{copy-button success=(action success) error=(action error) clipboardText=output title='copy output to clipboard'}}
|
|
|
|
{{/block-slot}}
|
|
|
|
{{#block-slot 'success' as |transition|}}
|
|
|
|
<p class={{transition}}>
|
|
|
|
Copied output!
|
|
|
|
</p>
|
|
|
|
{{/block-slot}}
|
|
|
|
{{#block-slot 'error' as |transition|}}
|
|
|
|
<p class={{transition}}>
|
|
|
|
Sorry, something went wrong!
|
|
|
|
</p>
|
|
|
|
{{/block-slot}}
|
|
|
|
{{/feedback-dialog}}
|
2019-02-21 13:10:53 +00:00
|
|
|
</dd>
|
2019-07-23 14:03:54 +00:00
|
|
|
</dl>
|
|
|
|
</div>
|