github.com/manicqin/nomad@v0.9.5/ui/app/templates/components/freestyle/sg-log-stream.hbs (about) 1 {{#freestyle-usage "log-stream" title="Log Stream"}} 2 <div class="boxed-section"> 3 <div class="boxed-section-head"> 4 <span> 5 <button 6 class="button {{if (eq mode1 "stdout") "is-info"}}" 7 onclick={{action (mut mode1) "stdout"}}>stdout</button> 8 <button 9 class="button {{if (eq mode1 "stderr") "is-danger"}}" 10 onclick={{action (mut mode1) "stderr"}}>stderr</button> 11 </span> 12 <span class="pull-right"> 13 <button class="button is-white">Head</button> 14 <button class="button is-white">Tail</button> 15 <button class="button is-white" onclick={{toggle "isPlaying1" this}}> 16 {{x-icon (if isPlaying1 "media-play" "media-pause") class="is-text"}} 17 </button> 18 </span> 19 </div> 20 <div class="boxed-section-body is-dark is-full-bleed"> 21 <pre class="cli-window"><code>{{if (eq mode1 "stdout") sampleOutput sampleError}}</code></pre> 22 </div> 23 </div> 24 {{/freestyle-usage}}