Fix tables (#1963)

This commit is contained in:
aignatov-bio 2019-08-09 09:41:32 +02:00 committed by GitHub
parent 50045b9796
commit b57e79a557
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 8 additions and 5 deletions

View file

@ -213,7 +213,9 @@ function initLoadFromRepositoryTable(content) {
var datatable = tableEl.DataTable({
order: [[1, 'asc']],
dom: 'RBfltpi',
dom: "RBfl<'row'<'col-sm-12't>><'row'<'col-sm-7'i><'col-sm-5'p>>",
sScrollX: '100%',
sScrollXInner: '100%',
buttons: [],
processing: true,
serverSide: true,

View file

@ -625,7 +625,7 @@
function dataTableInit() {
var TABLE_ID = '#projects-overview-table';
TABLE = $(TABLE_ID).DataTable({
dom: "R<'row'<'col-sm-9-custom toolbar'l><'col-sm-3-custom'f>>tpi",
dom: "R<'row'<'col-sm-9-custom toolbar'l><'col-sm-3-custom'f>><'row'<'col-sm-12't>><'row'<'col-sm-7'i><'col-sm-5'p>>",
stateSave: true,
stateDuration: 0,
processing: true,

View file

@ -28,8 +28,10 @@ function initProtocolsTable() {
protocolsDatatable = protocolsTableEl.DataTable({
order: [[1, "asc"]],
dom: "RBfltpi",
dom: "RBfl<'row'<'col-sm-12't>><'row'<'col-sm-7'i><'col-sm-5'p>>",
stateSave: true,
sScrollX: '100%',
sScrollXInner: '100%',
buttons: [],
processing: true,
serverSide: true,

View file

@ -55,7 +55,7 @@ var RepositoryDatatable = (function(global) {
originalHeader = $(TABLE_ID + ' thead').children().clone();
viewAssigned = 'assigned';
TABLE = $(TABLE_ID).DataTable({
dom: "R<'row'<'col-sm-9-custom toolbar'l><'col-sm-3-custom'f>>tpi",
dom: "R<'row'<'col-sm-9-custom toolbar'l><'col-sm-3-custom'f>><'row'<'col-sm-12't>><'row'<'col-sm-7'i><'col-sm-5'p>>",
stateSave: true,
processing: true,
serverSide: true,

View file

@ -89,7 +89,6 @@
function initUsersTable() {
usersDatatable = $('#users-table').DataTable({
order: [[1, 'asc']],
dom: 'RBfltpi',
stateSave: true,
buttons: [],
processing: true,