From da7fb11b78820756c45404aa595aab05abc8726e Mon Sep 17 00:00:00 2001 From: Ilion Beyst Date: Wed, 9 Sep 2015 21:26:19 +0200 Subject: [PATCH] style user transaction table --- app/views/users/show.html.haml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/views/users/show.html.haml b/app/views/users/show.html.haml index 877c2de..288c694 100644 --- a/app/views/users/show.html.haml +++ b/app/views/users/show.html.haml @@ -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',