% content_for :css do %> .pipeline_color_legend { padding-left: 1em; padding-right: 1em; } table.pipeline-components-table { width: 100%; table-layout: fixed; overflow: hidden; } table.pipeline-components-table thead th { text-align: bottom; } table.pipeline-components-table div.progress { margin-bottom: 0; } table.pipeline-components-table td { overflow: hidden; text-overflow: ellipsis; } td.required { background: #ffdddd; } <% end %> <% template = PipelineTemplate.find(@object.pipeline_template_uuid) %> <% if template %>
component | script, version | progress <%= link_to '(refresh)', request.fullpath, class: 'refresh', remote: true, method: 'get' %> | output | |
---|---|---|---|---|
<% label = if pj[:job].andand[:uuid] if pj[:job][:success] == true 'label-success' elsif pj[:job][:success] == false 'label-danger' elsif pj[:job][:running] == true 'label-info' else 'label-default' end else 'label-default' end %> <% if pj[:job].andand[:uuid] %> <%= link_to pj[:name], job_url(id: pj[:job][:uuid]), class: "label #{label}" %> <% else %> <%= pj[:name] %> <% end %> |
<%= pj[:script] %>
<%= pj[:script_version] %> | <%= pj[:progress_bar] %> | <% if pj[:job].andand[:cancelled_at] %> cancelled <% elsif pj[:failed] %> failed <% elsif pj[:result] == 'queued' %> queued <% end %> | <%= link_to_if_arvados_object pj[:output] %> |
component | script | parameter | value |
---|---|---|---|
<%= k %> | <%= render_editable_subattribute @object, :components, [k, :script], template_value[:script] %> | script version | <%= render_editable_subattribute @object, :components, [k, :script_version], template_value[:script_version] %> |
<%= p %> | <%= render_editable_subattribute @object, :components, [k, :script_parameters, p.to_sym], tv %> | <% end %>