mirror of
https://github.com/kemko/nomad.git
synced 2026-01-07 19:05:42 +03:00
Replace all instances of the warning icon with the Structure alert-triangle icon
This commit is contained in:
@@ -155,7 +155,7 @@
|
||||
<span class="pair" data-test-driver-health>
|
||||
<span class="term">Drivers</span>
|
||||
{{#if this.model.unhealthyDrivers.length}}
|
||||
{{x-icon "warning" class="is-text is-warning"}}
|
||||
{{x-icon "alert-triangle" class="is-text is-warning"}}
|
||||
{{this.model.unhealthyDrivers.length}} of {{this.model.detectedDrivers.length}} {{pluralize "driver" this.model.detectedDrivers.length}} unhealthy
|
||||
{{else}}
|
||||
All healthy
|
||||
@@ -197,7 +197,7 @@
|
||||
<span data-test-force-drain-text class="pair">
|
||||
<span class="term">Force Drain</span>
|
||||
{{#if this.model.drainStrategy.isForced}}
|
||||
{{x-icon "warning" class="is-text is-warning"}} Yes
|
||||
{{x-icon "alert-triangle" class="is-text is-warning"}} Yes
|
||||
{{else}}
|
||||
No
|
||||
{{/if}}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<td data-test-indicators class="is-narrow">
|
||||
{{#if this.allocation.unhealthyDrivers.length}}
|
||||
<span data-test-icon="unhealthy-driver" class="tooltip text-center" role="tooltip" aria-label="Allocation depends on unhealthy drivers">
|
||||
{{x-icon "warning" class="is-warning"}}
|
||||
{{x-icon "alert-triangle" class="is-warning"}}
|
||||
</span>
|
||||
{{/if}}
|
||||
{{#if this.allocation.nextAllocation}}
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
…
|
||||
{{else if this.error}}
|
||||
<span class="tooltip is-small text-center" role="tooltip" aria-label="Couldn't collect stats">
|
||||
{{x-icon "warning" class="is-warning"}}
|
||||
{{x-icon "alert-triangle" class="is-warning"}}
|
||||
</span>
|
||||
{{else}}
|
||||
<div class="inline-chart tooltip" role="tooltip" aria-label="{{this.formattedStat}} / {{this.formattedReserved}}">
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<td data-test-icon class="is-narrow">
|
||||
{{#if this.node.unhealthyDrivers.length}}
|
||||
<span class="tooltip text-center" role="tooltip" aria-label="Client has unhealthy drivers">
|
||||
{{x-icon "warning" class="is-warning"}}
|
||||
{{x-icon "alert-triangle" class="is-warning"}}
|
||||
</span>
|
||||
{{/if}}
|
||||
</td>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<td data-test-indicators class="is-narrow">
|
||||
{{#if this.allocation.unhealthyDrivers.length}}
|
||||
<span data-test-icon="unhealthy-driver" class="tooltip text-center" role="tooltip" aria-label="Allocation depends on unhealthy drivers">
|
||||
{{x-icon "warning" class="is-warning"}}
|
||||
{{x-icon "alert-triangle" class="is-warning"}}
|
||||
</span>
|
||||
{{/if}}
|
||||
{{#if this.allocation.nextAllocation}}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
{{/if}}
|
||||
{{#if @allocation.hasStoppedRescheduling}}
|
||||
<li class="timeline-note" data-test-stop-warning>
|
||||
{{x-icon "warning" class="is-warning is-text"}} Nomad has stopped attempting to reschedule this allocation.
|
||||
{{x-icon "alert-triangle" class="is-warning is-text"}} Nomad has stopped attempting to reschedule this allocation.
|
||||
</li>
|
||||
{{/if}}
|
||||
{{#if (and @allocation.followUpEvaluation.waitUntil (not @allocation.nextAllocation))}}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<td class="is-narrow">
|
||||
{{#unless this.task.driverStatus.healthy}}
|
||||
<span data-test-icon="unhealthy-driver" class="tooltip text-center" aria-label="{{this.task.driver}} is unhealthy">
|
||||
{{x-icon "warning" class="is-warning"}}
|
||||
{{x-icon "alert-triangle" class="is-warning"}}
|
||||
</span>
|
||||
{{/unless}}
|
||||
</td>
|
||||
@@ -44,7 +44,7 @@
|
||||
...
|
||||
{{else if this.statsError}}
|
||||
<span class="tooltip text-center" role="tooltip" aria-label="Couldn't collect stats">
|
||||
{{x-icon "warning" class="is-warning"}}
|
||||
{{x-icon "alert-triangle" class="is-warning"}}
|
||||
</span>
|
||||
{{else}}
|
||||
<div class="inline-chart is-small tooltip" role="tooltip" aria-label="{{this.cpu.used}} / {{this.taskStats.reservedCPU}} MHz">
|
||||
@@ -64,7 +64,7 @@
|
||||
...
|
||||
{{else if this.statsError}}
|
||||
<span class="tooltip is-small text-center" role="tooltip" aria-label="Couldn't collect stats">
|
||||
{{x-icon "warning" class="is-warning"}}
|
||||
{{x-icon "alert-triangle" class="is-warning"}}
|
||||
</span>
|
||||
{{else}}
|
||||
<div class="inline-chart tooltip" role="tooltip" aria-label="{{format-bytes this.memory.used}} / {{this.taskStats.reservedMemory}} MiB">
|
||||
|
||||
Reference in New Issue
Block a user