mirror of https://github.com/status-im/consul.git
28 lines
743 B
Handlebars
28 lines
743 B
Handlebars
{{yield}}
|
|
<div>
|
|
<header>
|
|
{{#yield-slot 'header'}}{{yield}}{{/yield-slot}}
|
|
</header>
|
|
{{#yield-slot 'content'}}{{yield}}{{/yield-slot}}
|
|
<dl>
|
|
<dt>Output</dt>
|
|
<dd>
|
|
<pre><code>{{output}}</code></pre>
|
|
{{#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}}
|
|
</dd>
|
|
</dl>
|
|
</div> |