1 <% content_for :css do %>
2 .pipeline_color_legend {
6 table.pipeline-components-table thead th {
9 table.pipeline-components-table div.progress {
15 <table class="table pipeline-components-table">
28 <%= link_to '(refresh)', request.fullpath, class: 'refresh', remote: true, method: 'get' %>
37 <% render_pipeline_jobs.each do |pj| %>
40 <% if pj[:job].andand[:uuid] %>
41 <%= link_to pj[:name], job_url(id: pj[:job][:uuid]) %>
46 <%= pj[:progress_bar] %>
47 <% if pj[:job].andand[:cancelled_at] %>
48 <span class="pull-right label label-warning">cancelled</span>
49 <% elsif pj[:failed] %>
50 <span class="pull-right label label-warning">failed</span>
51 <% elsif pj[:result] == 'queued' %>
52 <span class="pull-right label">queued</span>
56 <br /><span class="deemphasize"><%= pj[:script_version] %></span>
58 <%= link_to_if_arvados_object pj[:output] %>
64 <tr><td colspan="4"></td></tr>
68 <% if @pipelines.count > 1 %>
69 <div style="text-align: center">
70 <span class="pipeline_color_legend" style="background: #88ff88">This pipeline</span>
71 <span class="pipeline_color_legend" style="background: #8888ff">Comparison pipeline</span>
72 <span class="pipeline_color_legend" style="background: #88ffff">Shared by both pipelines</span>
76 <%= render partial: 'application/svg_div', locals: {
77 divId: "provenance_graph",
78 svgId: "provenance_svg",
81 <div style="height: 1em"></div>
83 <%= render partial: 'arvados_object' %>
85 <% if @object.active %>
86 <% content_for :js do %>
87 setInterval(function(){$('a.refresh').click()}, 30000);