%= form_tag({action: 'compare', controller: 'pipeline_instances', method: 'get'}, {method: 'get', id: 'compare'}) do |f| %>
<%= submit_tag 'Compare', {class: 'btn btn-primary', disabled: true} %> | 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 %> | <% if ob.editable? %> <%= link_to({action: 'destroy', id: ob.uuid}, method: :delete, remote: true, data: {confirm: "You are about to delete #{controller.model_class} #{ob.uuid}.\n\nAre you sure?"}) do %> <% end %> <% end %> |