1 <% content_for :css do %>
2 .pipeline_color_legend {
6 table.pipeline-components-table {
12 table.pipeline-components-table thead th {
15 table.pipeline-components-table div.progress {
19 table.pipeline-components-table td {
21 text-overflow: ellipsis;
30 <% template = PipelineTemplate.find(@object.pipeline_template_uuid) %>
31 <%= content_for :content_top do %>
33 <h2><%= template.name %></h2>
38 <% if @object.active != nil %>
39 <table class="table pipeline-components-table">
41 <col style="width: 15%" />
42 <col style="width: 20%" />
43 <col style="width: 12%" />
44 <col style="width: 12%" />
45 <col style="width: 45%" />
55 <%= link_to '(refresh)', request.fullpath, class: 'refresh', remote: true, method: 'get' %>
63 <% render_pipeline_jobs.each do |pj| %>
66 <% job_status = render(partial: 'job_status_label',
67 locals: { :j => pj[:job], :title => pj[:name] }) %>
68 <% if pj[:job].andand[:uuid] %>
69 <%= link_to(job_status, job_url(id: pj[:job][:uuid])) %>
75 <br /><span class="deemphasize"><%= pj[:script_version] %></span>
77 <%= pj[:progress_bar] %>
79 <%= render(partial: 'job_status_label',
80 locals: { :j => pj[:job] }) %>
82 <%= link_to_if_arvados_object pj[:output] %>
88 <tr><td colspan="5"></td></tr>
92 <% if @object.active %>
93 <% content_for :js do %>
94 setInterval(function(){$('a.refresh').click()}, 15000);
100 <p>Please set the desired input parameters for the components of this pipeline. Parameters highlighted in red are required.</p>
102 <% content_for :tab_line_buttons do %>
103 <%= form_tag @object, :method => :put do |f| %>
105 <%= hidden_field @object.class.to_s.underscore.singularize.to_sym, :active, :value => true %>
107 <%= button_tag "Run pipeline", {class: 'btn btn-primary pull-right', id: "run-pipeline-button"} %>
111 <table class="table pipeline-components-table" style="margin-top: -.1em">
113 <col style="width: 15%" />
114 <col style="width: 20%" />
115 <col style="width: 20%" />
116 <col style="width: 45%" />
133 <% template.components.each do |k, template_value| %>
136 <td><span class="label label-default"><%= k %></span></td>
138 <td><%= render_editable_subattribute @object, :components, [k, :script], template_value[:script] %></td>
140 <td>script version</td>
143 <%= render_editable_subattribute @object, :components, [k, :script_version], template_value[:script_version] %>
147 <% if template_value[:script_parameters].length > 0 %>
148 <% template_value[:script_parameters].each do |p, tv| %>
150 <td style="border-top: none"></td>
151 <td style="border-top: none"></td>
153 <td class="property-edit-row"><%= p %></td>
154 <td class="property-edit-row"><%= render_editable_subattribute @object, :components, [k, :script_parameters, p.to_sym], tv %></td>