Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
Asistencia
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Billy Larru
Asistencia
Commits
6e376188
Commit
6e376188
authored
6 years ago
by
Billy Larru
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modificando defaultConfigDatatable
parent
a6b5da91
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
42 deletions
+22
-42
general.js
src/main/webapp/js/general.js
+22
-42
No files found.
src/main/webapp/js/general.js
View file @
6e376188
...
...
@@ -170,51 +170,31 @@ let logOut = () => {
function
defaultConfigDataTable
()
{
$
.
extend
(
$
.
fn
.
dataTable
.
defaults
,
{
bSort
:
false
,
bFilter
:
false
,
aaSorting
:
[],
ordering
:
false
,
bLengthChange
:
false
,
bInfo
:
true
,
paging
:
true
,
iDisplayLength
:
20
,
bStateSave
:
false
,
autoWidth
:
false
,
searching
:
false
,
lengthChange
:
false
,
responsive
:
true
,
bSort
:
false
,
dom
:
'<"datatable-header"fl><"datatable-scroll"t><"datatable-footer"ip>'
,
stateSave
:
true
,
language
:
{
"paginate"
:
{
'first'
:
'First'
,
'last'
:
'Last'
,
'next'
:
'→'
,
'previous'
:
'←'
},
"sProcessing"
:
"Procesando..."
,
"sLengthMenu"
:
"Mostrar _MENU_ registros"
,
"sZeroRecords"
:
"No se encontraron resultados"
,
"sEmptyTable"
:
"Ningún dato disponible en esta tabla"
,
"sInfo"
:
"Mostrando registros del _START_ al _END_ de un total de _TOTAL_ registros"
,
"sInfoEmpty"
:
"Mostrando registros del 0 al 0 de un total de 0 registros"
,
"sInfoFiltered"
:
"(filtrado de un total de _MAX_ registros)"
,
"sInfoPostFix"
:
""
,
"sSearch"
:
"Buscar:"
,
"sUrl"
:
""
,
"sInfoThousands"
:
","
,
"sLoadingRecords"
:
"Cargando..."
,
"oPaginate"
:
{
"sFirst"
:
"Primero"
,
"sLast"
:
"Último"
,
"sNext"
:
"Siguiente"
,
"sPrevious"
:
"Anterior"
},
"oAria"
:
{
"sSortAscending"
:
": Activar para ordenar la columna de manera ascendente"
,
"sSortDescending"
:
": Activar para ordenar la columna de manera descendente"
}
},
drawCallback
:
function
()
{
$
(
this
).
find
(
'tbody tr'
).
slice
(
-
3
).
find
(
'.dropdown, .btn-group'
).
addClass
(
'dropup'
);
},
preDrawCallback
:
function
()
{
$
(
this
).
find
(
'tbody tr'
).
slice
(
-
3
).
find
(
'.dropdown, .btn-group'
).
removeClass
(
'dropup'
);
},
rowCallback
:
function
(
row
,
data
,
index
)
{
if
(
$
(
row
).
hasClass
(
'odd'
))
{
$
(
row
).
css
(
'background-color'
,
'#e8f4f4'
);
lengthMenu
:
"Mostrar: _MENU_"
,
zeroRecords
:
" No se encontraron resultados"
,
info
:
" Mostrando del _START_ al _END_ de un total de _TOTAL_ registros"
,
infoEmpty
:
" Mostrando 0 de 0 registros"
,
search
:
"Filtrar:"
,
loadingRecords
:
"Cargando..."
,
processing
:
'<span style="width:100%;"><img src="http://www.snacklocal.com/images/ajaxload.gif"></span>'
,
paginate
:
{
first
:
"First"
,
last
:
"Last"
,
next
:
"Siguiente"
,
previous
:
"Anterior"
}
}
});
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment