X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/d4a781f59be7fc8308a58211ffdaa510c643bba9..f4750d53482ddb3990426563bb424f72790b9090:/apps/workbench/app/views/pipeline_instances/index.html.erb diff --git a/apps/workbench/app/views/pipeline_instances/index.html.erb b/apps/workbench/app/views/pipeline_instances/index.html.erb index dbf58a71ad..250d51a885 100644 --- a/apps/workbench/app/views/pipeline_instances/index.html.erb +++ b/apps/workbench/app/views/pipeline_instances/index.html.erb @@ -1,61 +1,21 @@ - - - - - - - +<%# Copyright (C) The Arvados Authors. All rights reserved. - <% @objects.sort_by { |ob| ob[:created_at] }.reverse.each do |ob| %> +SPDX-License-Identifier: AGPL-3.0 %> - - - +<% content_for :tab_line_buttons do %> +
+ + value="<%= params[:search] %>" + /> +
- <% end %> + <%= form_tag({action: 'compare', controller: params[:controller], method: 'get'}, {method: 'get', id: 'compare', class: 'pull-right small-form-margin'}) do |f| %> + <%= submit_tag 'Compare 2 or 3 selected', {class: 'btn btn-primary', disabled: true} %> + <% end rescue nil %> - -
- status - - id - - name - - template - - owner - - components - - dependencies - - created -
- <% if ob.success %> - success - <% elsif ob.active %> - active - <% end %> - - <%= link_to_if_arvados_object ob %> - - <%= ob.name %> - - <%= link_to_if_arvados_object ob.pipeline_template_uuid %> - - <%= link_to_if_arvados_object ob.owner %> - - <% ob.components.each do |cname, c| %> - <% status = if !(c.is_a?(Hash) && c[:job].is_a?(Hash)) then nil elsif c[:job][:success] then 'success' elsif c[:job][:running] then 'info' else 'warning' end %> - "><%= cname.to_s %> - <% end %> - - - <% ob.dependencies.each do |d| %> - <%= d %>
- <% end %> -
-
- <%= ob.created_at %> -
+<% end %> + +<%= render file: 'application/index.html.erb', locals: local_assigns %>