github.com/hernad/nomad@v1.6.112/ui/app/components/chart-primitives/h-annotations.hbs (about) 1 {{! 2 Copyright (c) HashiCorp, Inc. 3 SPDX-License-Identifier: MPL-2.0 4 ~}} 5 6 <div data-test-annotations class="line-chart-annotations" style={{this.chartAnnotationsStyle}} ...attributes> 7 {{#each this.processed key=@key as |annotation|}} 8 <div data-test-annotation class="chart-horizontal-annotation" style={{annotation.style}}> 9 <button 10 type="button" 11 title={{annotation.a11yLabel}} 12 class="indicator {{if annotation.isActive "is-active"}}" 13 {{on "click" (fn this.selectAnnotation annotation.annotation)}}> 14 {{annotation.label}} 15 </button> 16 <div class="line" /> 17 </div> 18 {{/each}} 19 </div>