X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/7024cc159936593350aaf7939d700102f6510787..660e8d8345bfe7f34dfc8db655eff6a0af8bd47f:/apps/workbench/app/views/pipeline_templates/_show_recent.html.erb diff --git a/apps/workbench/app/views/pipeline_templates/_show_recent.html.erb b/apps/workbench/app/views/pipeline_templates/_show_recent.html.erb index c389aa0a48..3ea7d8c79b 100644 --- a/apps/workbench/app/views/pipeline_templates/_show_recent.html.erb +++ b/apps/workbench/app/views/pipeline_templates/_show_recent.html.erb @@ -1,7 +1,23 @@ +<% content_for :css do %> + .playbutton { + color: white; + background: rgb(91, 192, 222); + border: 0px; + border-radius: 3px; + padding: 0px 3px; + } + .playbutton:hover { + background: rgb(57, 179, 215); + } +<% end %> + +<%= render partial: "paging", locals: {results: @objects, object: @object} %> + +
+ id name @@ -17,6 +33,14 @@ <% @objects.sort_by { |ob| ob[:created_at] }.reverse.each do |ob| %>
+ <%= form_tag '/pipeline_instances' do |f| %> + <%= hidden_field :pipeline_instance, :pipeline_template_uuid, :value => ob.uuid %> + <%= button_tag nil, {class: 'playbutton', title: "Run #{ob.name}"} do %> + + <% end %> + <% end %> + <%= link_to_if_arvados_object ob %> @@ -32,3 +56,5 @@
+ +<%= render partial: "paging", locals: {results: @objects, object: @object} %>