Proyectos de Subversion LeadersLinked - Backend

Rev

Rev 267 | Rev 292 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 267 Rev 290
Línea 243... Línea 243...
243
                        NProgress.done();
243
                        NProgress.done();
244
                    });
244
                    });
245
                },
245
                },
246
            });
246
            });
247
        },
247
        },
248
        'aoColumns': [{
248
        'aoColumns': [
-
 
249
            {
-
 
250
                'mDataProp': 'user'
-
 
251
            },
-
 
252
            {
249
                'mDataProp': 'name'
253
                'mDataProp': 'name'
250
            },
254
            },
251
            {
255
            {
252
                'mDataProp': 'language'
256
                'mDataProp': 'language'
253
            },
257
            },
Línea 256... Línea 260...
256
            },
260
            },
257
            {
261
            {
258
                'mDataProp': 'actions'
262
                'mDataProp': 'actions'
259
            },
263
            },
260
        ],
264
        ],
261
        'columnDefs': [{
265
        'columnDefs': [
-
 
266
            {
-
 
267
                'targets': 0,
-
 
268
                'className': 'text-vertical-middle',
-
 
269
            },
-
 
270
            {
262
                'targets': 0,
271
                'targets': 0,
263
                'className': 'text-vertical-middle',
272
                'className': 'text-vertical-middle',
264
            },
273
            },
265
            {
274
            {
266
                'targets': 1,
275
                'targets': 1,
267
                'className': 'text-vertical-middle',
276
                'className': 'text-vertical-middle',
268
            },
277
            },
269
            {
278
            {
270
                'targets': -2,
279
                'targets': 1,
271
                'orderable': false,
-
 
272
                'className': 'text-center',
280
                'className': 'text-vertical-middle',
273
                'render': function(data, type, row) {
-
 
274
                    checked = data == 'a' ? ' checked="checked" ' : '';
-
 
275
                    return '<div class="checkbox checkbox-success">' +
-
 
276
                        '<input class="styled" type="checkbox" ' + checked + ' disabled="disabled">' +
-
 
277
                        '<label ></label></div>';
-
 
278
                }
-
 
279
            },
281
            },
280
            {
282
            {
281
                'targets': -1,
283
                'targets': -1,
282
                'orderable': false,
284
                'orderable': false,
283
                'render': function(data, type, row) {
285
                'render': function(data, type, row) {