<% content_for :css do %> table.topalign>tbody>tr>td { vertical-align: top; } table.topalign>thead>tr>td { vertical-align: bottom; } <% end %> <% @jobs.sort_by { |j| j[:created_at] }.reverse.each do |j| %> <% end %>
status progress uuid script version output
<% if j.success == false %> <% elsif j.success %> <% elsif j.running %> <% else %> <% end %> <% if j.started_at and not j.finished_at %> <% percent_total_tasks = 100 / (j.tasks_summary[:running] + j.tasks_summary[:done] + j.tasks_summary[:todo]) rescue 0 %>
<% end %>
<%= link_to_if_arvados_object j.uuid %> <%= j.script %> <%= j.script_version.andand[0..8] %> <%= link_to_if_arvados_object j.output %>