X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/36601cdb390b06d0128152cbda6df7aadfab6aca..1ab33aed37fdcd448fe224375951089282901c48:/apps/workbench/app/views/collections/index.html.erb diff --git a/apps/workbench/app/views/collections/index.html.erb b/apps/workbench/app/views/collections/index.html.erb index 11cacc7b8c..e1285e83c6 100644 --- a/apps/workbench/app/views/collections/index.html.erb +++ b/apps/workbench/app/views/collections/index.html.erb @@ -1,45 +1,18 @@ -<%#= render :partial => 'nav' %> +<%# Copyright (C) The Arvados Authors. All rights reserved. -
- <%= form_tag collections_path, method: 'get', remote: true do %> -
- <%= text_field_tag :search, params[:search] %> - <%= submit_tag "Search", name: nil, class: 'btn btn-info' %> -
- <% end %> -
+SPDX-License-Identifier: AGPL-3.0 %> - - - - - - - - - - - - - - - <%= render partial: 'index_tbody' %> - -
- uuid - - contents - - age - - tags - - storage -
- -<% content_for :js do %> -$(document).on('click', 'form[data-remote] input[type=submit]', function() { - $('table#collections-index tbody').fadeTo(200, 0.3); - return true; -}); +<% 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: 'form-control', placeholder: 'Search collections' %> + + <%= button_tag(class: 'btn btn-info') do %> + + <% end %> + +
+ <% end %> <% end %> + +<%= render file: 'application/index.html.erb', locals: local_assigns %>