From 7ea1ab38f3c033abb60d6e493674abd650313d2d Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Sat, 5 Oct 2013 06:04:49 +0200 Subject: [PATCH] resources_selected : keep it simple, turn off 'showing blabla' and the navigation buttons as well --- .../static/js/resources_selected.js | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/plugins/resources_selected/static/js/resources_selected.js b/plugins/resources_selected/static/js/resources_selected.js index 669bfca4..30ffbc5a 100644 --- a/plugins/resources_selected/static/js/resources_selected.js +++ b/plugins/resources_selected/static/js/resources_selected.js @@ -31,11 +31,15 @@ var self = this; this.table = this.elmt('table').dataTable({ - sDom: "<'row'<'col-xs-5'l><'col-xs-1'r><'col-xs-6'f>>t<'row'<'col-xs-5'i><'col-xs-7'p>>", - sPaginationType: 'full_numbers', +// the original hazelnut layout was +// sDom: "<'row'<'col-xs-5'l><'col-xs-1'r><'col-xs-6'f>>t<'row'<'col-xs-5'i><'col-xs-7'p>>", +// however the bottom line with 'showing blabla...' and the navigation widget are not really helpful + sDom: "<'row'<'col-xs-5'l><'col-xs-1'r><'col-xs-6'f>>t>", +// so this does not matter anymore now that the pagination area is turned off +// sPaginationType: 'bootstrap', bAutoWidth: true, - //bJQueryUI : true, - //bRetrieve : true, +// bJQueryUI : true, +// bRetrieve : true, // sScrollX : '100%', // Horizontal scrolling // bSortClasses : false, // Disable style for the sorted column // aaSorting : [[ 0, 'asc' ]], // Default sorting on URN -- 2.43.0