X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/16d4aaa4520d2179e6f3f6af9173470463e13714..007d2919fc56632bc957d90378ed7a5d3b14aa3c:/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 e0afb9c06a..39651cc419 100644 --- a/apps/workbench/app/views/collections/_show_recent.html.erb +++ b/apps/workbench/app/views/collections/_show_recent.html.erb @@ -1,84 +1,61 @@ -<% 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 partial: "paging", locals: {results: @objects, object: @object} %>

- +<%= form_tag do |f| %> + +
- - - - - + + + + + - - + - <%= render partial: 'index_tbody' %>
uuid contentsowneragecreated at tagsstorage
-
-<% content_for :css do %> -table.table-fixed-header-row {width: 100%;border-spacing: 0px;margin:0;} -table.table-fixed-header-row thead {position:fixed; background: #fff;} -table.table-fixed-header-row tbody {position:relative; top:1.5em;} <% end %> + +
+ +<%= render partial: "paging", locals: {results: @objects, 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; }); -HeaderRowFixer = function(selector) { - settings = { - tables: $(selector), - thead: [] - }; - - this.duplicateTheadTr = function() { - $('>tbody', settings.tables).each(function(){ - $(this).prepend($('thead>tr', this).clone().css('opacity:0')); - }); - } - this.fixThead = function() { - settings.tables.each(function() { - var widths = []; - $('> tbody > tr:eq(1) > td', this).each( function(i,v){ - widths.push($(v).width()); - }); - for(i=0;i + +