Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 15337 Rev 15404
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 65... Línea 66...
65
$status_active = JobDescription::STATUS_ACTIVE;
66
$status_active = JobDescription::STATUS_ACTIVE;
Línea 66... Línea 67...
66
 
67
 
67
$this->inlineScript()->captureStart();
68
$this->inlineScript()->captureStart();
Línea -... Línea 69...
-
 
69
echo <<<JS
-
 
70
 
-
 
71
const ckeditor_config = {
-
 
72
	startupFocus: 'end',
-
 
73
	allowedContent: false,
-
 
74
	image_previewText: ' ',
-
 
75
	toolbarGroups: [
-
 
76
		// { name: 'document',	   groups: [ 'mode', 'document', 'doctools' ] },
-
 
77
		// { name: 'clipboard',   groups: [ 'undo' ] },
-
 
78
		{ name: 'editing', groups: ['find', 'selection', 'spellchecker'] },
-
 
79
		{ name: 'forms' },
-
 
80
		{ name: 'basicstyles', groups: ['basicstyles', 'cleanup'] },
-
 
81
		{ name: 'paragraph', groups: ['list', 'indent', 'blocks', 'align', 'bidi'] },
-
 
82
		{ name: 'links' },
-
 
83
		{ name: 'insert' },
-
 
84
		{ name: 'styles' },
-
 
85
		{ name: 'colors' },
-
 
86
		{ name: 'tools' },
-
 
87
		{ name: 'others' },
-
 
88
	],
-
 
89
	removeButtons: 'Anchor,Scayt',
68
echo <<<JS
90
	removePlugins: 'elementspath,Anchor,wsc,scayt'
69
 
91
}
70
var competencies = [];
92
var competencies = [];
71
var competencies_type = [];
93
var competencies_type = [];
72
var subordinates = [];
94
var subordinates = [];
Línea 419... Línea 441...
419
        'on': 'LABEL_ACTIVE',
441
        'on': 'LABEL_ACTIVE',
420
        'off': 'LABEL_INACTIVE',
442
        'off': 'LABEL_INACTIVE',
421
        'width': '160px',
443
        'width': '160px',
422
        'height': '40px'
444
        'height': '40px'
423
    });
445
    });
-
 
446
 
424
    CKEDITOR.replace('functions');
447
    CKEDITOR.replace('functions', ckeditor_config);
425
    CKEDITOR.replace('objectives');
448
    CKEDITOR.replace('objectives', ckeditor_config);
426
    /**
449
    /**
427
     * Clicked select competency
450
     * Clicked select competency
428
     */
451
     */
429
    $('body').on('click', 'button[id="btn-select-competency"]', function(e) {
452
    $('body').on('click', 'button[id="btn-select-competency"]', function(e) {
430
        if ($("#select-competency").val() == "") {
453
        if ($("#select-competency").val() == "") {
Línea 637... Línea 660...
637
JS;
660
JS;
638
$this->inlineScript()->captureEnd();
661
$this->inlineScript()->captureEnd();
639
?>
662
?>
640
<section class="content" id="row-lists">
663
<section class="content" id="row-lists">
Línea 641... Línea 664...
641
 
664
 
642
<!-- Content Header (Page header) -->
665
    <!-- Content Header (Page header) -->
643
<div class="content-header">
666
    <div class="content-header">
644
   <div class="container-fluid">
667
        <div class="container-fluid">
645
      <div class="row mb-2">
668
            <div class="row mb-2">
646
         <div class="col-sm-12">
669
                <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>
670
                    <h1>LABEL_JOBS_DESCRIPTION</h1>
680
               </div>
671
                </div>
681
            </div>
672
            </div>
-
 
673
        </div>
-
 
674
        <!-- /.container-fluid -->
-
 
675
    </div>
-
 
676
    <div class="container-fluid">
-
 
677
        <div class="row">
-
 
678
            <div class="col-12">
-
 
679
                <div class="card">
-
 
680
                    <div class="card-body">
-
 
681
                        <table id="gridTable" class="table   table-hover">
-
 
682
                            <thead>
-
 
683
                                <tr>
-
 
684
                                    <th>LABEL_NAME</th>
-
 
685
                                    <th>LABEL_ACTIVE</th>
-
 
686
                                    <th>LABEL_ACTIONS</th>
-
 
687
                                </tr>
-
 
688
                            </thead>
-
 
689
                            <tbody>
-
 
690
                            </tbody>
-
 
691
                        </table>
-
 
692
                    </div>
-
 
693
                    <div class="card-footer clearfix">
-
 
694
                        <div style="float:right;">
-
 
695
                            <button type="button" class="btn btn-info btn-refresh"><i class="fa fa-refresh"></i> LABEL_REFRESH </button>
-
 
696
                            <?php if ($allowAdd) : ?>
-
 
697
                                <?php if ($allowImport) : ?>
-
 
698
                                    <button type="button" class="btn btn-primary btn-import"><i class="fa fa-upload"></i> LABEL_IMPORT </button>
-
 
699
                                <?php endif; ?>
-
 
700
                                <button type="button" class="btn btn-primary btn-add"><i class="fa fa-plus"></i> LABEL_ADD </button>
-
 
701
                            <?php endif; ?>
-
 
702
                        </div>
-
 
703
                    </div>
-
 
704
                </div>
682
         </div>
705
            </div>
683
      </div>
706
        </div>
684
   </div>
707
    </div>
Línea 685... Línea 708...
685
</section>
708
</section>
686
 
709
 
687
<section id="row-form" style="display:none">
710
<section id="row-form" style="display:none">
688
<div class="container">
711
    <div class="container">
689
      <!-- Modal Header -->
712
        <!-- Modal Header -->
690
      <div class="modal-header">
713
        <div class="modal-header">
691
         <h4 class="modal-title">LABEL_JOB_DESCRIPTION - <span id="form-title"></span></h4>
714
            <h4 class="modal-title">LABEL_JOB_DESCRIPTION - <span id="form-title"></span></h4>
692
      </div>
715
        </div>
693
      <!-- Modal body -->
716
        <!-- Modal body -->
694
      <div class="modal-body">
717
        <div class="modal-body">
695
         <div class="card card-primary card-outline card-tabs">
718
            <div class="card card-primary card-outline card-tabs">
696
            <div class="card-header p-0 pt-1 border-bottom-0">
719
                <div class="card-header p-0 pt-1 border-bottom-0">
697
               <ul class="nav nav-tabs" id="custom-tabs" role="tablist">
720
                    <ul class="nav nav-tabs" id="custom-tabs" role="tablist">
698
                  <li class="nav-item">
721
                        <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>
722
                            <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>
723
                        </li>
701
                  <li class="nav-item">
724
                        <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>
725
                            <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>
726
                        </li>
704
                  <li class="nav-item">
727
                        <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>
728
                            <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>
729
                        </li>
707
               </ul>
730
                    </ul>
708
            </div>
731
                </div>
709
            <div class="card-body">
732
                <div class="card-body">
710
               <?php 
733
                    <?php
711
                  $form = $this->form;
734
                    $form = $this->form;
712
                  $form->setAttributes([
735
                    $form->setAttributes([
713
                      'method'    => 'post',
736
                        'method'    => 'post',
714
                      'name'      => 'form',
737
                        'name'      => 'form',
715
                      'id'        => 'form'
738
                        'id'        => 'form'
716
                  ]);
739
                    ]);
717
                  
740
 
718
                  $form->prepare();
741
                    $form->prepare();
719
                  echo $this->form()->openTag($form);
742
                    echo $this->form()->openTag($form);
720
                  ?>            
743
                    ?>
721
               <input type="hidden" id="subordinates_selected" name="subordinates_selected" value="">   
744
                    <input type="hidden" id="subordinates_selected" name="subordinates_selected" value="">
722
               <input type="hidden" id="competencies_selected" name="competencies_selected" value="">                   
745
                    <input type="hidden" id="competencies_selected" name="competencies_selected" value="">
723
               <div class="tab-content" id="custom-tabs-three-tabContent">
746
                    <div class="tab-content" id="custom-tabs-three-tabContent">
-
 
747
                        <div class="tab-pane fade show active" id="custom-tabs-general" role="tabpanel" aria-labelledby="custom-tabs-general-tab">
-
 
748
                            <div class="row">
-
 
749
                                <div class="col-md col-sm-12 col-12">
-
 
750
                                    <div class="form-group m-0">
-
 
751
                                        <?php
-
 
752
                                        $element = $form->get('name');
-
 
753
                                        $element->setOptions(['label' => 'LABEL_NAME']);
-
 
754
                                        $element->setAttributes(['class' => 'form-control']);
-
 
755
 
-
 
756
                                        echo $this->formLabel($element);
-
 
757
                                        echo $this->formText($element);
-
 
758
                                        ?>
724
                  <div class="tab-pane fade show active" id="custom-tabs-general" role="tabpanel" aria-labelledby="custom-tabs-general-tab">
759
                                    </div>
-
 
760
                                </div>
-
 
761
                                <div class="col-md col-sm-12 col-12">
-
 
762
                                    <div class="form-group m-0">
-
 
763
                                        <?php
-
 
764
                                        $element = $form->get('job_description_id_boss');
-
 
765
                                        $element->setOptions(['label' => 'LABEL_BOSS']);
-
 
766
                                        $element->setAttributes(['class' => 'form-control']);
-
 
767
 
-
 
768
                                        echo $this->formLabel($element);
-
 
769
                                        echo $this->formSelect($element);
-
 
770
                                        ?>
-
 
771
                                    </div>
-
 
772
                                </div>
-
 
773
                                <div class="col-md col-sm-12 col-12 d-flex align-items-center justify-content-center">
-
 
774
                                    <div class="form-group m-0">
-
 
775
                                        <label>LABEL_STATUS</label>
-
 
776
                                        <br />
-
 
777
                                        <?php
-
 
778
                                        $element = $form->get('status');
-
 
779
                                        $element->setOptions(['label' => 'LABEL_STATUS']);
-
 
780
                                        // echo $this->formLabel($element);
-
 
781
                                        echo $this->formCheckbox($element);
-
 
782
                                        ?>
-
 
783
                                    </div>
-
 
784
                                </div>
-
 
785
                            </div>
-
 
786
                            <div class="form-group">
-
 
787
                                <?php
-
 
788
                                $element = $form->get('objectives');
-
 
789
                                $element->setOptions(['label' => 'LABEL_OBJECTIVES']);
-
 
790
                                $element->setAttributes(['class' => 'form-control']);
-
 
791
 
-
 
792
                                echo $this->formLabel($element);
-
 
793
                                echo $this->formTextArea($element);
725
                     <div class="row">
794
                                ?>
726
                        <div class="col-md col-sm-12 col-12">
795
                            </div>
727
                           <div class="form-group m-0">
796
                            <div class="form-group">
728
                              <?php 
797
                                <?php
729
                                 $element = $form->get('name');
798
                                $element = $form->get('functions');
730
                                 $element->setOptions(['label' => 'LABEL_NAME']);
799
                                $element->setOptions(['label' => 'LABEL_FUNCTIONS']);
731
                                 $element->setAttributes(['class' => 'form-control']); 
800
                                $element->setAttributes(['class' => 'form-control']);
732
                                                     
801
 
733
                                 echo $this->formLabel($element);
802
                                echo $this->formLabel($element);
734
                                 echo $this->formText($element);
803
                                echo $this->formTextArea($element);
735
                                 ?>
804
                                ?>
-
 
805
                            </div>
736
                           </div>
806
                        </div>
737
                        </div>
807
                        <div class="tab-pane fade" id="custom-tabs-compentencies" role="tabpanel" aria-labelledby="custom-tabs-compentencies-tab">
-
 
808
                            <div class="row">
738
                        <div class="col-md col-sm-12 col-12">
809
                                <div class="col-md-8 col-sm-8 col-xs-12">
739
                           <div class="form-group m-0">
810
                                    <select id="select-competency" class="form-control"> </select>
-
 
811
                                </div>
740
                              <?php 
812
                                <div class="col-md-4 col-sm-4 col-xs-12">
741
                                 $element = $form->get('job_description_id_boss');
813
                                    <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']); 
814
                                </div>
744
                                 
815
                            </div>
-
 
816
                            <div class="row">
745
                                 echo $this->formLabel($element);
817
                                <br>
746
                                 echo $this->formSelect($element);
818
                                <div class="col-md-12 col-sm-12 col-xs-12" id="competencies-job" style="margin-top: 10px;">
747
                                 ?>
819
                                </div>
-
 
820
                            </div>
748
                           </div>
821
                        </div>
-
 
822
                        <div class="tab-pane fade" id="custom-tabs-subordinate" role="tabpanel" aria-labelledby="custom-tabs-subordinate-tab">
749
                        </div>
823
                            <div class="row">
750
                        <div
824
                                <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"
825
                                    <select id="select-subordinate" class="form-control"></select>
-
 
826
                                </div>
752
                           >
827
                                <div class="col-md-4 col-sm-4 col-xs-12">
753
                           <div class="form-group m-0">
828
                                    <button type="button" class="btn btn-primary" id="btn-select-subordinate" data-toggle="tooltip" title="LABEL_ADD ">LABEL_ADD </button>
-
 
829
                                </div>
-
 
830
                            </div>
-
 
831
                            <div class="row">
754
                              <label>LABEL_STATUS</label>
832
                                <div class="col-md-12 col-sm-12 col-xs-12" style="margin-top: 10px;">
755
                              <br />
833
                                    <table class="table table-bordered">
756
                              <?php 
834
                                        <thead>
-
 
835
                                            <tr>
-
 
836
                                                <th style="width: 60%;">LABEL_NAME</th>
757
                                 $element = $form->get('status');
837
                                                <th style="width: 20%;">LABEL_ACTIONS</th>
758
                                 $element->setOptions(['label' => 'LABEL_STATUS']);
838
                                            </tr>
-
 
839
                                        </thead>
759
                                 // echo $this->formLabel($element);
840
                                        <tbody id="subordinate"></tbody>
760
                                 echo $this->formCheckbox($element);
841
                                    </table>
761
                                 ?>
842
                                </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>
843
                            </div>
821
                        </div>
-
 
822
                     </div>
844
                        </div>
823
                  </div>
845
                    </div>
824
               </div>
-
 
825
            </div>
846
                </div>
826
         </div>
847
            </div>
827
         <?php echo $this->form()->closeTag($form); ?>  
848
            <?php echo $this->form()->closeTag($form); ?>
828
         <!-- /.card -->
849
            <!-- /.card -->
829
      </div>
850
        </div>
830
      <!-- Modal footer -->
851
        <!-- Modal footer -->
831
      <div class="modal-footer">
852
        <div class="modal-footer">
832
         <button type="submit" form="form" class="btn btn-primary">LABEL_SAVE</button>
853
            <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>
854
            <button type="button" class="btn btn-danger btn-edit-cancel">Cerrar</button>
Línea 834... Línea 855...
834
      </div>
855
        </div>
835
</section>
856
</section>
836
 
857
 
837
 
858
 
838
<!--start modal behavior-->
859
<!--start modal behavior-->
839
<div  id="modal-behavior" class="modal" tabindex="-1" role="dialog">
860
<div id="modal-behavior" class="modal" tabindex="-1" role="dialog">
840
   <div class="modal-dialog modal-lg" role="document">
861
    <div class="modal-dialog modal-lg" role="document">
841
      <form action="#" name="form-behavior" id="form-behavior">
862
        <form action="#" name="form-behavior" id="form-behavior">
842
         <input type="hidden" name="behavior-id" id="behavior-id" value="" />
863
            <input type="hidden" name="behavior-id" id="behavior-id" value="" />
843
         <input type="hidden" name="behavior-competency" id="behavior-competency" value="" />
864
            <input type="hidden" name="behavior-competency" id="behavior-competency" value="" />
844
         <div class="modal-content">
865
            <div class="modal-content">
845
            <div class="modal-header">
866
                <div class="modal-header">
846
               <h4 class="modal-title">LABEL_EDIT LABEL_LEVEL</h4>
867
                    <h4 class="modal-title">LABEL_EDIT LABEL_LEVEL</h4>
847
               <button type="button" class="close" data-dismiss="modal" aria-label="Close">
868
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close">
848
               <span aria-hidden="true">&times;</span>
869
                        <span aria-hidden="true">&times;</span>
849
               </button>
870
                    </button>
850
            </div>
871
                </div>
851
            <div class="modal-body">
872
                <div class="modal-body">
852
               <div class="form-group">
873
                    <div class="form-group">
853
                  <label for="behavior-value">LABEL_LEVEL</label>
874
                        <label for="behavior-value">LABEL_LEVEL</label>
854
                  <select class="form-control" id="behavior-level" name="behavior-level">
875
                        <select class="form-control" id="behavior-level" name="behavior-level">
855
                     <option value="0">LABEL_NA</option>
876
                            <option value="0">LABEL_NA</option>
856
                     <option value="1">LABEL_LEVEL_ONE</option>
877
                            <option value="1">LABEL_LEVEL_ONE</option>
-
 
878
                            <option value="2">LABEL_LEVEL_TWO</option>
-
 
879
                            <option value="3">LABEL_LEVEL_THREE</option>
-
 
880
                            <option value="4">LABEL_LEVEL_FOUR</option>
-
 
881
                        </select>
-
 
882
                    </div>
857
                     <option value="2">LABEL_LEVEL_TWO</option>
883
                </div>
858
                     <option value="3">LABEL_LEVEL_THREE</option>
884
                <div class="modal-footer">
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>
885
                    <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>
886
                    <button type="button" class="btn btn-secondary" data-dismiss="modal">LABEL_CLOSE</button>
866
            </div>
887
                </div>
867
         </div>
888
            </div>
Línea 868... Línea 889...
868
      </form>
889
        </form>
869
   </div>
890
    </div>
870
</div>
891
</div>
871
<!---end modal behavior --->
892
<!---end modal behavior --->
872
 
893
 
873
 <!---Template Competencies --->
894
<!---Template Competencies --->
874
 <script id="sectionTemplate" type="text/x-jsrender">
895
<script id="sectionTemplate" type="text/x-jsrender">
875
 <div class="panel panel-default" id="panel-{{:competency_id}}">
896
    <div class="panel panel-default" id="panel-{{:competency_id}}">
Línea 929... Línea 950...
929
   </div>
950
   </div>
930
</div>
951
</div>
931
   </script>
952
   </script>
Línea 932... Línea 953...
932
 
953
 
933
 
954
 
934
   <script id="sectionJob" type="text/x-jsrender">
955
<script id="sectionJob" type="text/x-jsrender">
935
   <tr>
956
    <tr>
936
   <td class="text-left">{{:name}}</td>
957
   <td class="text-left">{{:name}}</td>
937
   <td>
958
   <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>   
959
      <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>
960
   </td>
Línea 940... Línea -...
940
</tr>
-
 
941
    </script>
961
</tr>
-
 
962
    </script>
942
 
963