1 <% content_for :css do %>
2 table.topalign>tbody>tr>td {
5 table.topalign>thead>tr>td {
6 vertical-align: bottom;
10 <table class="topalign table">
12 <tr class="contain-align-left">
31 <% @jobs.sort_by { |j| j[:created_at] }.reverse.each do |j| %>
33 <tr class="cell-noborder">
35 <i class="icon-plus-sign expand-collapse-row" data-id="<%= j.uuid %>" style="cursor: pointer"></i>
38 <%= render partial: 'job_status_label', locals: {:j => j} %>
41 <div class="inline-progress-container">
42 <%= render partial: 'job_progress', locals: {:j => j} %>
46 <%= link_to_if_arvados_object j.uuid %>
52 <%= j.script_version.andand[0..8] %>
55 <%= link_to_if_arvados_object j.output %>
58 <tr class="cell-noborder" id="<%= j.uuid %>" style="display:none">
59 <td colspan="7"><table class="table table-justforlayout"><tr>
60 <td style="border-left: 1px solid black">
61 <table class="table table-condensed">
67 ✉ <span title="<%= j.created_at %>"><%= raw distance_of_time_in_words(Time.now, j.created_at).sub('about ','~').sub(' ',' ') + ' ago' if j.created_at %></span>
70 <%= raw('for ' + distance_of_time_in_words(j.started_at, j.created_at).sub('about ','~').sub(' ',' ')) if j.created_at and j.started_at %>
73 <% if j.started_at.is_a? Time %>
79 ✈ <span title="<%= j.created_at %>"><%= raw distance_of_time_in_words(j.started_at, Time.now).sub('about ','~').sub(' ',' ') + ' ago' if j.started_at %></span>
82 <% if j.finished_at.is_a? Time %>
83 <%= raw('ran ' + distance_of_time_in_words(j.finished_at, j.started_at).sub('about ','~').sub(' ',' ')) %>
85 <span class="badge badge-success" title="tasks finished">✔ <%= j.tasks_summary[:done] %></span>
86 <span class="badge badge-info" title="tasks running">✈ <%= j.tasks_summary[:running] %></span>
87 <span class="badge" title="tasks todo">✉ <%= j.tasks_summary[:todo] %></span>
88 <% if j.tasks_summary[:failed] %>
89 <span class="badge badge-warning" title="task failures">✖ <%= j.tasks_summary[:failed] %></span>
97 <table class="table table-condensed">
99 <%= j.script %> <%= j.script_version %>
101 <% j.script_parameters.sort.each do |k,v| %>
103 <td><%= k %></td><td><%= link_to_if_arvados_object v %></td>
107 <td>output</td><td><%= link_to_if_arvados_object j.output %></td>
111 <table class="table table-condensed">
112 <% j.runtime_constraints.sort.each do |k,v| %>
113 <tr><td><%= v %></td><td><%= k %></td></tr>