style user transaction table
This commit is contained in:
parent
1957e3854a
commit
da7fb11b78
1 changed files with 3 additions and 2 deletions
|
@ -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',
|
||||||
|
|
Loading…
Reference in a new issue