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">
31 <% @objects.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 <div class="inline-progress-container">
39 <%= render partial: 'job_progress', locals: {:j => j} %>
43 <%= link_to_if_arvados_object j %>
49 <%= j.script_version.andand[0..8] %>
52 <%= link_to_if_arvados_object j.output %>
55 <tr class="cell-noborder" id="<%= j.uuid %>" style="display:none">
56 <td colspan="7"><table class="table table-justforlayout"><tr>
57 <td style="border-left: 1px solid black">
58 <table class="table table-condensed">
64 ✉ <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>
67 <%= raw('for ' + distance_of_time_in_words(j.started_at, j.created_at).sub('about ','~').sub(' ',' ')) if j.created_at and j.started_at %>
70 <% if j.started_at.is_a? Time %>
76 ✈ <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>
79 <% if j.finished_at.is_a? Time %>
80 <%= raw('ran ' + distance_of_time_in_words(j.finished_at, j.started_at).sub('about ','~').sub(' ',' ')) %>
81 <% elsif j.state == "Running" %>
82 <span class="badge badge-success" title="tasks finished">✔ <%= j.tasks_summary[:done] %></span>
83 <span class="badge badge-info" title="tasks running">✈ <%= j.tasks_summary[:running] %></span>
84 <span class="badge" title="tasks todo">✉ <%= j.tasks_summary[:todo] %></span>
85 <% if j.tasks_summary[:failed] %>
86 <span class="badge badge-warning" title="task failures">✖ <%= j.tasks_summary[:failed] %></span>
94 <table class="table table-condensed">
96 <%= j.script %> <%= j.script_version %>
98 <% j.script_parameters.sort.each do |k,v| %>
100 <td><%= k %></td><td><%= link_to_if_arvados_object v %></td>
104 <td>output</td><td><%= link_to_if_arvados_object j.output %></td>
108 <table class="table table-condensed">
109 <% j.runtime_constraints.sort.each do |k,v| %>
110 <tr><td><%= v %></td><td><%= k %></td></tr>