%= content_for :tab_line_buttons do %> <%= form_tag({action: 'compare', controller: params[:controller], method: 'get'}, {method: 'get', id: 'compare', class: 'pull-right small-form-margin'}) do |f| %> <%= submit_tag 'Compare selected', {class: 'btn btn-primary', disabled: true, style: 'display: none'} %> <% end rescue nil %> <% end %> <%= form_tag do |f| %>
status | id | name | template | owner | components | dependencies | created | ||
---|---|---|---|---|---|---|---|---|---|
<%= check_box_tag 'uuids[]', ob.uuid, false %> | <% if ob.success %> success <% elsif ob.active %> active <% end %> | <%= link_to_if_arvados_object ob %> | <%= ob.name %> | <%= link_to_if_arvados_object ob.pipeline_template_uuid %> | <%= link_to_if_arvados_object ob.owner_uuid %> | <% ob.components.each do |cname, c| %> <% status = if !(c.is_a?(Hash) && c[:job].is_a?(Hash)) then nil elsif c[:job][:success] then 'success' elsif c[:job][:running] then 'info' else 'warning' end %> "><%= cname.to_s %> <% end %> |
<% ob.dependencies.each do |d| %>
<%= d %> <% end %> | <%= ob.created_at %> |