2017-11-15 17:13:17 +00:00
|
|
|
<div class="boxed-section-head">
|
2017-11-15 20:44:32 +00:00
|
|
|
<span>
|
2018-01-08 21:08:14 +00:00
|
|
|
<button data-test-log-action="stdout" class="button {{if (eq mode "stdout") "is-info"}}" {{action "setMode" "stdout"}}>stdout</button>
|
|
|
|
<button data-test-log-action="stderr" class="button {{if (eq mode "stderr") "is-danger"}}" {{action "setMode" "stderr"}}>stderr</button>
|
2017-11-15 20:44:32 +00:00
|
|
|
</span>
|
2017-11-15 17:13:17 +00:00
|
|
|
<span class="pull-right">
|
2018-01-08 21:08:14 +00:00
|
|
|
<button data-test-log-action="head" class="button is-white" onclick={{perform head}}>Head</button>
|
|
|
|
<button data-test-log-action="tail" class="button is-white" onclick={{perform tail}}>Tail</button>
|
|
|
|
<button data-test-log-action="toggle-stream" class="button is-white" onclick={{action "toggleStream"}}>
|
2017-11-15 20:44:32 +00:00
|
|
|
{{x-icon (if logger.isStreaming "media-pause" "media-play") class="is-text"}}
|
2017-11-15 17:13:17 +00:00
|
|
|
</button>
|
|
|
|
</span>
|
|
|
|
</div>
|
2018-01-08 21:08:14 +00:00
|
|
|
<div data-test-log-box class="boxed-section-body is-dark is-full-bleed">
|
|
|
|
<pre data-test-log-cli class="cli-window"><code>{{logger.output}}</code></pre>
|
2017-11-15 17:13:17 +00:00
|
|
|
</div>
|