Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 15394 Rev 15430
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
$vars .= " var subordinates_selected = new Array(); \r\n";
66
$vars .= " var subordinates_selected = new Array(); \r\n";
66
$vars .= " var behaviors = new Array(); \r\n";
67
$vars .= " var behaviors = new Array(); \r\n";
67
$vars .= " var subordinates = new Array(); \r\n";
68
$vars .= " var subordinates = new Array(); \r\n";
68
$i = 0;
69
$i = 0;
Línea 69... Línea 70...
69
 
70
 
70
foreach($behaviors as $record)
-
 
71
{
71
foreach ($behaviors as $record) {
72
    $vars .= "  behaviors[$i] =  { uuid : '{$record['uuid']}', description :'{$record['description']}' }; \r\n ";
72
    $vars .= "  behaviors[$i] =  { uuid : '{$record['uuid']}', description :'{$record['description']}' }; \r\n ";
73
    $i++;
73
    $i++;
Línea 74... Línea 74...
74
}
74
}
75
 
75
 
Línea 76... Línea 76...
76
$vars .= " var competency_types = new Array(); \r\n";
76
$vars .= " var competency_types = new Array(); \r\n";
77
$i = 0;
-
 
78
 
77
$i = 0;
79
foreach($competency_types as $record)
78
 
80
{
79
foreach ($competency_types as $record) {
Línea 81... Línea 80...
81
    $vars .= "  competency_types[$i] = { uuid : '{$record['uuid']}' , name : '{$record['name']}' } ; \r\n ";
80
    $vars .= "  competency_types[$i] = { uuid : '{$record['uuid']}' , name : '{$record['name']}' } ; \r\n ";
82
    $i++;
81
    $i++;
Línea 83... Línea 82...
83
}
82
}
84
 
-
 
85
 
83
 
86
$vars .= " var competencies = new Array(); \r\n";
84
 
87
$i = 0;
85
$vars .= " var competencies = new Array(); \r\n";
88
 
86
$i = 0;
89
foreach($competencies as $record)
87
 
90
{
88
foreach ($competencies as $record) {
91
    
89
 
92
    
90
 
93
    
91
 
94
    $vars .= "  competencies[$i] = new Object(); \r\n ";
92
    $vars .= "  competencies[$i] = new Object(); \r\n ";
95
    $vars .= "  competencies[$i].competency_type_uuid = '{$record['competency_type_uuid']}' \r\n ";
93
    $vars .= "  competencies[$i].competency_type_uuid = '{$record['competency_type_uuid']}' \r\n ";
96
    $vars .= "  competencies[$i].uuid = '{$record['uuid']}' \r\n ";
-
 
97
    $vars .= "  competencies[$i].name = '{$record['name']}' \r\n ";
94
    $vars .= "  competencies[$i].uuid = '{$record['uuid']}' \r\n ";
98
    $vars .= "  competencies[$i].behaviors = new Array(); \r\n";
95
    $vars .= "  competencies[$i].name = '{$record['name']}' \r\n ";
99
    
96
    $vars .= "  competencies[$i].behaviors = new Array(); \r\n";
100
    $j = 0;
97
 
Línea 101... Línea 98...
101
    foreach($record['behaviors_by_competency'] as $behavior_uuid)
98
    $j = 0;
102
    {
99
    foreach ($record['behaviors_by_competency'] as $behavior_uuid) {
Línea 839... Línea 836...
839
    $('#select-competency').select2({
836
    $('#select-competency').select2({
840
        theme: 'bootstrap4',
837
        theme: 'bootstrap4',
841
        width: '100%',
838
        width: '100%',
842
    });
839
    });
Línea -... Línea 840...
-
 
840
 
-
 
841
    CKEDITOR.replace('functions',{
-
 
842
        toolbar: [
-
 
843
                    { name: 'editing', items: ['Scayt'] },
-
 
844
                    { name: 'links', items: ['Link', 'Unlink'] },
-
 
845
                    { name: 'paragraph', items: ['NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', 'Blockquote'] },
-
 
846
                    { name: 'basicstyles', items: ['Bold', 'Italic', 'Strike', 'RemoveFormat'] },
-
 
847
                    '/',
-
 
848
                    { name: 'insert', items: ['Image', 'Table', 'HorizontalRule', 'SpecialChar'] },
-
 
849
                    { name: 'styles', items: ['Styles', 'Format'] },
-
 
850
                    { name: 'tools', items: ['Maximize'] }
-
 
851
                ],
-
 
852
                removePlugins: 'elementspath,Anchor',
-
 
853
                heigth: 100
-
 
854
    });
-
 
855
    CKEDITOR.replace('objectives',{
-
 
856
        toolbar: [
-
 
857
                    { name: 'editing', items: ['Scayt'] },
-
 
858
                    { name: 'links', items: ['Link', 'Unlink'] },
-
 
859
                    { name: 'paragraph', items: ['NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', 'Blockquote'] },
-
 
860
                    { name: 'basicstyles', items: ['Bold', 'Italic', 'Strike', 'RemoveFormat'] },
-
 
861
                    '/',
-
 
862
                    { name: 'insert', items: ['Image', 'Table', 'HorizontalRule', 'SpecialChar'] },
-
 
863
                    { name: 'styles', items: ['Styles', 'Format'] },
-
 
864
                    { name: 'tools', items: ['Maximize'] }
-
 
865
                ],
-
 
866
                removePlugins: 'elementspath,Anchor',
-
 
867
                heigth: 100
-
 
868
    });
843
 
869
 
Línea 844... Línea 870...
844
});
870
});
845
 
871
 
846
JS;
872
JS;
847
$this->inlineScript()->captureEnd();
873
$this->inlineScript()->captureEnd();
Línea 848... Línea 874...
848
?>
874
?>
849
<section class="content" id="row-lists">
875
<section class="content" id="row-lists">
850
 
876
 
851
<!-- Content Header (Page header) -->
877
    <!-- Content Header (Page header) -->
852
<div class="content-header">
878
    <div class="content-header">
853
   <div class="container-fluid">
879
        <div class="container-fluid">
854
      <div class="row mb-2">
-
 
855
         <div class="col-sm-12">
-
 
856
            <h1>LABEL_JOBS_DESCRIPTION</h1>
-
 
857
         </div>
-
 
858
      </div>
-
 
859
   </div>
-
 
860
   <!-- /.container-fluid -->
-
 
861
</div>
-
 
862
   <div class="container-fluid">
-
 
863
      <div class="row">
-
 
864
         <div class="col-12">
-
 
865
            <div class="card">
-
 
866
               <div class="card-body">
-
 
867
                  <table id="gridTable" class="table table-hover">
-
 
868
                     <thead>
-
 
869
                        <tr>
-
 
870
                           <th style= "width: 50%">LABEL_NAME</th>
-
 
871
                           <th style= "width: 15%">LABEL_ACTIVE</th>
-
 
872
                           <th style= "width: 35%">LABEL_ACTIONS</th>
-
 
873
                        </tr>
-
 
874
                     </thead>
-
 
875
                     <tbody>
-
 
876
                     </tbody>
-
 
877
                  </table>
-
 
878
               </div>
-
 
879
               <div class="card-footer clearfix">
-
 
880
                  <div style="float:right;">
-
 
881
                     <button type="button" class="btn btn-info btn-refresh"><i class="fa fa-refresh"></i> LABEL_REFRESH  </button>
-
 
882
                     <?php if($allowAdd) : ?>
-
 
883
                     <?php if($allowImport) : ?>
-
 
884
                     <button type="button" class="btn btn-primary btn-import"><i class="fa fa-upload"></i> LABEL_IMPORT </button>
-
 
885
                     <?php endif; ?>
-
 
886
                     <button type="button" class="btn btn-primary btn-add"><i class="fa fa-plus"></i> LABEL_ADD </button>
880
            <div class="row mb-2">
887
                     <?php endif; ?>
881
                <div class="col-sm-12">
888
                  </div>
882
                    <h1>LABEL_JOBS_DESCRIPTION</h1>
-
 
883
                </div>
-
 
884
            </div>
-
 
885
        </div>
-
 
886
        <!-- /.container-fluid -->
-
 
887
    </div>
-
 
888
    <div class="container-fluid">
-
 
889
        <div class="row">
-
 
890
            <div class="col-12">
-
 
891
                <div class="card">
-
 
892
                    <div class="card-body">
-
 
893
                        <table id="gridTable" class="table table-hover">
-
 
894
                            <thead>
-
 
895
                                <tr>
-
 
896
                                    <th style="width: 50%">LABEL_NAME</th>
-
 
897
                                    <th style="width: 15%">LABEL_ACTIVE</th>
-
 
898
                                    <th style="width: 35%">LABEL_ACTIONS</th>
-
 
899
                                </tr>
-
 
900
                            </thead>
-
 
901
                            <tbody>
-
 
902
                            </tbody>
-
 
903
                        </table>
-
 
904
                    </div>
-
 
905
                    <div class="card-footer clearfix">
-
 
906
                        <div style="float:right;">
-
 
907
                            <button type="button" class="btn btn-info btn-refresh"><i class="fa fa-refresh"></i> LABEL_REFRESH </button>
-
 
908
                            <?php if ($allowAdd) : ?>
-
 
909
                                <?php if ($allowImport) : ?>
-
 
910
                                    <button type="button" class="btn btn-primary btn-import"><i class="fa fa-upload"></i> LABEL_IMPORT </button>
-
 
911
                                <?php endif; ?>
-
 
912
                                <button type="button" class="btn btn-primary btn-add"><i class="fa fa-plus"></i> LABEL_ADD </button>
-
 
913
                            <?php endif; ?>
-
 
914
                        </div>
889
               </div>
915
                    </div>
890
            </div>
916
                </div>
891
         </div>
917
            </div>
Línea 892... Línea 918...
892
      </div>
918
        </div>
893
   </div>
919
    </div>
894
</section>
920
</section>
895
 
921
 
896
<section id="row-form" style="display:none">
922
<section id="row-form" style="display:none">
897
<div class="container">
923
    <div class="container">
898
      <!-- Modal Header -->
924
        <!-- Modal Header -->
899
      <div class="modal-header">
925
        <div class="modal-header">
900
         <h4 class="modal-title">LABEL_JOB_DESCRIPTION - <span id="form-title"></span></h4>
926
            <h4 class="modal-title">LABEL_JOB_DESCRIPTION - <span id="form-title"></span></h4>
901
      </div>
927
        </div>
902
      <!-- Modal body -->
928
        <!-- Modal body -->
903
      <div class="modal-body">
929
        <div class="modal-body">
904
         <div class="card card-primary card-outline card-tabs">
930
            <div class="card card-primary card-outline card-tabs">
905
            <div class="card-header p-0 pt-1 border-bottom-0">
931
                <div class="card-header p-0 pt-1 border-bottom-0">
906
               <ul class="nav nav-tabs" id="custom-tabs" role="tablist">
932
                    <ul class="nav nav-tabs" id="custom-tabs" role="tablist">
907
                  <li class="nav-item">
933
                        <li class="nav-item">
908
                     <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>
934
                            <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>
909
                  </li>
935
                        </li>
910
                  <li class="nav-item">
936
                        <li class="nav-item">
911
                     <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>
937
                            <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>
912
                  </li>
938
                        </li>
913
                  <li class="nav-item">
939
                        <li class="nav-item">
914
                     <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>
940
                            <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>
915
                  </li>
941
                        </li>
916
               </ul>
942
                    </ul>
917
            </div>
943
                </div>
918
            <div class="card-body">
944
                <div class="card-body">
919
               <?php 
945
                    <?php
920
                  $form = $this->form;
946
                    $form = $this->form;
921
                  $form->setAttributes([
947
                    $form->setAttributes([
922
                      'method'    => 'post',
948
                        'method'    => 'post',
923
                      'name'      => 'form',
949
                        'name'      => 'form',
924
                      'id'        => 'form'
950
                        'id'        => 'form'
925
                  ]);
951
                    ]);
926
                  
952
 
927
                  $form->prepare();
953
                    $form->prepare();
928
                  echo $this->form()->openTag($form);
954
                    echo $this->form()->openTag($form);
929
                  
955
 
930
                  
956
 
931
                  $element = $form->get('subordinates');
957
                    $element = $form->get('subordinates');
932
                  echo $this->formHidden($element);
958
                    echo $this->formHidden($element);
933
                  
959
 
934
                  $element = $form->get('competencies');
960
                    $element = $form->get('competencies');
935
                  echo $this->formHidden($element);
961
                    echo $this->formHidden($element);
936
                  
962
 
937
                  
963
 
938
                ?>            
964
                    ?>
939
                 
965
 
940
               <div class="tab-content" id="custom-tabs-three-tabContent">
966
                    <div class="tab-content" id="custom-tabs-three-tabContent">
941
                  <div class="tab-pane fade show active" id="custom-tabs-general" role="tabpanel" aria-labelledby="custom-tabs-general-tab">
967
                        <div class="tab-pane fade show active" id="custom-tabs-general" role="tabpanel" aria-labelledby="custom-tabs-general-tab">
942
                     <div class="row">
968
                            <div class="row">
943
                        <div class="col-md col-sm-12 col-12">
969
                                <div class="col-md col-sm-12 col-12">
944
                           <div class="form-group m-0">
970
                                    <div class="form-group m-0">
945
                              <?php 
971
                                        <?php
946
                                 $element = $form->get('name');
972
                                        $element = $form->get('name');
947
                                 $element->setOptions(['label' => 'LABEL_NAME']);
973
                                        $element->setOptions(['label' => 'LABEL_NAME']);
948
                                 $element->setAttributes(['class' => 'form-control']); 
974
                                        $element->setAttributes(['class' => 'form-control']);
949
                                                     
975
 
950
                                 echo $this->formLabel($element);
976
                                        echo $this->formLabel($element);
951
                                 echo $this->formText($element);
977
                                        echo $this->formText($element);
952
                                 ?>
978
                                        ?>
953
                           </div>
979
                                    </div>
954
                        </div>
980
                                </div>
955
                        <div class="col-md col-sm-12 col-12">
981
                                <div class="col-md col-sm-12 col-12">
956
                           <div class="form-group m-0">
982
                                    <div class="form-group m-0">
957
                              <?php 
983
                                        <?php
958
                                 $element = $form->get('job_description_id_boss');
984
                                        $element = $form->get('job_description_id_boss');
959
                                 $element->setOptions(['label' => 'LABEL_BOSS']);
985
                                        $element->setOptions(['label' => 'LABEL_BOSS']);
960
                                 $element->setAttributes(['class' => 'form-control']); 
986
                                        $element->setAttributes(['class' => 'form-control']);
961
                                 
987
 
962
                                 echo $this->formLabel($element);
988
                                        echo $this->formLabel($element);
-
 
989
                                        echo $this->formSelect($element);
-
 
990
                                        ?>
-
 
991
                                    </div>
-
 
992
                                </div>
963
                                 echo $this->formSelect($element);
993
                                <div class="col-md col-sm-12 col-12 d-flex align-items-center justify-content-center">
-
 
994
                                    <div class="form-group m-0">
964
                                 ?>
995
                                        <label>LABEL_STATUS</label>
-
 
996
                                        <br />
-
 
997
                                        <?php
-
 
998
                                        $element = $form->get('status');
-
 
999
                                        $element->setOptions(['label' => 'LABEL_STATUS']);
-
 
1000
                                        // echo $this->formLabel($element);
965
                           </div>
1001
                                        echo $this->formCheckbox($element);
966
                        </div>
1002
                                        ?>
-
 
1003
                                    </div>
-
 
1004
                                </div>
-
 
1005
                            </div>
-
 
1006
                            <div class="form-group">
-
 
1007
                                <?php
967
                        <div
1008
                                $element = $form->get('objectives');
-
 
1009
                                $element->setOptions(['label' => 'LABEL_OBJECTIVES']);
968
                           class="col-md col-sm-12 col-12 d-flex align-items-center justify-content-center"
1010
                                $element->setAttributes(['class' => 'form-control']);
-
 
1011
 
-
 
1012
                                echo $this->formLabel($element);
969
                           >
1013
                                echo $this->formTextArea($element);
970
                           <div class="form-group m-0">
1014
                                ?>
971
                              <label>LABEL_STATUS</label>
1015
                            </div>
-
 
1016
                            <div class="form-group">
-
 
1017
                                <?php
972
                              <br />
1018
                                $element = $form->get('functions');
973
                              <?php 
1019
                                $element->setOptions(['label' => 'LABEL_FUNCTIONS']);
974
                                 $element = $form->get('status');
1020
                                $element->setAttributes(['class' => 'form-control']);
975
                                 $element->setOptions(['label' => 'LABEL_STATUS']);
1021
 
976
                                 // echo $this->formLabel($element);
1022
                                echo $this->formLabel($element);
977
                                 echo $this->formCheckbox($element);
-
 
978
                                 ?>
1023
                                echo $this->formTextArea($element);
979
                           </div>
1024
                                ?>
980
                        </div>
1025
                            </div>
981
                     </div>
1026
                        </div>
982
                     <div class="form-group">
1027
                        <div class="tab-pane fade" id="custom-tabs-compentencies" role="tabpanel" aria-labelledby="custom-tabs-compentencies-tab">
983
                        <?php 
-
 
984
                           $element = $form->get('objectives');
1028
                            <div class="row">
985
                           $element->setOptions(['label' => 'LABEL_OBJECTIVES']);
1029
                                <div class="col-md-8 col-sm-8 col-xs-12">
986
                           $element->setAttributes(['class' => 'form-control']); 
1030
                                    <select id="select-competency" class="form-control"> </select>
987
                           
1031
                                </div>
988
                           echo $this->formLabel($element);
1032
                                <div class="col-md-4 col-sm-4 col-xs-12">
989
                           echo $this->formTextArea($element);
1033
                                    <button type="button" class="btn btn-primary" id="btn-select-competency" data-toggle="tooltip" title="LABEL_ADD LABEL_COMPETENCY">LABEL_ADD LABEL_COMPETENCY</button>
990
                           ?>
-
 
991
                     </div>
-
 
992
                     <div class="form-group">
1034
                                </div>
993
                        <?php 
-
 
994
                           $element = $form->get('functions');
-
 
995
                           $element->setOptions(['label' => 'LABEL_FUNCTIONS']);
-
 
996
                           $element->setAttributes(['class' => 'form-control']); 
1035
                            </div>
997
                           
1036
                            <div class="row">
998
                           echo $this->formLabel($element);
-
 
999
                           echo $this->formTextArea($element);
-
 
1000
                           ?>
-
 
1001
                     </div>
-
 
1002
                  </div>
-
 
1003
                  <div class="tab-pane fade" id="custom-tabs-compentencies" role="tabpanel" aria-labelledby="custom-tabs-compentencies-tab">
1037
                                <br>
-
 
1038
                                <div class="col-md-12 col-sm-12 col-xs-12" id="renderCompetencies" style="margin-top: 10px;">
-
 
1039
                                </div>
-
 
1040
                            </div>
-
 
1041
                        </div>
-
 
1042
                        <div class="tab-pane fade" id="custom-tabs-subordinate" role="tabpanel" aria-labelledby="custom-tabs-subordinate-tab">
1004
                     <div class="row">
1043
                            <div class="row">
1005
                        <div class="col-md-8 col-sm-8 col-xs-12">
1044
                                <div class="col-md-8 col-sm-8 col-xs-12">
-
 
1045
                                    <select id="select-subordinate" class="form-control"></select>
-
 
1046
                                </div>
-
 
1047
                                <div class="col-md-4 col-sm-4 col-xs-12">
-
 
1048
                                    <button type="button" class="btn btn-primary" id="btn-select-subordinate" data-toggle="tooltip" title="LABEL_ADD ">LABEL_ADD </button>
-
 
1049
                                </div>
-
 
1050
                            </div>
-
 
1051
                            <div class="row">
-
 
1052
                                <div class="col-md-12 col-sm-12 col-xs-12" style="margin-top: 10px;">
-
 
1053
                                    <table class="table table-bordered">
-
 
1054
                                        <thead>
-
 
1055
                                            <tr>
-
 
1056
                                                <th style="width: 60%;">LABEL_NAME</th>
-
 
1057
                                                <th style="width: 20%;">LABEL_ACTIONS</th>
-
 
1058
                                            </tr>
-
 
1059
                                        </thead>
1006
                           <select id="select-competency" class="form-control"> </select>
1060
                                        <tbody id="renderSubordinates"></tbody>
1007
                        </div>
1061
                                    </table>
1008
                        <div class="col-md-4 col-sm-4 col-xs-12">
-
 
1009
                           <button type="button" class="btn btn-primary" id="btn-select-competency" data-toggle="tooltip" title="LABEL_ADD LABEL_COMPETENCY">LABEL_ADD LABEL_COMPETENCY</button>
-
 
1010
                        </div>
-
 
1011
                     </div>
-
 
1012
                     <div class="row" >
-
 
1013
                        <br>
-
 
1014
                        <div class="col-md-12 col-sm-12 col-xs-12" id="renderCompetencies" style="margin-top: 10px;">
-
 
1015
                        </div>
-
 
1016
                     </div>
-
 
1017
                  </div>
-
 
1018
                  <div class="tab-pane fade" id="custom-tabs-subordinate" role="tabpanel" aria-labelledby="custom-tabs-subordinate-tab">
-
 
1019
                     <div class="row">
-
 
1020
                        <div class="col-md-8 col-sm-8 col-xs-12">
-
 
1021
                           <select id="select-subordinate" class="form-control"></select>
-
 
1022
                        </div>
-
 
1023
                        <div class="col-md-4 col-sm-4 col-xs-12">
-
 
1024
                           <button type="button" class="btn btn-primary" id="btn-select-subordinate" data-toggle="tooltip" title="LABEL_ADD ">LABEL_ADD </button>
-
 
1025
                        </div>
-
 
1026
                     </div>
-
 
1027
                     <div class="row" >
-
 
1028
                        <div class="col-md-12 col-sm-12 col-xs-12"  style="margin-top: 10px;">
-
 
1029
                           <table class="table table-bordered">
-
 
1030
                              <thead>
-
 
1031
                                 <tr>
-
 
1032
                                    <th style="width: 60%;">LABEL_NAME</th>
-
 
1033
                                    <th style="width: 20%;">LABEL_ACTIONS</th>
-
 
1034
                                 </tr>
-
 
1035
                              </thead>
-
 
1036
                              <tbody id="renderSubordinates"></tbody>
-
 
1037
                           </table>
1062
                                </div>
1038
                        </div>
1063
                            </div>
1039
                     </div>
-
 
1040
                  </div>
1064
                        </div>
1041
               </div>
1065
                    </div>
1042
            </div>
1066
                </div>
1043
         </div>
1067
            </div>
1044
         <?php echo $this->form()->closeTag($form); ?>  
1068
            <?php echo $this->form()->closeTag($form); ?>
1045
         <!-- /.card -->
1069
            <!-- /.card -->
1046
      </div>
1070
        </div>
1047
      <!-- Modal footer -->
1071
        <!-- Modal footer -->
1048
      <div class="modal-footer">
1072
        <div class="modal-footer">
Línea 1049... Línea 1073...
1049
         <button type="submit" form="form" class="btn btn-primary">LABEL_SAVE</button>
1073
            <button type="submit" form="form" class="btn btn-primary">LABEL_SAVE</button>
1050
         <button type="button" class="btn btn-danger btn-edit-cancel" >Cerrar</button>
1074
            <button type="button" class="btn btn-danger btn-edit-cancel">Cerrar</button>
1051
      </div>
1075
        </div>
1052
</section>
1076
</section>
1053
 
1077
 
1054
 
1078
 
1055
<!--start modal behavior-->
1079
<!--start modal behavior-->
1056
<div  id="modal-behavior" class="modal" tabindex="-1" role="dialog">
1080
<div id="modal-behavior" class="modal" tabindex="-1" role="dialog">
1057
   <div class="modal-dialog modal-lg" role="document">
1081
    <div class="modal-dialog modal-lg" role="document">
1058
      <form action="#" name="form-behavior" id="form-behavior">
1082
        <form action="#" name="form-behavior" id="form-behavior">
1059
         <input type="hidden" id="behavior-uuid" name="behavior-uuid" value="" />
1083
            <input type="hidden" id="behavior-uuid" name="behavior-uuid" value="" />
1060
         <input type="hidden" id="competency-uuid" name="competency-uuid value="" />
1084
            <input type="hidden" id="competency-uuid" name="competency-uuid value="" />
1061
         <div class="modal-content">
1085
         <div class=" modal-content">
1062
            <div class="modal-header">
1086
            <div class="modal-header">
1063
               <h4 class="modal-title">LABEL_EDIT LABEL_LEVEL</h4>
1087
                <h4 class="modal-title">LABEL_EDIT LABEL_LEVEL</h4>
1064
               <button type="button" class="close" data-dismiss="modal" aria-label="Close">
1088
                <button type="button" class="close" data-dismiss="modal" aria-label="Close">
1065
               <span aria-hidden="true">&times;</span>
1089
                    <span aria-hidden="true">&times;</span>
1066
               </button>
1090
                </button>
1067
            </div>
1091
            </div>
1068
            <div class="modal-body">
1092
            <div class="modal-body">
1069
               <div class="form-group">
1093
                <div class="form-group">
1070
                  <label for="behavior-value">LABEL_LEVEL</label>
1094
                    <label for="behavior-value">LABEL_LEVEL</label>
1071
                  <select class="form-control" id="level" name="level">
1095
                    <select class="form-control" id="level" name="level">
1072
                     <option value="0">LABEL_NA</option>
1096
                        <option value="0">LABEL_NA</option>
1073
                     <option value="1">LABEL_LEVEL_ONE</option>
1097
                        <option value="1">LABEL_LEVEL_ONE</option>
1074
                     <option value="2">LABEL_LEVEL_TWO</option>
1098
                        <option value="2">LABEL_LEVEL_TWO</option>
1075
                     <option value="3">LABEL_LEVEL_THREE</option>
1099
                        <option value="3">LABEL_LEVEL_THREE</option>
1076
                     <option value="4">LABEL_LEVEL_FOUR</option>
1100
                        <option value="4">LABEL_LEVEL_FOUR</option>
1077
                  </select>
1101
                    </select>
1078
               </div>
1102
                </div>
1079
            </div>
1103
            </div>
1080
            <div class="modal-footer">
1104
            <div class="modal-footer">
1081
               <button type="button" class="btn btn-primary btn-behavior-submit">LABEL_SAVE</button>
1105
                <button type="button" class="btn btn-primary btn-behavior-submit">LABEL_SAVE</button>
1082
               <button type="button" class="btn btn-secondary" data-dismiss="modal">LABEL_CLOSE</button>
1106
                <button type="button" class="btn btn-secondary" data-dismiss="modal">LABEL_CLOSE</button>
Línea 1083... Línea 1107...
1083
            </div>
1107
            </div>
1084
         </div>
1108
    </div>
1085
      </form>
1109
    </form>
1086
   </div>
1110
</div>
1087
</div>
1111
</div>
1088
<!---end modal behavior --->
1112
<!---end modal behavior --->
1089
 
1113
 
1090
 <!---Template Competencies --->
1114
<!---Template Competencies --->
Línea 1155... Línea 1179...
1155
            <button type="button" class="btn btn-default btn-delete-subordinate" data-subordinate="{{:uuid}}" data-toggle="tooltip"  data-original-title="LABEL_DELETE"><i class="fa fa-ban" aria-hidden="true"></i> LABEL_DELETE</button>   
1179
            <button type="button" class="btn btn-default btn-delete-subordinate" data-subordinate="{{:uuid}}" data-toggle="tooltip"  data-original-title="LABEL_DELETE"><i class="fa fa-ban" aria-hidden="true"></i> LABEL_DELETE</button>   
1156
        </td>
1180
        </td>
1157
    </tr>
1181
    </tr>
1158
    </script>
1182
    </script>
Línea 1159... Línea -...
1159
 
-
 
1160
   <!-- End Template Competencies-->
1183
 
-
 
1184
<!-- End Template Competencies-->
1161
1185