github.com/hernad/nomad@v1.6.112/ui/app/components/chart-primitives/v-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-vertical-annotation {{annotation.iconClass}} {{annotation.staggerClass}}" style={{annotation.style}}>
     9        <button
    10          type="button"
    11          title={{annotation.label}}
    12          class="indicator {{if annotation.isActive "is-active"}}"
    13          {{on "click" (fn this.selectAnnotation annotation.annotation)}}>
    14          {{x-icon annotation.icon}}
    15        </button>
    16        <div class="line" />
    17      </div>
    18    {{/each}}
    19  </div>