Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 1251 Rev 1252
Línea 625... Línea 625...
625
      </div>
625
      </div>
626
   </div>
626
   </div>
627
   <!-- /.container-fluid -->
627
   <!-- /.container-fluid -->
628
</section>
628
</section>
629
<section class="content">
629
<section class="content">
630
   <div class="container-fluid" id="row-lists">
630
<div class="container-fluid" id="row-lists">
631
      <div class="row">
631
   <div class="row">
632
         <div class="col-12">
632
      <div class="col-12">
633
            <div class="card">
633
         <div class="card">
634
               <div class="card-body">
634
            <div class="card-body">
635
                  <table id="gridTable" class="table   table-hover">
635
               <table id="gridTable" class="table   table-hover">
636
                     <thead>
636
                  <thead>
637
                        <tr>
637
                     <tr>
638
                           <th style="width:15%">LABEL_NAME</th>
638
                        <th style="width:15%">LABEL_NAME</th>
639
                           <th style="width:25%">LABEL_JOB_DESCRIPTION</th>
639
                        <th style="width:25%">LABEL_JOB_DESCRIPTION</th>
640
                           <th style="width:15%">LABEL_ACTIVE</th>
640
                        <th style="width:15%">LABEL_ACTIVE</th>
641
                           <th style="width:20%">LABEL_ACTIONS</th>
641
                        <th style="width:20%">LABEL_ACTIONS</th>
642
                        </tr>
642
                     </tr>
643
                     </thead>
643
                  </thead>
644
                     <tbody></tbody>
644
                  <tbody></tbody>
645
                  </table>
645
               </table>
646
               </div>
646
            </div>
647
               <div class="card-footer clearfix">
647
            <div class="card-footer clearfix">
648
                  <div style="float:right;">
648
               <div style="float:right;">
649
                     <button type="button" class="btn btn-info btn-refresh"><i class="fa fa-refresh"></i> LABEL_REFRESH </button>
649
                  <button type="button" class="btn btn-info btn-refresh"><i class="fa fa-refresh"></i> LABEL_REFRESH </button>
650
                     <?php if ($allowAdd) : ?>
650
                  <?php if ($allowAdd) : ?>
651
                     <button type="button" class="btn btn-primary btn-add-form"><i class="fa fa-plus"></i> LABEL_ADD </button>
651
                  <button type="button" class="btn btn-primary btn-add-form"><i class="fa fa-plus"></i> LABEL_ADD </button>
652
                     <?php endif; ?>
652
                  <?php endif; ?>
653
                  </div>
-
 
654
               </div>
653
               </div>
655
            </div>
654
            </div>
656
         </div>
655
         </div>
657
      </div>
656
      </div>
658
   </div>
657
   </div>
-
 
658
</div>
659
   <!-- Create/Edit Form -->
659
<!-- Create/Edit Form -->
660
   <div class="row" id="row-form" style="display: none; padding: 16px;">
660
<div class="row" id="row-form" style="display: none; padding: 16px;">
661
      <div class="col-xs-12 col-md-12">
661
   <div class="col-xs-12 col-md-12">
662
         <form action="#" name="form-main" id="form-main">
662
      <form action="#" name="form-main" id="form-main">
663
            <div class="form-group">
663
         <div class="form-group">
664
               <label for="form-name">LABEL_FIRST_NAME</label>
664
            <label for="form-name">LABEL_FIRST_NAME</label>
665
               <input type="text" name="form-name" id="form-name" class="form-control" maxlength="50" />
665
            <input type="text" name="form-name" id="form-name" class="form-control" maxlength="50" />
666
            </div>
666
         </div>
667
            <div class="form-group">
667
         <div class="form-group">
668
                    <label for="job_description_id">LABEL_POSITION_EVALUATED</label>
668
            <label for="job_description_id">LABEL_POSITION_EVALUATED</label>
669
                    <select name="job_description_id" id="job_description_id" class="form-control">
669
            <select name="job_description_id" id="job_description_id" class="form-control">
670
                        <option value="">LABEL_SELECT</option>
670
               <option value="">LABEL_SELECT</option>
671
                        <?php foreach ($jobsDescription as $rs): ?>
671
               <?php foreach ($jobsDescription as $rs): ?>
672
                            <option value="<?php echo $rs->uuid;?>"><?php echo $rs->name;?></option>
672
               <option value="<?php echo $rs->uuid;?>"><?php echo $rs->name;?></option>
673
                        <?php endforeach; ?>
673
               <?php endforeach; ?>
674
                    </select>
674
            </select>
675
                </div>
675
         </div>
676
 
-
 
677
                <div class="form-group">
676
         <div class="form-group">
678
                            <div class="row">
677
            <div class="row">
679
               <div class="col-xs-12 col-md-12">
678
               <div class="col-xs-12 col-md-12">
680
                   <h6>Competencias del cargo</h6>
-
 
681
                  <div class="panel-group" id="rows-job-competencies"></div>
679
                  <div class="panel-group" id="rows-job-competencies"></div>
682
               </div>
680
               </div>
683
            </div>
681
            </div>
684
                        </div>
682
         </div>
685
                <div class="form-group">
683
         <div class="form-group">
686
                    <label for="form-description">LABEL_DESCRIPTION</label>
684
            <label for="form-description">LABEL_DESCRIPTION</label>
687
                    <!--  ckeditor -->
685
            <!--  ckeditor -->
688
                    <textarea  name="form-description" id="form-description" rows="5" class="ckeditor form-control"></textarea>
686
            <textarea  name="form-description" id="form-description" rows="5" class="ckeditor form-control"></textarea>
689
                </div>
687
         </div>
690
                <div class="form-group">
688
         <div class="form-group">
691
                    <label for="form-text">LABEL_TEXT</label>
689
            <label for="form-text">LABEL_TEXT</label>
692
                    <!--  ckeditor -->
690
            <!--  ckeditor -->
693
                    <textarea  name="form-text" id="form-text" rows="5" class="ckeditor form-control"></textarea>
691
            <textarea  name="form-text" id="form-text" rows="5" class="ckeditor form-control"></textarea>
694
                </div>
692
         </div>
695
            <div class="form-group">
693
         <div class="form-group">
696
                    <label for="form-status">LABEL_STATUS</label>
694
            <label for="form-status">LABEL_STATUS</label>
697
                    <select name="form-status" id="form-status" class="form-control">
695
            <select name="form-status" id="form-status" class="form-control">
698
                        <option value="<?php echo $status_inactive; ?>">LABEL_INACTIVE</option>
696
               <option value="<?php echo $status_inactive; ?>">LABEL_INACTIVE</option>
699
                        <option value="<?php echo $status_active; ?>">LABEL_ACTIVE</option>
697
               <option value="<?php echo $status_active; ?>">LABEL_ACTIVE</option>
700
                    </select>
698
            </select>
701
                </div>
699
         </div>
702
            <div class="row">
700
         <div class="row">
703
               <div class="col-xs-12 col-md-12 text-right">
701
            <div class="col-xs-12 col-md-12 text-right">
704
                  <button type="button" class="btn btn-primary" id="btn-add-section" data-toggle="tooltip" title="LABEL_ADD LABEL_SECTION"><i class="fa fa-plus" aria-hidden="true"></i> LABEL_ADD LABEL_SECTION</button>
702
               <button type="button" class="btn btn-primary" id="btn-add-section" data-toggle="tooltip" title="LABEL_ADD LABEL_SECTION"><i class="fa fa-plus" aria-hidden="true"></i> LABEL_ADD LABEL_SECTION</button>
705
               </div>
-
 
706
            </div>
703
            </div>
-
 
704
         </div>
707
            <br />	
705
         <br />	
708
            <div class="row">
706
         <div class="row">
709
               <div class="col-xs-12 col-md-12">
707
            <div class="col-xs-12 col-md-12">
710
                  <div class="panel-group" id="rows"></div>
708
               <div class="panel-group" id="rows"></div>
711
               </div>
-
 
712
            </div>
709
            </div>
-
 
710
         </div>
713
            <div class="form-group">
711
         <div class="form-group">
714
            <button type="button" form="form-main" class="btn btn-info btn-form-save-continue">LABEL_SAVE & LABEL_CONTINUE</button>
712
            <button type="button" form="form-main" class="btn btn-info btn-form-save-continue">LABEL_SAVE & LABEL_CONTINUE</button>
715
               <button type="button" class="btn btn-primary btn-form-save-close">LABEL_SAVE & LABEL_CLOSE</button>
713
            <button type="button" class="btn btn-primary btn-form-save-close">LABEL_SAVE & LABEL_CLOSE</button>
716
               <button type="button" class="btn btn-secondary btn-edit-cancel">LABEL_CANCEL</button>
714
            <button type="button" class="btn btn-secondary btn-edit-cancel">LABEL_CANCEL</button>
717
            </div>
715
         </div>
718
         </form>
716
      </form>
719
      </div>
-
 
720
   </div>
717
   </div>
-
 
718
</div>
721
   <!-- Create/Edit Form-->
719
<!-- Create/Edit Form-->
722
   <!-- section Modal -->
720
<!-- section Modal -->
723
   <div  id="modal-section" class="modal" tabindex="-1" role="dialog">
721
<div  id="modal-section" class="modal" tabindex="-1" role="dialog">
724
      <div class="modal-dialog modal-lg" role="document">
722
   <div class="modal-dialog modal-lg" role="document">
725
         <form action="#" name="form-section" id="form-section">
723
      <form action="#" name="form-section" id="form-section">
726
            <input type="hidden" name="id-section" id="id-section" />
724
         <input type="hidden" name="id-section" id="id-section" />
727
            <div class="modal-content">
725
         <div class="modal-content">
728
               <div class="modal-header">
726
            <div class="modal-header">
729
                  <h4 class="modal-title">LABEL_ADD LABEL_SECTION</h4>
727
               <h4 class="modal-title">LABEL_ADD LABEL_SECTION</h4>
730
                  <button type="button" class="close" data-dismiss="modal" aria-label="Close">
728
               <button type="button" class="close" data-dismiss="modal" aria-label="Close">
731
                  <span aria-hidden="true">&times;</span>
729
               <span aria-hidden="true">&times;</span>
732
                  </button>
730
               </button>
733
               </div>
731
            </div>
734
               <div class="modal-body">
732
            <div class="modal-body">
735
                  <div class="form-group">
733
               <div class="form-group">
736
                     <label for="title-section">LABEL_FIRST_NAME</label>
734
                  <label for="title-section">LABEL_FIRST_NAME</label>
737
                     <input type="text" name="title-section" id="title-section" class="form-control" maxlength="50" value="" />
735
                  <input type="text" name="title-section" id="title-section" class="form-control" maxlength="50" value="" />
738
                  </div>
736
               </div>
739
                  <div class="form-group">
737
               <div class="form-group">
740
                     <label for="text-section">LABEL_TEXT</label>
738
                  <label for="text-section">LABEL_TEXT</label>
741
                     <textarea  name="text-section" id="text-section" rows="5" class="form-control"></textarea>
739
                  <textarea  name="text-section" id="text-section" rows="5" class="form-control"></textarea>
742
                  </div>
740
               </div>
743
                  <div class="form-group">
741
               <div class="form-group">
744
                     <label for="type-section">LABEL_TYPE</label>
742
                  <label for="type-section">LABEL_TYPE</label>
745
                     <select name="type-section" id="type-section" class="form-control">
743
                  <select name="type-section" id="type-section" class="form-control">
746
                        <option value="simple">Simple</option>
744
                     <option value="simple">Simple</option>
747
                        <option value="multiple">Multiple</option>
745
                     <option value="multiple">Multiple</option>
748
                     </select>
746
                  </select>
749
                  </div>
747
               </div>
750
               </div>
748
            </div>
751
               <div class="modal-footer">
749
            <div class="modal-footer">
752
                  <button type="button" id="btn-save-section" class="btn btn-primary">LABEL_SAVE</button>
750
               <button type="button" id="btn-save-section" class="btn btn-primary">LABEL_SAVE</button>
753
                  <button type="button" class="btn btn-secondary" data-dismiss="modal">LABEL_CLOSE</button>
751
               <button type="button" class="btn btn-secondary" data-dismiss="modal">LABEL_CLOSE</button>
754
               </div>
-
 
755
            </div>
752
            </div>
756
         </form>
753
         </div>
757
      </div>
754
      </form>
758
   </div>
755
   </div>
-
 
756
</div>
759
   <!-- End Modal section -->
757
<!-- End Modal section -->
760
   <!-- Modal Options -->
758
<!-- Modal Options -->
761
   <div  id="modal-option" class="modal" tabindex="-1" role="dialog">
759
<div  id="modal-option" class="modal" tabindex="-1" role="dialog">
762
      <div class="modal-dialog modal-lg" role="document">
760
   <div class="modal-dialog modal-lg" role="document">
763
         <form action="#" name="form-option" id="form-option">
761
      <form action="#" name="form-option" id="form-option">
764
            <input type="hidden" name="section-option" id="section-option" value="" />
762
         <input type="hidden" name="section-option" id="section-option" value="" />
765
            <input type="hidden" name="id-option" id="id-option" value="" />
763
         <input type="hidden" name="id-option" id="id-option" value="" />
766
            <div class="modal-content">
764
         <div class="modal-content">
767
               <div class="modal-header">
765
            <div class="modal-header">
768
                  <h4 class="modal-title">LABEL_OPTION</h4>
766
               <h4 class="modal-title">LABEL_OPTION</h4>
769
                  <button type="button" class="close" data-dismiss="modal" aria-label="Close">
767
               <button type="button" class="close" data-dismiss="modal" aria-label="Close">
770
                  <span aria-hidden="true">&times;</span>
768
               <span aria-hidden="true">&times;</span>
771
                  </button>
769
               </button>
772
               </div>
770
            </div>
773
               <div class="modal-body">
771
            <div class="modal-body">
774
                  <div class="form-group">
772
               <div class="form-group">
775
                     <label for="text-option">LABEL_TEXT</label>
773
                  <label for="text-option">LABEL_TEXT</label>
776
                     <!--  ckeditor -->
774
                  <!--  ckeditor -->
777
                     <textarea  name="text-option" id="text-option" rows="5" class="form-control"></textarea>
775
                  <textarea  name="text-option" id="text-option" rows="5" class="form-control"></textarea>
778
                  </div>
776
               </div>
779
               </div>
777
            </div>
780
               <div class="modal-footer">
778
            <div class="modal-footer">
781
                  <button type="button" class="btn btn-primary" id="btn-save-option">LABEL_SAVE</button>
779
               <button type="button" class="btn btn-primary" id="btn-save-option">LABEL_SAVE</button>
782
                  <button type="button" class="btn btn-secondary" data-dismiss="modal">LABEL_CLOSE</button>
780
               <button type="button" class="btn btn-secondary" data-dismiss="modal">LABEL_CLOSE</button>
783
               </div>
-
 
784
            </div>
781
            </div>
785
         </form>
782
         </div>
786
      </div>
783
      </form>
787
   </div>
784
   </div>
-
 
785
</div>
Línea 788... Línea 786...
788
 
786
 
789
   <!-- End Modal Options -->
787
   <!-- End Modal Options -->
790
   <!---Template Sections --->
788
   <!---Template Sections --->
791
   <script id="sectionTemplate" type="text/x-jsrender">
789
   <script id="sectionTemplate" type="text/x-jsrender">