github.com/hernad/nomad@v1.6.112/ui/app/templates/components/agent-monitor.hbs (about) 1 {{! 2 Copyright (c) HashiCorp, Inc. 3 SPDX-License-Identifier: MPL-2.0 4 ~}} 5 6 <div class="boxed-section"> 7 <div class="boxed-section-head" data-test-level-switcher-parent> 8 <PowerSelect 9 data-test-level-switcher 10 @tagName="div" 11 @triggerClass="is-compact pull-left" 12 @options={{this.levels}} 13 @selected={{this.level}} 14 @searchEnabled={{false}} 15 @onChange={{action this.setLevel}} as |level|> 16 <span class="ember-power-select-prefix">Level: </span>{{capitalize level}} 17 </PowerSelect> 18 <button data-test-toggle class="button is-white is-compact pull-right" {{action this.toggleStream}} type="button" title="{{if this.logger.isStreaming "Stop" "Start"}} log streaming"> 19 {{x-icon (if this.logger.isStreaming "media-pause" "media-play") class="is-text"}} 20 </button> 21 </div> 22 <div data-test-log-box class="boxed-section-body is-dark is-full-bleed"> 23 <StreamingFile @logger={{this.logger}} @isStreaming={{this.isStreaming}} /> 24 </div> 25 </div>