Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 15424 Rev 15425
Línea 421... Línea 421...
421
        'off': 'LABEL_INACTIVE',
421
        'off': 'LABEL_INACTIVE',
422
        'width': '160px',
422
        'width': '160px',
423
        'height': '40px'
423
        'height': '40px'
424
    });
424
    });
Línea 425... Línea -...
425
 
-
 
426
    CKEDITOR.replace('functions');
-
 
427
    CKEDITOR.replace('objectives');
425
 
428
    /**
426
    /**
429
     * Clicked select competency
427
     * Clicked select competency
430
     */
428
     */
431
    $('body').on('click', 'button[id="btn-select-competency"]', function(e) {
429
    $('body').on('click', 'button[id="btn-select-competency"]', function(e) {
Línea 632... Línea 630...
632
     */
630
     */
633
    $('body').on('click', 'button.btn-edit-cancel', function(e) {
631
    $('body').on('click', 'button.btn-edit-cancel', function(e) {
634
        $('#row-lists').show();
632
        $('#row-lists').show();
635
        $('#row-form').hide();
633
        $('#row-form').hide();
636
    });
634
    });
637
});
-
 
Línea -... Línea 635...
-
 
635
 
-
 
636
    CKEDITOR.replace('functions', {
-
 
637
        toolbar: [
-
 
638
                    { name: 'editing', items: ['Scayt'] },
-
 
639
                    { name: 'links', items: ['Link', 'Unlink'] },
-
 
640
                    { name: 'paragraph', items: ['NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', 'Blockquote'] },
-
 
641
                    { name: 'basicstyles', items: ['Bold', 'Italic', 'Strike', 'RemoveFormat'] },
-
 
642
                    '/',
-
 
643
                    { name: 'insert', items: ['Image', 'Table', 'HorizontalRule', 'SpecialChar'] },
-
 
644
                    { name: 'styles', items: ['Styles', 'Format'] },
-
 
645
                    { name: 'tools', items: ['Maximize'] }
-
 
646
                ],
-
 
647
                removePlugins: 'elementspath,Anchor',
-
 
648
                heigth: 100
-
 
649
    });
-
 
650
    CKEDITOR.replace('objectives', {
-
 
651
        toolbar: [
-
 
652
                    { name: 'editing', items: ['Scayt'] },
-
 
653
                    { name: 'links', items: ['Link', 'Unlink'] },
-
 
654
                    { name: 'paragraph', items: ['NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', 'Blockquote'] },
-
 
655
                    { name: 'basicstyles', items: ['Bold', 'Italic', 'Strike', 'RemoveFormat'] },
-
 
656
                    '/',
-
 
657
                    { name: 'insert', items: ['Image', 'Table', 'HorizontalRule', 'SpecialChar'] },
-
 
658
                    { name: 'styles', items: ['Styles', 'Format'] },
-
 
659
                    { name: 'tools', items: ['Maximize'] }
-
 
660
                ],
-
 
661
                removePlugins: 'elementspath,Anchor',
-
 
662
                heigth: 100
-
 
663
    });
-
 
664
 
638
 
665
});
639
JS;
666
JS;
640
$this->inlineScript()->captureEnd();
667
$this->inlineScript()->captureEnd();
641
?>
668
?>
Línea 780... Línea 807...
780
 
807
 
781
                                echo $this->formLabel($element);
808
                                echo $this->formLabel($element);
782
                                echo $this->formTextArea($element);
809
                                echo $this->formTextArea($element);
783
                                ?>
810
                                ?>
784
                            </div>
-
 
785
                            <script>
-
 
786
                                CKEDITOR.replace('objectives', {
-
 
787
                                    toolbar: [{
-
 
788
                                            name: 'editing',
-
 
789
                                            items: ['Scayt']
-
 
790
                                        },
-
 
791
                                        {
-
 
792
                                            name: 'links',
-
 
793
                                            items: ['Link', 'Unlink']
-
 
794
                                        },
-
 
795
                                        {
-
 
796
                                            name: 'paragraph',
-
 
797
                                            items: ['NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', 'Blockquote']
-
 
798
                                        },
-
 
799
                                        {
-
 
800
                                            name: 'basicstyles',
-
 
801
                                            items: ['Bold', 'Italic', 'Strike', 'RemoveFormat']
-
 
802
                                        },
-
 
803
                                        '/',
-
 
804
                                        {
-
 
805
                                            name: 'insert',
-
 
806
                                            items: ['Image', 'Table', 'HorizontalRule', 'SpecialChar']
-
 
807
                                        },
-
 
808
                                        {
-
 
809
                                            name: 'styles',
-
 
810
                                            items: ['Styles', 'Format']
-
 
811
                                        },
-
 
812
                                        {
-
 
813
                                            name: 'tools',
-
 
814
                                            items: ['Maximize']
-
 
815
                                        }
-
 
816
                                    ],
-
 
817
                                    removePlugins: 'elementspath,Anchor',
-
 
818
                                    heigth: 100
-
 
819
                                });
-
 
820
                            </script>
811
                            </div>
821
                        </div>
812
                        </div>
822
                        <div class="tab-pane fade" id="custom-tabs-compentencies" role="tabpanel" aria-labelledby="custom-tabs-compentencies-tab">
813
                        <div class="tab-pane fade" id="custom-tabs-compentencies" role="tabpanel" aria-labelledby="custom-tabs-compentencies-tab">
823
                            <div class="row">
814
                            <div class="row">
824
                                <div class="col-md-8 col-sm-8 col-xs-12">
815
                                <div class="col-md-8 col-sm-8 col-xs-12">