Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 8767 Rev 8889
Línea 445... Línea 445...
445
        },
445
        },
446
        'aoColumns': [
446
        'aoColumns': [
447
            { 'mDataProp': 'first_name' },
447
            { 'mDataProp': 'first_name' },
448
            { 'mDataProp': 'last_name' },
448
            { 'mDataProp': 'last_name' },
449
            { 'mDataProp': 'email' },
449
            { 'mDataProp': 'email' },
-
 
450
            { 'mDataProp': 'status' },
450
            { 'mDataProp': 'actions' },
451
            { 'mDataProp': 'actions' },
451
        ],
452
        ],
452
        'columnDefs': [
453
        'columnDefs': [
453
            {
454
            {
-
 
455
                'targets': -2,
-
 
456
                'orderable': false,
-
 
457
                'className': 'text-center',
-
 
458
                'render': function(data, type, row) {
-
 
459
                    checked = data == 'a' ? ' checked="checked" ' : '';
-
 
460
                    return '<div class="checkbox checkbox-success">' +
-
 
461
                        '<input class="styled" type="checkbox" ' + checked + ' disabled="disabled">' +
-
 
462
                        '<label ></label></div>';
-
 
463
                }
-
 
464
            },
-
 
465
            {
454
                'targets': -1,
466
                'targets': -1,
455
                'orderable': false,
467
                'orderable': false,
456
                'render': function (data, type, row) {
468
                'render': function (data, type, row) {
457
                    s = '';
469
                    s = '';
Línea 588... Línea 600...
588
                            <thead>
600
                            <thead>
589
                            <tr>
601
                            <tr>
590
                                <th>LABEL_FIRST_NAME</th>
602
                                <th>LABEL_FIRST_NAME</th>
591
                                <th>LABEL_LAST_NAME</th>
603
                                <th>LABEL_LAST_NAME</th>
592
                                <th>LABEL_EMAIL</th>
604
                                <th>LABEL_EMAIL</th>
-
 
605
                                <th>LABEL_STATUS</th>
593
                                <th>LABEL_ACTIONS</th>
606
                                <th>LABEL_ACTIONS</th>
594
                            </tr>
607
                            </tr>
595
                            </thead>
608
                            </thead>
596
                            <tbody>
609
                            <tbody>
597
                            </tbody>
610
                            </tbody>