1 <% content_for :css do %>
2 .pipeline_color_legend {
6 table.pipeline-components-table {
11 table.pipeline-components-table thead th {
14 table.pipeline-components-table div.progress {
20 <% if @object.active != nil %>
21 <table class="table pipeline-components-table">
23 <col style="width: 15%" />
24 <col style="width: 35%" />
25 <col style="width: 15%" />
26 <col style="width: 35%" />
36 <%= link_to '(refresh)', request.fullpath, class: 'refresh', remote: true, method: 'get' %>
43 <% render_pipeline_jobs.each do |pj| %>
46 <% if pj[:job].andand[:uuid] %>
47 <%= link_to pj[:name], job_url(id: pj[:job][:uuid]) %>
53 <br /><span class="deemphasize"><%= pj[:script_version] %></span>
55 <%= pj[:progress_bar] %>
56 <% if pj[:job].andand[:cancelled_at] %>
57 <span class="pull-right label label-warning">cancelled</span>
58 <% elsif pj[:failed] %>
59 <span class="pull-right label label-warning">failed</span>
60 <% elsif pj[:result] == 'queued' %>
61 <span class="pull-right label">queued</span>
64 <%= link_to_if_arvados_object pj[:output] %>
70 <tr><td colspan="4"></td></tr>
74 <% if @object.active %>
75 <% content_for :js do %>
76 setInterval(function(){$('a.refresh').click()}, 30000);
82 <%= form_tag @object, :method => :put do |f| %>
84 <%= hidden_field @object.class.to_s.underscore.singularize.to_sym, :active, :value => true %>
85 <%= button_tag "Run pipeline", {class: 'btn btn-primary pull-right'} %>
88 <table class="table pipeline-components-table" style="margin-top: -.1em">
90 <col style="width: 15%" />
91 <col style="width: 35%" />
92 <col style="width: 15%" />
93 <col style="width: 35%" />
110 <% @object.components.each do |k, v| %>
112 <% sp = v[:script_parameters].collect do |k, v| [k, v] end %>
117 <td><%= v[:script] %>
118 <br /><span class="deemphasize"> <%= v[:script_version] %></span>
130 <% if sp.length > 1 %>
135 <% sp[1..-1].each do |p| %>