X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/43c411ec1441ee1710dc33389d7451f7414a170f..1c4506929f883a25240e5cbc0a5e55597b9ddb1b:/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 3b73fb198e..1181b3e467 100644 --- a/apps/workbench/app/views/pipeline_instances/index.html.erb +++ b/apps/workbench/app/views/pipeline_instances/index.html.erb @@ -1,61 +1,17 @@ - - - - - - - +<% content_for :tab_line_buttons do %> +
+ + value="<%= params[:search] %>" + /> +
- <% @objects.sort_by { |ob| ob[:created_at] }.reverse.each do |ob| %> + <%= 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 %> - - - +<% end %> - <% end %> - - -
- 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[:job] 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 %> -
+<%= render file: 'application/index.html.erb', locals: local_assigns %>