1 <% content_for :css do %>
5 <% template = PipelineTemplate.find(@object.pipeline_template_uuid) rescue nil %>
7 <%= content_for :content_top do %>
9 <%= render_editable_attribute @object, 'name', nil, { 'data-emptytext' => 'Unnamed pipeline', 'data-mode' => 'inline' } %>
14 <%= link_to_if_arvados_object template, friendly_name: true %>
19 <% if @object.active != nil %>
20 <table class="table pipeline-components-table">
22 <col style="width: 15%" />
23 <col style="width: 20%" />
24 <col style="width: 12%" />
25 <col style="width: 12%" />
26 <col style="width: 45%" />
36 <%= link_to '(refresh)', request.fullpath, class: 'refresh', remote: true, method: 'get' %>
44 <% render_pipeline_jobs.each do |pj| %>
47 <% job_status = render(partial: 'job_status_label',
48 locals: { :j => pj[:job], :title => pj[:name] }) %>
49 <% if pj[:job].andand[:uuid] %>
50 <%= link_to(job_status, job_url(id: pj[:job][:uuid])) %>
56 <br /><span class="deemphasize"><%= pj[:script_version] %></span>
58 <%= pj[:progress_bar] %>
60 <%= render(partial: 'job_status_label',
61 locals: { :j => pj[:job] }) %>
63 <%= link_to_if_arvados_object pj[:output] %>
69 <tr><td colspan="5"></td></tr>
73 <% if @object.active %>
74 <% content_for :js do %>
75 setInterval(function(){$('a.refresh').click()}, 15000);
78 <% content_for :tab_line_buttons do %>
79 <%= form_tag @object, :method => :put do |f| %>
81 <%= hidden_field @object.class.to_s.underscore.singularize.to_sym, :active, :value => false %>
83 <%= button_tag "Stop pipeline", {class: 'btn btn-primary pull-right', id: "run-pipeline-button"} %>
91 <p>Please set the desired input parameters for the components of this pipeline. Parameters highlighted in red are required.</p>
93 <% content_for :tab_line_buttons do %>
94 <%= form_tag @object, :method => :put do |f| %>
96 <%= hidden_field @object.class.to_s.underscore.singularize.to_sym, :active, :value => true %>
98 <%= button_tag "Run pipeline", {class: 'btn btn-primary pull-right', id: "run-pipeline-button"} %>
102 <%= render partial: 'show_components_editable', locals: {editable: true} %>