1 <% content_for :css do %>
5 <% template = PipelineTemplate.find(@object.pipeline_template_uuid) rescue nil %>
7 <%= content_for :content_top do %>
9 <h2><%= template.name %></h2>
13 <% if @object.active != nil %>
14 <table class="table pipeline-components-table">
16 <col style="width: 15%" />
17 <col style="width: 20%" />
18 <col style="width: 12%" />
19 <col style="width: 12%" />
20 <col style="width: 45%" />
30 <%= link_to '(refresh)', request.fullpath, class: 'refresh', remote: true, method: 'get' %>
38 <% render_pipeline_jobs.each do |pj| %>
41 <% job_status = render(partial: 'job_status_label',
42 locals: { :j => pj[:job], :title => pj[:name] }) %>
43 <% if pj[:job].andand[:uuid] %>
44 <%= link_to(job_status, job_url(id: pj[:job][:uuid])) %>
50 <br /><span class="deemphasize"><%= pj[:script_version] %></span>
52 <%= pj[:progress_bar] %>
54 <%= render(partial: 'job_status_label',
55 locals: { :j => pj[:job] }) %>
57 <%= link_to_if_arvados_object pj[:output] %>
63 <tr><td colspan="5"></td></tr>
67 <% if @object.active %>
68 <% content_for :js do %>
69 setInterval(function(){$('a.refresh').click()}, 15000);
72 <% content_for :tab_line_buttons do %>
73 <%= form_tag @object, :method => :put do |f| %>
75 <%= hidden_field @object.class.to_s.underscore.singularize.to_sym, :active, :value => false %>
77 <%= button_tag "Stop pipeline", {class: 'btn btn-primary pull-right', id: "run-pipeline-button"} %>
85 <p>Please set the desired input parameters for the components of this pipeline. Parameters highlighted in red are required.</p>
87 <% content_for :tab_line_buttons do %>
88 <%= form_tag @object, :method => :put do |f| %>
90 <%= hidden_field @object.class.to_s.underscore.singularize.to_sym, :active, :value => true %>
92 <%= button_tag "Run pipeline", {class: 'btn btn-primary pull-right', id: "run-pipeline-button"} %>
96 <%= render partial: 'pipeline_templates/show_components_template', locals: {:template => template, :obj => @object} %>