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
|
||||
|
||||
%table#transactions.display.responsive.no-wrap{data: { source: user_path(@user) }}
|
||||
%table#transactions.pure-table.pure-table-striped{data: { source: user_path(@user) }}
|
||||
%thead
|
||||
%tr
|
||||
%th Time
|
||||
|
@ -31,7 +31,8 @@
|
|||
var table = $('#transactions').DataTable({
|
||||
processing: true,
|
||||
serverSide: true,
|
||||
searching: true,
|
||||
searching: false,
|
||||
lengthChange: false,
|
||||
ordering: false,
|
||||
ajax: $('#transactions').data('source'),
|
||||
pagingType: 'full_numbers',
|
||||
|
|
Loading…
Reference in a new issue