mirror of
https://github.com/kemko/nomad.git
synced 2026-01-03 08:55:43 +03:00
* First batch of x-icon to hds::icons * Bunch more icons and a note for jobrow * Fixes for tests that depended on specific action names * Icon-bumped-down specified to solo-icons in table cells * Class-basing the icon bump and deferring icon svg load in env * Exec window sidebar icons were looking a little off
20 lines
733 B
Handlebars
20 lines
733 B
Handlebars
{{!
|
|
Copyright (c) HashiCorp, Inc.
|
|
SPDX-License-Identifier: BUSL-1.1
|
|
~}}
|
|
|
|
<div data-test-annotations class="line-chart-annotations" style={{this.chartAnnotationsStyle}} ...attributes>
|
|
{{#each this.processed key=@key as |annotation|}}
|
|
<div data-test-annotation class="chart-vertical-annotation {{annotation.iconClass}} {{annotation.staggerClass}}" style={{annotation.style}}>
|
|
<button
|
|
type="button"
|
|
title={{annotation.label}}
|
|
class="indicator {{if annotation.isActive "is-active"}}"
|
|
{{on "click" (fn this.selectAnnotation annotation.annotation)}}>
|
|
<Hds::Icon @name={{annotation.icon}} @isInline={{true}} />
|
|
</button>
|
|
<div class="line" />
|
|
</div>
|
|
{{/each}}
|
|
</div>
|