Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 3109 Rev 3788
Línea 1... Línea 1...
1
<?php 
1
<?php
-
 
2
 
2
use LeadersLinked\Model\JobDescription;
3
use LeadersLinked\Model\JobDescription;
Línea 3... Línea 4...
3
 
4
 
4
$acl            = $this->viewModel()->getRoot()->getVariable('acl');
5
$acl            = $this->viewModel()->getRoot()->getVariable('acl');
Línea 419... Línea 420...
419
        'on': 'LABEL_ACTIVE',
420
        'on': 'LABEL_ACTIVE',
420
        'off': 'LABEL_INACTIVE',
421
        'off': 'LABEL_INACTIVE',
421
        'width': '160px',
422
        'width': '160px',
422
        'height': '40px'
423
        'height': '40px'
423
    });
424
    });
-
 
425
    
424
    CKEDITOR.replace('functions');
426
    CKEDITOR.replace('functions', {
-
 
427
        toolbar: [
-
 
428
            { name: 'editing', items: [ 'Scayt' ] },
-
 
429
            { name: 'links', items: [ 'Link', 'Unlink'] },
-
 
430
            { name: 'paragraph', items: [ 'NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', 'Blockquote' ] },
-
 
431
            { name: 'basicstyles', items: [ 'Bold', 'Italic', 'Strike', 'RemoveFormat' ] },
-
 
432
            '/',
-
 
433
            { name: 'insert', items: [ 'Image', 'Table', 'HorizontalRule', 'SpecialChar' ] },
-
 
434
            { name: 'styles', items: [ 'Styles', 'Format' ] },
-
 
435
            { name: 'tools', items: [ 'Maximize' ] }
-
 
436
        ],
-
 
437
        heigth: 100
-
 
438
    });
-
 
439
 
425
    CKEDITOR.replace('objectives');
440
    CKEDITOR.replace('objectives', {
-
 
441
        toolbar: [
-
 
442
            { name: 'editing', items: [ 'Scayt' ] },
-
 
443
            { name: 'links', items: [ 'Link', 'Unlink'] },
-
 
444
            { name: 'paragraph', items: [ 'NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', 'Blockquote' ] },
-
 
445
            { name: 'basicstyles', items: [ 'Bold', 'Italic', 'Strike', 'RemoveFormat' ] },
-
 
446
            '/',
-
 
447
            { name: 'insert', items: [ 'Image', 'Table', 'HorizontalRule', 'SpecialChar' ] },
-
 
448
            { name: 'styles', items: [ 'Styles', 'Format' ] },
-
 
449
            { name: 'tools', items: [ 'Maximize' ] }
-
 
450
        ],
-
 
451
        heigth: 100
-
 
452
    });
426
    /**
453
    /**
427
     * Clicked select competency
454
     * Clicked select competency
428
     */
455
     */
429
    $('body').on('click', 'button[id="btn-select-competency"]', function(e) {
456
    $('body').on('click', 'button[id="btn-select-competency"]', function(e) {
430
        if ($("#select-competency").val() == "") {
457
        if ($("#select-competency").val() == "") {
Línea 637... Línea 664...
637
JS;
664
JS;
638
$this->inlineScript()->captureEnd();
665
$this->inlineScript()->captureEnd();
639
?>
666
?>
640
<section class="content" id="row-lists">
667
<section class="content" id="row-lists">
Línea 641... Línea 668...
641
 
668
 
642
<!-- Content Header (Page header) -->
669
    <!-- Content Header (Page header) -->
643
<div class="content-header">
670
    <div class="content-header">
644
   <div class="container-fluid">
671
        <div class="container-fluid">
645
      <div class="row mb-2">
672
            <div class="row mb-2">
646
         <div class="col-sm-12">
673
                <div class="col-sm-12">
647
            <h1>LABEL_JOBS_DESCRIPTION</h1>
-
 
648
         </div>
-
 
649
      </div>
-
 
650
   </div>
-
 
651
   <!-- /.container-fluid -->
-
 
652
</div>
-
 
653
   <div class="container-fluid">
-
 
654
      <div class="row">
-
 
655
         <div class="col-12">
-
 
656
            <div class="card">
-
 
657
               <div class="card-body">
-
 
658
                  <table id="gridTable" class="table   table-hover">
-
 
659
                     <thead>
-
 
660
                        <tr>
-
 
661
                           <th>LABEL_NAME</th>
-
 
662
                           <th>LABEL_ACTIVE</th>
-
 
663
                           <th>LABEL_ACTIONS</th>
-
 
664
                        </tr>
-
 
665
                     </thead>
-
 
666
                     <tbody>
-
 
667
                     </tbody>
-
 
668
                  </table>
-
 
669
               </div>
-
 
670
               <div class="card-footer clearfix">
-
 
671
                  <div style="float:right;">
-
 
672
                     <button type="button" class="btn btn-info btn-refresh"><i class="fa fa-refresh"></i> LABEL_REFRESH  </button>
-
 
673
                     <?php if($allowAdd) : ?>
-
 
674
                     <?php if($allowImport) : ?>
-
 
675
                     <button type="button" class="btn btn-primary btn-import"><i class="fa fa-upload"></i> LABEL_IMPORT </button>
-
 
676
                     <?php endif; ?>
-
 
677
                     <button type="button" class="btn btn-primary btn-add"><i class="fa fa-plus"></i> LABEL_ADD </button>
-
 
678
                     <?php endif; ?>
-
 
679
                  </div>
674
                    <h1>LABEL_JOBS_DESCRIPTION</h1>
680
               </div>
675
                </div>
681
            </div>
676
            </div>
-
 
677
        </div>
-
 
678
        <!-- /.container-fluid -->
-
 
679
    </div>
-
 
680
    <div class="container-fluid">
-
 
681
        <div class="row">
-
 
682
            <div class="col-12">
-
 
683
                <div class="card">
-
 
684
                    <div class="card-body">
-
 
685
                        <table id="gridTable" class="table   table-hover">
-
 
686
                            <thead>
-
 
687
                                <tr>
-
 
688
                                    <th>LABEL_NAME</th>
-
 
689
                                    <th>LABEL_ACTIVE</th>
-
 
690
                                    <th>LABEL_ACTIONS</th>
-
 
691
                                </tr>
-
 
692
                            </thead>
-
 
693
                            <tbody>
-
 
694
                            </tbody>
-
 
695
                        </table>
-
 
696
                    </div>
-
 
697
                    <div class="card-footer clearfix">
-
 
698
                        <div style="float:right;">
-
 
699
                            <button type="button" class="btn btn-info btn-refresh"><i class="fa fa-refresh"></i> LABEL_REFRESH </button>
-
 
700
                            <?php if ($allowAdd) : ?>
-
 
701
                                <?php if ($allowImport) : ?>
-
 
702
                                    <button type="button" class="btn btn-primary btn-import"><i class="fa fa-upload"></i> LABEL_IMPORT </button>
-
 
703
                                <?php endif; ?>
-
 
704
                                <button type="button" class="btn btn-primary btn-add"><i class="fa fa-plus"></i> LABEL_ADD </button>
-
 
705
                            <?php endif; ?>
-
 
706
                        </div>
-
 
707
                    </div>
-
 
708
                </div>
682
         </div>
709
            </div>
683
      </div>
710
        </div>
684
   </div>
711
    </div>
Línea 685... Línea 712...
685
</section>
712
</section>
686
 
713
 
687
<section id="row-form" style="display:none">
714
<section id="row-form" style="display:none">
688
<div class="container">
715
    <div class="container">
689
      <!-- Modal Header -->
716
        <!-- Modal Header -->
690
      <div class="modal-header">
717
        <div class="modal-header">
691
         <h4 class="modal-title">LABEL_JOB_DESCRIPTION - <span id="form-title"></span></h4>
718
            <h4 class="modal-title">LABEL_JOB_DESCRIPTION - <span id="form-title"></span></h4>
692
      </div>
719
        </div>
693
      <!-- Modal body -->
720
        <!-- Modal body -->
694
      <div class="modal-body">
721
        <div class="modal-body">
695
         <div class="card card-primary card-outline card-tabs">
722
            <div class="card card-primary card-outline card-tabs">
696
            <div class="card-header p-0 pt-1 border-bottom-0">
723
                <div class="card-header p-0 pt-1 border-bottom-0">
697
               <ul class="nav nav-tabs" id="custom-tabs" role="tablist">
724
                    <ul class="nav nav-tabs" id="custom-tabs" role="tablist">
698
                  <li class="nav-item">
725
                        <li class="nav-item">
699
                     <a class="nav-link active" id="custom-tabs-general-tab" data-toggle="pill" href="#custom-tabs-general" role="tab" aria-controls="custom-tabs-general" aria-selected="true">LABEL_GENERAL</a>
726
                            <a class="nav-link active" id="custom-tabs-general-tab" data-toggle="pill" href="#custom-tabs-general" role="tab" aria-controls="custom-tabs-general" aria-selected="true">LABEL_GENERAL</a>
700
                  </li>
727
                        </li>
701
                  <li class="nav-item">
728
                        <li class="nav-item">
702
                     <a class="nav-link" id="custom-tabs-compentencies-tab" data-toggle="pill" href="#custom-tabs-compentencies" role="tab" aria-controls="custom-tabs-compentencies" aria-selected="false">LABEL_COMPETENCIES</a>
729
                            <a class="nav-link" id="custom-tabs-compentencies-tab" data-toggle="pill" href="#custom-tabs-compentencies" role="tab" aria-controls="custom-tabs-compentencies" aria-selected="false">LABEL_COMPETENCIES</a>
703
                  </li>
730
                        </li>
704
                  <li class="nav-item">
731
                        <li class="nav-item">
705
                     <a class="nav-link" id="custom-tabs-subordinate-tab" data-toggle="pill" href="#custom-tabs-subordinate" role="tab" aria-controls="custom-tabs-subordinate" aria-selected="false">LABEL_SUBORDINATES</a>
732
                            <a class="nav-link" id="custom-tabs-subordinate-tab" data-toggle="pill" href="#custom-tabs-subordinate" role="tab" aria-controls="custom-tabs-subordinate" aria-selected="false">LABEL_SUBORDINATES</a>
706
                  </li>
733
                        </li>
707
               </ul>
734
                    </ul>
708
            </div>
735
                </div>
709
            <div class="card-body">
736
                <div class="card-body">
710
               <?php 
737
                    <?php
711
                  $form = $this->form;
738
                    $form = $this->form;
712
                  $form->setAttributes([
739
                    $form->setAttributes([
713
                      'method'    => 'post',
740
                        'method'    => 'post',
714
                      'name'      => 'form',
741
                        'name'      => 'form',
715
                      'id'        => 'form'
742
                        'id'        => 'form'
716
                  ]);
743
                    ]);
717
                  
744
 
718
                  $form->prepare();
745
                    $form->prepare();
719
                  echo $this->form()->openTag($form);
746
                    echo $this->form()->openTag($form);
720
                  ?>		
747
                    ?>
721
               <input type="hidden" id="subordinates_selected" name="subordinates_selected" value="">	
748
                    <input type="hidden" id="subordinates_selected" name="subordinates_selected" value="">
722
               <input type="hidden" id="competencies_selected" name="competencies_selected" value="">			
749
                    <input type="hidden" id="competencies_selected" name="competencies_selected" value="">
723
               <div class="tab-content" id="custom-tabs-three-tabContent">
750
                    <div class="tab-content" id="custom-tabs-three-tabContent">
-
 
751
                        <div class="tab-pane fade show active" id="custom-tabs-general" role="tabpanel" aria-labelledby="custom-tabs-general-tab">
-
 
752
                            <div class="row">
-
 
753
                                <div class="col-md col-sm-12 col-12">
-
 
754
                                    <div class="form-group m-0">
-
 
755
                                        <?php
-
 
756
                                        $element = $form->get('name');
-
 
757
                                        $element->setOptions(['label' => 'LABEL_NAME']);
-
 
758
                                        $element->setAttributes(['class' => 'form-control']);
-
 
759
 
-
 
760
                                        echo $this->formLabel($element);
-
 
761
                                        echo $this->formText($element);
-
 
762
                                        ?>
724
                  <div class="tab-pane fade show active" id="custom-tabs-general" role="tabpanel" aria-labelledby="custom-tabs-general-tab">
763
                                    </div>
-
 
764
                                </div>
-
 
765
                                <div class="col-md col-sm-12 col-12">
-
 
766
                                    <div class="form-group m-0">
-
 
767
                                        <?php
-
 
768
                                        $element = $form->get('job_description_id_boss');
-
 
769
                                        $element->setOptions(['label' => 'LABEL_BOSS']);
-
 
770
                                        $element->setAttributes(['class' => 'form-control']);
-
 
771
 
-
 
772
                                        echo $this->formLabel($element);
-
 
773
                                        echo $this->formSelect($element);
-
 
774
                                        ?>
-
 
775
                                    </div>
-
 
776
                                </div>
-
 
777
                                <div class="col-md col-sm-12 col-12 d-flex align-items-center justify-content-center">
-
 
778
                                    <div class="form-group m-0">
-
 
779
                                        <label>LABEL_STATUS</label>
-
 
780
                                        <br />
-
 
781
                                        <?php
-
 
782
                                        $element = $form->get('status');
-
 
783
                                        $element->setOptions(['label' => 'LABEL_STATUS']);
-
 
784
                                        // echo $this->formLabel($element);
-
 
785
                                        echo $this->formCheckbox($element);
-
 
786
                                        ?>
-
 
787
                                    </div>
-
 
788
                                </div>
-
 
789
                            </div>
-
 
790
                            <div class="form-group">
-
 
791
                                <?php
-
 
792
                                $element = $form->get('objectives');
-
 
793
                                $element->setOptions(['label' => 'LABEL_OBJECTIVES']);
-
 
794
                                $element->setAttributes(['class' => 'form-control']);
-
 
795
 
-
 
796
                                echo $this->formLabel($element);
-
 
797
                                echo $this->formTextArea($element);
725
                     <div class="row">
798
                                ?>
726
                        <div class="col-md col-sm-12 col-12">
799
                            </div>
727
                           <div class="form-group m-0">
800
                            <div class="form-group">
728
                              <?php 
801
                                <?php
729
                                 $element = $form->get('name');
802
                                $element = $form->get('functions');
730
                                 $element->setOptions(['label' => 'LABEL_NAME']);
803
                                $element->setOptions(['label' => 'LABEL_FUNCTIONS']);
731
                                 $element->setAttributes(['class' => 'form-control']); 
804
                                $element->setAttributes(['class' => 'form-control']);
732
                                                     
805
 
733
                                 echo $this->formLabel($element);
806
                                echo $this->formLabel($element);
734
                                 echo $this->formText($element);
807
                                echo $this->formTextArea($element);
735
                                 ?>
808
                                ?>
-
 
809
                            </div>
736
                           </div>
810
                        </div>
737
                        </div>
811
                        <div class="tab-pane fade" id="custom-tabs-compentencies" role="tabpanel" aria-labelledby="custom-tabs-compentencies-tab">
-
 
812
                            <div class="row">
738
                        <div class="col-md col-sm-12 col-12">
813
                                <div class="col-md-8 col-sm-8 col-xs-12">
739
                           <div class="form-group m-0">
814
                                    <select id="select-competency" class="form-control"> </select>
-
 
815
                                </div>
740
                              <?php 
816
                                <div class="col-md-4 col-sm-4 col-xs-12">
741
                                 $element = $form->get('job_description_id_boss');
817
                                    <button type="button" class="btn btn-primary" id="btn-select-competency" data-toggle="tooltip" title="LABEL_ADD LABEL_COMPETENCY">LABEL_ADD LABEL_COMPETENCY</button>
742
                                 $element->setOptions(['label' => 'LABEL_BOSS']);
-
 
743
                                 $element->setAttributes(['class' => 'form-control']); 
818
                                </div>
744
                                 
819
                            </div>
-
 
820
                            <div class="row">
745
                                 echo $this->formLabel($element);
821
                                <br>
746
                                 echo $this->formSelect($element);
822
                                <div class="col-md-12 col-sm-12 col-xs-12" id="competencies-job" style="margin-top: 10px;">
747
                                 ?>
823
                                </div>
-
 
824
                            </div>
748
                           </div>
825
                        </div>
-
 
826
                        <div class="tab-pane fade" id="custom-tabs-subordinate" role="tabpanel" aria-labelledby="custom-tabs-subordinate-tab">
749
                        </div>
827
                            <div class="row">
750
                        <div
828
                                <div class="col-md-8 col-sm-8 col-xs-12">
751
                           class="col-md col-sm-12 col-12 d-flex align-items-center justify-content-center"
829
                                    <select id="select-subordinate" class="form-control"></select>
-
 
830
                                </div>
752
                           >
831
                                <div class="col-md-4 col-sm-4 col-xs-12">
753
                           <div class="form-group m-0">
832
                                    <button type="button" class="btn btn-primary" id="btn-select-subordinate" data-toggle="tooltip" title="LABEL_ADD ">LABEL_ADD </button>
-
 
833
                                </div>
-
 
834
                            </div>
-
 
835
                            <div class="row">
754
                              <label>LABEL_STATUS</label>
836
                                <div class="col-md-12 col-sm-12 col-xs-12" style="margin-top: 10px;">
755
                              <br />
837
                                    <table class="table table-bordered">
756
                              <?php 
838
                                        <thead>
-
 
839
                                            <tr>
-
 
840
                                                <th style="width: 60%;">LABEL_NAME</th>
757
                                 $element = $form->get('status');
841
                                                <th style="width: 20%;">LABEL_ACTIONS</th>
758
                                 $element->setOptions(['label' => 'LABEL_STATUS']);
842
                                            </tr>
-
 
843
                                        </thead>
759
                                 // echo $this->formLabel($element);
844
                                        <tbody id="subordinate"></tbody>
760
                                 echo $this->formCheckbox($element);
845
                                    </table>
761
                                 ?>
846
                                </div>
762
                           </div>
-
 
763
                        </div>
-
 
764
                     </div>
-
 
765
                     <div class="form-group">
-
 
766
                        <?php 
-
 
767
                           $element = $form->get('objectives');
-
 
768
                           $element->setOptions(['label' => 'LABEL_OBJECTIVES']);
-
 
769
                           $element->setAttributes(['class' => 'form-control']); 
-
 
770
                           
-
 
771
                           echo $this->formLabel($element);
-
 
772
                           echo $this->formTextArea($element);
-
 
773
                           ?>
-
 
774
                     </div>
-
 
775
                     <div class="form-group">
-
 
776
                        <?php 
-
 
777
                           $element = $form->get('functions');
-
 
778
                           $element->setOptions(['label' => 'LABEL_FUNCTIONS']);
-
 
779
                           $element->setAttributes(['class' => 'form-control']); 
-
 
780
                           
-
 
781
                           echo $this->formLabel($element);
-
 
782
                           echo $this->formTextArea($element);
-
 
783
                           ?>
-
 
784
                     </div>
-
 
785
                  </div>
-
 
786
                  <div class="tab-pane fade" id="custom-tabs-compentencies" role="tabpanel" aria-labelledby="custom-tabs-compentencies-tab">
-
 
787
                     <div class="row">
-
 
788
                        <div class="col-md-8 col-sm-8 col-xs-12">
-
 
789
                           <select id="select-competency" class="form-control"> </select>
-
 
790
                        </div>
-
 
791
                        <div class="col-md-4 col-sm-4 col-xs-12">
-
 
792
                           <button type="button" class="btn btn-primary" id="btn-select-competency" data-toggle="tooltip" title="LABEL_ADD LABEL_COMPETENCY">LABEL_ADD LABEL_COMPETENCY</button>
-
 
793
                        </div>
-
 
794
                     </div>
-
 
795
                     <div class="row" >
-
 
796
                        <br>
-
 
797
                        <div class="col-md-12 col-sm-12 col-xs-12" id="competencies-job" style="margin-top: 10px;">
-
 
798
                        </div>
-
 
799
                     </div>
-
 
800
                  </div>
-
 
801
                  <div class="tab-pane fade" id="custom-tabs-subordinate" role="tabpanel" aria-labelledby="custom-tabs-subordinate-tab">
-
 
802
                     <div class="row">
-
 
803
                        <div class="col-md-8 col-sm-8 col-xs-12">
-
 
804
                           <select id="select-subordinate" class="form-control"></select>
-
 
805
                        </div>
-
 
806
                        <div class="col-md-4 col-sm-4 col-xs-12">
-
 
807
                           <button type="button" class="btn btn-primary" id="btn-select-subordinate" data-toggle="tooltip" title="LABEL_ADD ">LABEL_ADD </button>
-
 
808
                        </div>
-
 
809
                     </div>
-
 
810
                     <div class="row" >
-
 
811
                        <div class="col-md-12 col-sm-12 col-xs-12"  style="margin-top: 10px;">
-
 
812
                           <table class="table table-bordered">
-
 
813
                              <thead>
-
 
814
                                 <tr>
-
 
815
                                    <th style="width: 60%;">LABEL_NAME</th>
-
 
816
                                    <th style="width: 20%;">LABEL_ACTIONS</th>
-
 
817
                                 </tr>
-
 
818
                              </thead>
-
 
819
                              <tbody id="subordinate"></tbody>
-
 
820
                           </table>
847
                            </div>
821
                        </div>
-
 
822
                     </div>
848
                        </div>
823
                  </div>
849
                    </div>
824
               </div>
-
 
825
            </div>
850
                </div>
826
         </div>
851
            </div>
827
         <?php echo $this->form()->closeTag($form); ?>	
852
            <?php echo $this->form()->closeTag($form); ?>
828
         <!-- /.card -->
853
            <!-- /.card -->
829
      </div>
854
        </div>
830
      <!-- Modal footer -->
855
        <!-- Modal footer -->
831
      <div class="modal-footer">
856
        <div class="modal-footer">
832
         <button type="submit" form="form" class="btn btn-primary">LABEL_SAVE</button>
857
            <button type="submit" form="form" class="btn btn-primary">LABEL_SAVE</button>
833
         <button type="button" class="btn btn-danger btn-edit-cancel" >Cerrar</button>
858
            <button type="button" class="btn btn-danger btn-edit-cancel">Cerrar</button>
Línea 834... Línea 859...
834
      </div>
859
        </div>
835
</section>
860
</section>
836
 
861
 
837
 
862
 
838
<!--start modal behavior-->
863
<!--start modal behavior-->
839
<div  id="modal-behavior" class="modal" tabindex="-1" role="dialog">
864
<div id="modal-behavior" class="modal" tabindex="-1" role="dialog">
840
   <div class="modal-dialog modal-lg" role="document">
865
    <div class="modal-dialog modal-lg" role="document">
841
      <form action="#" name="form-behavior" id="form-behavior">
866
        <form action="#" name="form-behavior" id="form-behavior">
842
         <input type="hidden" name="behavior-id" id="behavior-id" value="" />
867
            <input type="hidden" name="behavior-id" id="behavior-id" value="" />
843
         <input type="hidden" name="behavior-competency" id="behavior-competency" value="" />
868
            <input type="hidden" name="behavior-competency" id="behavior-competency" value="" />
844
         <div class="modal-content">
869
            <div class="modal-content">
845
            <div class="modal-header">
870
                <div class="modal-header">
-
 
871
                    <h4 class="modal-title">LABEL_EDIT LABEL_LEVEL</h4>
-
 
872
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close">
-
 
873
                        <span aria-hidden="true">&times;</span>
-
 
874
                    </button>
-
 
875
                </div>
-
 
876
                <div class="modal-body">
-
 
877
                    <div class="form-group">
-
 
878
                        <label for="behavior-value">LABEL_LEVEL</label>
-
 
879
                        <select class="form-control" id="behavior-level" name="behavior-level">
-
 
880
                            <option value="0">LABEL_NA</option>
-
 
881
                            <option value="1">LABEL_LEVEL_ONE</option>
-
 
882
                            <option value="2">LABEL_LEVEL_TWO</option>
-
 
883
                            <option value="3">LABEL_LEVEL_THREE</option>
-
 
884
                            <option value="4">LABEL_LEVEL_FOUR</option>
-
 
885
                        </select>
-
 
886
                    </div>
-
 
887
                </div>
846
               <h4 class="modal-title">LABEL_EDIT LABEL_LEVEL</h4>
888
                <div class="modal-footer">
847
               <button type="button" class="close" data-dismiss="modal" aria-label="Close">
-
 
848
               <span aria-hidden="true">&times;</span>
-
 
849
               </button>
-
 
850
            </div>
-
 
851
            <div class="modal-body">
-
 
852
               <div class="form-group">
-
 
853
                  <label for="behavior-value">LABEL_LEVEL</label>
-
 
854
                  <select class="form-control" id="behavior-level" name="behavior-level">
-
 
855
                     <option value="0">LABEL_NA</option>
-
 
856
                     <option value="1">LABEL_LEVEL_ONE</option>
-
 
857
                     <option value="2">LABEL_LEVEL_TWO</option>
-
 
858
                     <option value="3">LABEL_LEVEL_THREE</option>
-
 
859
                     <option value="4">LABEL_LEVEL_FOUR</option>
-
 
860
                  </select>
-
 
861
               </div>
-
 
862
            </div>
-
 
863
            <div class="modal-footer">
-
 
864
               <button type="button" class="btn btn-primary btn-behavior-submit">LABEL_SAVE</button>
889
                    <button type="button" class="btn btn-primary btn-behavior-submit">LABEL_SAVE</button>
865
               <button type="button" class="btn btn-secondary" data-dismiss="modal">LABEL_CLOSE</button>
890
                    <button type="button" class="btn btn-secondary" data-dismiss="modal">LABEL_CLOSE</button>
866
            </div>
891
                </div>
867
         </div>
892
            </div>
Línea 868... Línea 893...
868
      </form>
893
        </form>
869
   </div>
894
    </div>
870
</div>
895
</div>
871
<!---end modal behavior --->
896
<!---end modal behavior --->
872
 
897
 
873
 <!---Template Competencies --->
898
<!---Template Competencies --->
874
 <script id="sectionTemplate" type="text/x-jsrender">
899
<script id="sectionTemplate" type="text/x-jsrender">
875
 <div class="panel panel-default" id="panel-{{:competency_id}}">
900
    <div class="panel panel-default" id="panel-{{:competency_id}}">
Línea 929... Línea 954...
929
   </div>
954
   </div>
930
</div>
955
</div>
931
   </script>
956
   </script>
Línea 932... Línea 957...
932
 
957
 
933
 
958
 
934
   <script id="sectionJob" type="text/x-jsrender">
959
<script id="sectionJob" type="text/x-jsrender">
935
   <tr>
960
    <tr>
936
   <td class="text-left">{{:name}}</td>
961
   <td class="text-left">{{:name}}</td>
937
   <td>
962
   <td>
938
      <button type="button" class="btn btn-default btn-delete-subordinate" data-subordinate="{{:job_description_id}}" data-toggle="tooltip"  data-original-title="LABEL_DELETE"><i class="fa fa-ban" aria-hidden="true"></i> LABEL_DELETE</button>   
963
      <button type="button" class="btn btn-default btn-delete-subordinate" data-subordinate="{{:job_description_id}}" data-toggle="tooltip"  data-original-title="LABEL_DELETE"><i class="fa fa-ban" aria-hidden="true"></i> LABEL_DELETE</button>   
939
   </td>
964
   </td>
Línea 940... Línea 965...
940
</tr>
965
</tr>
941
    </script>
-
 
942
 
-
 
943
   <!-- End Template Competencies-->
-
 
944
 
-
 
945
	
-
 
946
			
-
 
947
			
-
 
948
			
-
 
949
 
-
 
950
 
966
    </script>