X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/16d4aaa4520d2179e6f3f6af9173470463e13714..f6f07b1856fc0aa32cdf1f96d5bdeb12e9e314ef:/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..a4ab51c159 100644 --- a/apps/workbench/app/views/collections/_show_recent.html.erb +++ b/apps/workbench/app/views/collections/_show_recent.html.erb @@ -13,72 +13,45 @@ <% end %> +<%= render partial: "paging", locals: {results: @collections, object: @object} %> +
- +<%= form_tag do |f| %> + +
+ - - - - - + + + + + - - + <%= render partial: 'index_tbody' %>
uuid contentsowner agetags storagetags
-
-<% 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: @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; }); -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