1 <% content_for :css do %>
2 table.topalign>tbody>tr>td {
5 table.topalign>thead>tr>td {
6 vertical-align: bottom;
10 <%= render partial: "paging", locals: {results: objects, object: @object} %>
12 <table class="topalign table">
14 <tr class="contain-align-left">
33 <% @objects.sort_by { |j| j[:created_at] }.reverse.each do |j| %>
35 <tr class="cell-noborder">
37 <i class="icon-plus-sign expand-collapse-row" data-id="<%= j.uuid %>" style="cursor: pointer"></i>
40 <%= render partial: 'job_status_label', locals: {:j => j} %>
43 <div class="inline-progress-container">
44 <%= render partial: 'job_progress', locals: {:j => j} %>
48 <%= link_to_if_arvados_object j %>
54 <%= j.script_version.andand[0..8] %>
57 <%= link_to_if_arvados_object j.output %>
60 <tr class="cell-noborder" id="<%= j.uuid %>" style="display:none">
61 <td colspan="7"><table class="table table-justforlayout"><tr>
62 <td style="border-left: 1px solid black">
63 <table class="table table-condensed">
69 ✉ <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>
72 <%= raw('for ' + distance_of_time_in_words(j.started_at, j.created_at).sub('about ','~').sub(' ',' ')) if j.created_at and j.started_at %>
75 <% if j.started_at.is_a? Time %>
81 ✈ <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>
84 <% if j.finished_at.is_a? Time %>
85 <%= raw('ran ' + distance_of_time_in_words(j.finished_at, j.started_at).sub('about ','~').sub(' ',' ')) %>
87 <span class="badge badge-success" title="tasks finished">✔ <%= j.tasks_summary[:done] %></span>
88 <span class="badge badge-info" title="tasks running">✈ <%= j.tasks_summary[:running] %></span>
89 <span class="badge" title="tasks todo">✉ <%= j.tasks_summary[:todo] %></span>
90 <% if j.tasks_summary[:failed] %>
91 <span class="badge badge-warning" title="task failures">✖ <%= j.tasks_summary[:failed] %></span>
99 <table class="table table-condensed">
101 <%= j.script %> <%= j.script_version %>
103 <% j.script_parameters.sort.each do |k,v| %>
105 <td><%= k %></td><td><%= link_to_if_arvados_object v %></td>
109 <td>output</td><td><%= link_to_if_arvados_object j.output %></td>
113 <table class="table table-condensed">
114 <% j.runtime_constraints.sort.each do |k,v| %>
115 <tr><td><%= v %></td><td><%= k %></td></tr>