style user transaction table

This commit is contained in:
Ilion Beyst 2015-09-09 21:26:19 +02:00
parent 1957e3854a
commit da7fb11b78

View file

@ -1,6 +1,6 @@
%h2= @user.name %h2= @user.name
%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
@ -31,7 +31,8 @@
var table = $('#transactions').DataTable({ var table = $('#transactions').DataTable({
processing: true, processing: true,
serverSide: true, serverSide: true,
searching: true, searching: false,
lengthChange: false,
ordering: false, ordering: false,
ajax: $('#transactions').data('source'), ajax: $('#transactions').data('source'),
pagingType: 'full_numbers', pagingType: 'full_numbers',