1
0
mirror of https://github.com/dkmstr/openuds.git synced 2025-01-08 21:18:00 +03:00

Fixed log table

This commit is contained in:
Adolfo Gómez García 2016-04-19 05:11:34 +02:00
parent 030078a619
commit 0acc07ebb3

View File

@ -650,6 +650,7 @@
$("#" + tblParams.container).append table.text $("#" + tblParams.container).append table.text
# Responsive style for tables, using tables.css and this code generates the "titles" for vertical display on small sizes # Responsive style for tables, using tables.css and this code generates the "titles" for vertical display on small sizes
tbId = gui.genRamdonId('tb')
initLog = (data) -> initLog = (data) ->
$("#" + tableId).DataTable $("#" + tableId).DataTable
data: data data: data
@ -659,7 +660,9 @@
columns: columns columns: columns
language: gui.config.dataTablesLanguage language: gui.config.dataTablesLanguage
# dom: '<"' + tbId + ' btns-tables">fr<"uds-table"t>ip' # dom: '<"' + tbId + ' btns-tables">fr<"uds-table"t>ip'
dom: "<'row'<'col-xs-8'T><'col-xs-4'f>r>t<'row'<'col-xs-5'i><'col-xs-7'p>>" dom: '<"' + tbId + ' btns-tables">fr<"uds-table"t>ip'
# dom: "<'row'<'col-xs-8'T><'col-xs-4'f>r>t<'row'<'col-xs-5'i><'col-xs-7'p>>"
deferRender: tblParams.deferedRender or tblParams.deferRender or false deferRender: tblParams.deferedRender or tblParams.deferRender or false
# bDeferRender: tblParams.deferedRender or false # bDeferRender: tblParams.deferedRender or false
createdRow: (row, data, dataIndex) -> createdRow: (row, data, dataIndex) ->
@ -673,6 +676,7 @@
# Fix form # Fix form
$("#" + tableId + "_filter label").addClass "form-inline"
$("#" + tableId + "_filter input").addClass "form-control" $("#" + tableId + "_filter input").addClass "form-control"
# Add refresh action to panel # Add refresh action to panel