X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/f3d919829c017376eeccd27db9908b7f5a6e32aa..45ff1f04cf0a562b870e18ca13b02d914db6bcb3:/apps/workbench/app/views/collections/_show_recent.html.erb diff --git a/apps/workbench/app/views/collections/_show_recent.html.erb b/apps/workbench/app/views/collections/_show_recent.html.erb index 619420269e..e0a12ffbf6 100644 --- a/apps/workbench/app/views/collections/_show_recent.html.erb +++ b/apps/workbench/app/views/collections/_show_recent.html.erb @@ -1,42 +1,57 @@ <% content_for :tab_line_buttons do %> -
+
<%= form_tag collections_path, method: 'get', remote: true, class: 'form-search' do %> -
- <%= text_field_tag :search, params[:search], class: 'search-query' %> - <%= submit_tag "Search", name: nil, class: 'btn btn-info' %> +
+ <%= text_field_tag :search, params[:search], class: 'form-control', placeholder: 'Search collections' %> + + <%= button_tag(class: 'btn btn-info') do %> + + <% end %> +
<% end %>
<% end %> +<%= render partial: "paging", locals: {results: @collections, object: @object} %> +
- +<%= form_tag do |f| %> + +
+ - + - + + - + <%= render partial: 'index_tbody' %>
uuid contents owner agetags storagetags
+ +<% end %> +
-<% content_for :js do %> +<%= render partial: "paging", locals: {results: @collections, object: @object} %> + +<% content_for :footer_js do %> $(document).on('click', 'form[data-remote] input[type=submit]', function() { $('table#collections-index tbody').fadeTo(200, 0.3); return true;