X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/f0ab1bd48f45470ffb6fefafa713c51347f5a194..6d1c41d6fd83824669cd1a6d714ea6da1ae7ab4c:/apps/workbench/app/views/pipeline_instances/_show_recent.html.erb diff --git a/apps/workbench/app/views/pipeline_instances/_show_recent.html.erb b/apps/workbench/app/views/pipeline_instances/_show_recent.html.erb index fc67e1791a..3aac9309bb 100644 --- a/apps/workbench/app/views/pipeline_instances/_show_recent.html.erb +++ b/apps/workbench/app/views/pipeline_instances/_show_recent.html.erb @@ -1,15 +1,10 @@ -<%= content_for :tab_line_buttons do %> -<%= 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, style: 'display: none'} %> -   -<% end rescue nil %> -<% end %> +<%# Copyright (C) The Arvados Authors. All rights reserved. -<%= render partial: "paging", locals: {results: @objects, object: @object} %> +SPDX-License-Identifier: AGPL-3.0 %> -<%= form_tag do |f| %> +<%= form_tag({}, {id: "comparedInstances"}) do |f| %> - +
@@ -36,45 +31,11 @@ - - - <% @objects.sort_by { |ob| ob.created_at }.reverse.each do |ob| %> - - - - - - - - - <% end %> + +
- <%= check_box_tag 'uuids[]', ob.uuid, false, :class => 'persistent-selection' %> - - <%= render partial: 'pipeline_status_label', locals: {:p => ob} %> - - <%= link_to_if_arvados_object ob, friendly_name: true %> - - <%= link_to_if_arvados_object ob.pipeline_template_uuid, friendly_name: true %> - - <%= link_to_if_arvados_object ob.owner_uuid, friendly_name: true %> - - <%= ob.created_at.to_s %> - - <%= render partial: 'delete_object_button', locals: {object:ob} %> -
- - <% ob.components.each do |cname, c| %> - <% if c[:job] %> - <%= render partial: "job_status_label", locals: {:j => c[:job], :title => cname.to_s } %> - <% else %> - <%= cname.to_s %> - <% end %> - <% end %> -
<% end %> - -<%= render partial: "paging", locals: {results: @objects, object: @object} %>