reapply iasoon's pretty destructive styling in a non-destructive way

This commit is contained in:
Felix Van der Jeugt 2015-09-11 10:34:04 +02:00
parent 5e84d853fc
commit 9dcfa33d16

View file

@ -29,7 +29,7 @@
%input{type: 'text', placeholder: 'Filter on Message'} %input{type: 'text', placeholder: 'Filter on Message'}
%table#transactions.display.responsive.no-wrap{data: { source: user_path(@user) }} %table#transactions.pure-table.pure-table-striped{data: { source: user_path(@user) }}
%thead %thead
%tr %tr
%th Time %th Time
@ -45,6 +45,7 @@
processing: true, processing: true,
serverSide: true, serverSide: true,
searching: true, searching: true,
lengthChange: false,
ordering: false, ordering: false,
ajax: $('#transactions').data('source'), ajax: $('#transactions').data('source'),
pagingType: 'full_numbers', pagingType: 'full_numbers',
@ -59,6 +60,8 @@
] ]
}); });
$('.dataTables_filter').hide();
$('.input-listen').each(function(index, element) { $('.input-listen').each(function(index, element) {
var filter = $(element); var filter = $(element);
var type = filter.attr('data-input-type'); var type = filter.attr('data-input-type');