1 <%= content_for :css do %>
2 <%# https://github.com/mbostock/d3/wiki/Ordinal-Scales %>
3 <% n=-1; %w(#1f77b4 #ff7f0e #2ca02c #d62728 #9467bd #8c564b #e377c2 #7f7f7f #bcbd22 #17becf).each do |color| %>
4 .colorseries-10-<%= n += 1 %>, .btn.colorseries-10-<%= n %>:hover, .label.colorseries-10-<%= n %>:hover {
5 *background-color: <%= color %>;
6 background-color: <%= color %>;
7 background-image: none;
16 <table class="topalign table table-bordered">
21 <% @provenance.reverse.each do |p| %>
27 <td style="padding-bottom: 3em">
28 <table class="table" style="margin-bottom: 0; background: #f0f0ff">
29 <% j.script_parameters.each do |k,v| %>
31 <td style="width: 20%">
33 </td><td style="width: 60%">
34 <% if v and @output2job.has_key? v %>
35 <tt class="label colorseries-10-<%= @output2colorindex[v] %>"><%= link_to_if_arvados_object v %></tt>
37 <span class="deemphasize"><%= link_to_if_arvados_object v %></span>
39 </td><td style="text-align: center; width: 20%">
42 labelclass = 'success'
45 labelclass = @output2job.has_key?(v) ? 'warning' : 'danger'
49 <tt class="label label-<%= labelclass %>"><%= labeltext %></tt>
55 <div style="text-align: center">
58 <span class="label"><%= j.script %><br /><tt><%= link_to_if j.script_version.match(/[0-9a-f]{40}/), j.script_version, "https://arvados.org/projects/arvados/repository/revisions/#{j.script_version}/entry/crunch_scripts/#{j.script}" if j.script_version %></tt></span>
62 <tt class="label colorseries-10-<%= @output2colorindex[p[:output]] %>"><%= link_to_if_arvados_object p[:output] %></tt>
66 <tt><span class="deemphasize">job:</span><br /><%= link_to_if_arvados_object j %><br /><span class="deemphasize"><%= j.submit_id %></span></tt>
73 <span class="label label-danger">lookup fail</span>
75 <tt class="deemphasize"><%= p[:target] %></tt>