Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 290 Rev 292
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
            {
-
 
253
                'mDataProp': 'name'
249
                'mDataProp': 'name'
254
            },
250
            },
255
            {
251
            {
256
                'mDataProp': 'language'
252
                'mDataProp': 'language'
257
            },
253
            },
Línea 260... Línea 256...
260
            },
256
            },
261
            {
257
            {
262
                'mDataProp': 'actions'
258
                'mDataProp': 'actions'
263
            },
259
            },
264
        ],
260
        ],
265
        'columnDefs': [
261
        'columnDefs': [{
266
            {
-
 
267
                'targets': 0,
-
 
268
                'className': 'text-vertical-middle',
-
 
269
            },
-
 
270
            {
-
 
271
                'targets': 0,
262
                'targets': 0,
272
                'className': 'text-vertical-middle',
263
                'className': 'text-vertical-middle',
273
            },
264
            },
274
            {
265
            {
275
                'targets': 1,
266
                'targets': 1,
276
                'className': 'text-vertical-middle',
267
                'className': 'text-vertical-middle',
277
            },
268
            },
278
            {
269
            {
279
                'targets': 1,
270
                'targets': -2,
-
 
271
                'orderable': false,
280
                'className': 'text-vertical-middle',
272
                'className': 'text-center',
-
 
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
                }
281
            },
279
            },
282
            {
280
            {
283
                'targets': -1,
281
                'targets': -1,
284
                'orderable': false,
282
                'orderable': false,
285
                'render': function(data, type, row) {
283
                'render': function(data, type, row) {