Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 1109 Rev 1110
Línea 554... Línea 554...
554
            </div>
554
            </div>
555
         </div>
555
         </div>
556
      </div>
556
      </div>
557
   </div>
557
   </div>
558
</section>
558
</section>
559
 
-
 
560
<!-- The Form creation -->
559
<!-- The Form creation -->
561
 
-
 
562
<section class="content" id="row-form" style="display: none">
560
<section class="content" id="row-form" style="display: none">
563
   <div class="container-fluid">
561
   <div class="container-fluid">
564
   <div class="row">
562
   <div class="row">
565
   <div class="col-md-12 col-sm-12 col-12">
563
      <div class="col-md-12 col-sm-12 col-12">
566
      <div class="panel">
564
         <div class="panel">
567
         <div class="panel-body">
565
            <div class="panel-body">
568
            <?php 
566
               <?php 
569
               $form = $this->form;
567
                  $form = $this->form;
570
               $form->setAttributes([
568
                  $form->setAttributes([
571
                   'method'    => 'post',
569
                      'method'    => 'post',
572
                   'name'      => 'form',
570
                      'name'      => 'form',
573
                   'id'        => 'form'
571
                      'id'        => 'form'
574
               ]);
572
                  ]);
575
               
573
                  
576
               $form->prepare();
574
                  $form->prepare();
577
               echo $this->form()->openTag($form);
575
                  echo $this->form()->openTag($form);
578
               ?>
576
                  ?>
579
            <div   class="row">
577
               <div   class="row">
580
               <div class="col-md-4 col-sm-12 col-12">
578
                  <div class="col-md-4 col-sm-12 col-12">
581
                  <div class="from-group">
579
                     <div class="from-group">
582
                     <?php 
580
                        <?php 
583
                        $element = $form->get('competency_type_id');
581
                           $element = $form->get('competency_type_id');
584
                        $element->setOptions(['label' => 'LABEL_TYPE']);
582
                           $element->setOptions(['label' => 'LABEL_TYPE']);
585
                                        
583
                                           
586
                        echo $this->formLabel($element);
584
                           echo $this->formLabel($element);
587
                        echo $this->formSelect($element);
585
                           echo $this->formSelect($element);
588
                        ?>
586
                           ?>
-
 
587
                     </div>
589
                  </div>
588
                  </div>
590
               </div>
-
 
591
               <div class="col-md-4 col-sm-12 col-12">
589
                  <div class="col-md-4 col-sm-12 col-12">
592
                  <div class="from-group">
590
                     <div class="from-group">
593
                     <?php 
591
                        <?php 
594
                        $element = $form->get('name');
592
                           $element = $form->get('name');
595
                        $element->setOptions(['label' => 'LABEL_NAME']);
593
                           $element->setOptions(['label' => 'LABEL_NAME']);
596
                        $element->setAttributes(['class' => 'form-control']); 
594
                           $element->setAttributes(['class' => 'form-control']); 
597
                                        
595
                                           
598
                        echo $this->formLabel($element);
596
                           echo $this->formLabel($element);
599
                        echo $this->formText($element);
597
                           echo $this->formText($element);
600
                        ?>
598
                           ?>
-
 
599
                     </div>
601
                  </div>
600
                  </div>
602
               </div>
-
 
603
               <div class="col-md-4 col-sm-12 col-12">
601
                  <div class="col-md-4 col-sm-12 col-12">
604
                  <div class="from-group">
602
                     <div class="from-group">
605
                     <label>LABEL_STATUS</label>
603
                        <label>LABEL_STATUS</label>
606
                     <br />
604
                        <br />
607
                     <?php 
605
                        <?php 
608
                        $element = $form->get('status');
606
                           $element = $form->get('status');
609
                        $element->setOptions(['label' => 'LABEL_STATUS']);
607
                           $element->setOptions(['label' => 'LABEL_STATUS']);
610
                        // echo $this->formLabel($element);
608
                           // echo $this->formLabel($element);
611
                        echo $this->formCheckbox($element);
609
                           echo $this->formCheckbox($element);
612
                        ?>
610
                           ?>
-
 
611
                     </div>
613
                  </div>
612
                  </div>
614
               </div>
-
 
615
               <div class="col-md col-sm-12 col-12">
613
                  <div class="col-md col-sm-12 col-12">
616
                  <div class="form-group">
614
                     <div class="form-group">
617
                     <?php
615
                        <?php
618
                        $element = $form->get('description');
616
                           $element = $form->get('description');
619
                        $element->setOptions(['label' => 'LABEL_DESCRIPTION']);
617
                           $element->setOptions(['label' => 'LABEL_DESCRIPTION']);
620
                        $element->setAttributes(['class' => 'form-control']); 
618
                           $element->setAttributes(['class' => 'form-control']); 
621
                        
619
                           
622
                        echo $this->formLabel($element);
620
                           echo $this->formLabel($element);
623
                        echo $this->formTextArea($element);
621
                           echo $this->formTextArea($element);
624
                        ?>
622
                           ?>
-
 
623
                     </div>
625
                  </div>
624
                  </div>
626
               </div>
-
 
627
               <?php echo $this->form()->closeTag($form); ?>
625
                  <?php echo $this->form()->closeTag($form); ?>
628
               <div class="row">
626
                  <div class="row">
629
               <div class="col-xs-3 col-md-3">
627
                     <div class="col-xs-3 col-md-3">
630
<select name="select-conduct" class="form-control">
628
                        <select name="select-conduct" class="form-control">
631
            </select>
629
                        </select>
632
</div>
-
 
633
            </div>
630
                     </div>
634
               <div class="col-xs-3 col-md-3">
631
                  <div class="col-xs-3 col-md-3">
635
                  <button class="btn btn-primary" id="btn-select-conduct" data-toggle="tooltip" title="LABEL_ADD LABEL_CONDUCT"><i class="fa fa-plus" aria-hidden="true"></i> LABEL_ADD LABEL_CONDUCT</button>
632
                     <button class="btn btn-primary" id="btn-select-conduct" data-toggle="tooltip" title="LABEL_ADD LABEL_CONDUCT"><i class="fa fa-plus" aria-hidden="true"></i> LABEL_ADD LABEL_CONDUCT</button>
636
               </div>
633
                  </div>
637
               <div class="col-xs-6 col-md-6 text-right">
634
                  <div class="col-xs-6 col-md-6 text-right">
638
                  <button class="btn btn-primary" id="btn-add-conduct" data-toggle="tooltip" title="LABEL_ADD LABEL_CONDUCT"><i class="fa fa-plus" aria-hidden="true"></i> LABEL_ADD LABEL_CONDUCT</button>
635
                     <button class="btn btn-primary" id="btn-add-conduct" data-toggle="tooltip" title="LABEL_ADD LABEL_CONDUCT"><i class="fa fa-plus" aria-hidden="true"></i> LABEL_ADD LABEL_CONDUCT</button>
-
 
636
                  </div>
639
               </div>
637
                </div>
640
               </div>
638
               </div>
641
               <div class="col-xs-12 col-md-12">
639
               <div class="col-xs-12 col-md-12">
642
                  <br/>
640
                  <br/>
643
                  <div class="table-responsive">
641
                  <div class="table-responsive">
644
                     <table class="table table-bordered">
642
                     <table class="table table-bordered">
Línea 661... Línea 659...
661
            </div>
659
            </div>
662
         </div>
660
         </div>
663
      </div>
661
      </div>
664
   </div>
662
   </div>
665
</section>
663
</section>
666
 
-
 
667
<!---end form--->
664
<!---end form--->
668
 
-
 
669
 
-
 
670
<!--start modal conduct-->
665
<!--start modal conduct-->
671
<div  id="modal-conduct" class="modal" tabindex="-1" role="dialog">
666
<div  id="modal-conduct" class="modal" tabindex="-1" role="dialog">
672
   <div class="modal-dialog modal-lg" role="document">
667
   <div class="modal-dialog modal-lg" role="document">
673
      <form action="#" name="form-conduct" id="form-conduct">
668
      <form action="#" name="form-conduct" id="form-conduct">
674
         <input type="hidden" name="conduct-id" id="conduct-id" value="" />
669
         <input type="hidden" name="conduct-id" id="conduct-id" value="" />
Línea 693... Línea 688...
693
         </div>
688
         </div>
694
      </form>
689
      </form>
695
   </div>
690
   </div>
696
</div>
691
</div>
697
<!---end modal conduct --->
692
<!---end modal conduct --->
698
 
-
 
699
 
-
 
700
<!--start template--->
693
<!--start template--->
701
 
-
 
702
<script id="behaviorTemplate" type="text/x-jsrender">
694
<script id="behaviorTemplate" type="text/x-jsrender">
703
   <tr>
695
   <tr>
704
       <td class="text-left">{{:description}}</td>   
696
       <td class="text-left">{{:description}}</td>   
705
       <td>
697
       <td>
706
           <button class="btn btn-default btn-edit-conduct" data-conduct="{{:id}}" data-toggle="tooltip"  data-original-title="LABEL_EDIT"><i class="fa fa-edit" aria-hidden="true"></i> LABEL_EDIT</button>
698
           <button class="btn btn-default btn-edit-conduct" data-conduct="{{:id}}" data-toggle="tooltip"  data-original-title="LABEL_EDIT"><i class="fa fa-edit" aria-hidden="true"></i> LABEL_EDIT</button>
707
           <button class="btn btn-default btn-delete-conduct" data-conduct="{{:id}}" data-toggle="tooltip"  data-original-title="LABEL_DELETE"><i class="fa fa-ban" aria-hidden="true"></i> LABEL_DELETE</button>   
699
           <button class="btn btn-default btn-delete-conduct" data-conduct="{{:id}}" data-toggle="tooltip"  data-original-title="LABEL_DELETE"><i class="fa fa-ban" aria-hidden="true"></i> LABEL_DELETE</button>   
708
       </td>
700
       </td>
709
   </tr>
701
   </tr>
710
   
-
 
711
</script>
702
</script>
712
 
-
 
713
<!--end template--->
703
<!--end template--->
714
704