Skip to content

Commit 272b922

Browse files
committed
Use the info colour for the DRAINING status in the UI
1 parent 6fddbd5 commit 272b922

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

ui/app/services/services.html

+4-4
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ <h4 class="float-left">
5454
<th>Created</th><th>Updated</th><th>Status</th>
5555
</tr>
5656

57-
<tr ng-repeat="group in services"
58-
ng-class="{'success': group[0].Status == 0, 'warning': group[0].Status == 1, 'danger': group[0].Status == 2 }"
57+
<tr ng-repeat="group in services"
58+
ng-class="{'success': group[0].Status == 0, 'warning': group[0].Status == 1, 'danger': group[0].Status == 2, 'info': group[0].Status == 4 }"
5959
class="group-row">
6060
<td>
6161
<span class="service-badge badge">{{ group.length }}</span>
@@ -88,8 +88,8 @@ <h4 class="float-left">
8888
<th>Created</th><th>Updated</th><th>Status</th>
8989
</tr>
9090

91-
<tr ng-repeat="svc in group"
92-
ng-class="{'success': group[0].Status == 0, 'warning': group[0].Status == 1, 'danger': group[0].Status == 2 }"
91+
<tr ng-repeat="svc in group"
92+
ng-class="{'success': group[0].Status == 0, 'warning': group[0].Status == 1, 'danger': group[0].Status == 2, 'info': group[0].Status == 4 }"
9393
class="group-row">
9494
<td>{{ svc.Hostname }}</td>
9595
<td>{{ svc.Image | extractTag }}</td>

0 commit comments

Comments
 (0)