1 <%# Copyright (C) The Arvados Authors. All rights reserved.
3 SPDX-License-Identifier: AGPL-3.0 %>
5 <% if wu.is_running? %>
6 <% if @object.andand.uuid == wu.uuid and wu.progress == 0.0 %>
7 <span class="label label-<%= wu.state_bootstrap_class %>"> Active </span>
9 <div class="progress" style="margin-bottom: 0px">
10 <span class="progress-bar progress-bar-<%= wu.state_bootstrap_class %>" style="width: <%= wu.progress*100 %>%;">
15 <span class="label label-<%= wu.state_bootstrap_class %>"><%= wu.state_label %></span>