Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 16845 Rev 16891
Línea 626... Línea 626...
626
    });
626
    });
627
JS;
627
JS;
628
$this->inlineScript()->captureEnd();
628
$this->inlineScript()->captureEnd();
629
?>
629
?>
Línea 630... Línea -...
630
 
-
 
631
 
-
 
632
<!-- Content Header (Page header) -->
-
 
633
<section class="content-header">
630
 
634
	<div class="container-fluid">
631
<div class="container">
635
    	<div class="row mb-2">
632
	<div class="card" id="">
636
        	<div class="col-sm-12">
633
	 	<div class="card-header">
637
            	<h1>LABEL_STUDENTS</h1>
634
	 		<h6 class="card-title">LABEL_STUDENTS</h6>
638
			</div>
-
 
639
		</div>
-
 
640
	</div><!-- /.container-fluid -->
-
 
641
</section>
-
 
642
 
-
 
643
<section class="content">
635
	 	</div>
644
	<div class="container-fluid">
636
	 	<div class="card-body">
645
    	<div class="row">
637
	 		<div class="row">
646
        	<div class="col-12">
-
 
647
				<div class="card">        
-
 
648
					<div class="card-header">
638
	 	         <div class="col-12 mt-3">
649
					</div>
-
 
650
					<div class="card-body">
639
	 	         
651
        	    		<table id="gridTable" class="table   table-bordered">
640
	 	         <table id="gridTable" class="table   table-bordered">
652
                      		<thead>
641
                      		<thead>
653
        						<tr>
642
        						<tr>
654
                                	<th>LABEL_FIRST_NAME</th>
643
                                	<th>LABEL_FIRST_NAME</th>
655
                                	<th>LABEL_LAST_NAME</th>
644
                                	<th>LABEL_LAST_NAME</th>
Línea 659... Línea 648...
659
                                </tr>
648
                                </tr>
660
                       		</thead>
649
                       		</thead>
661
                         	<tbody>
650
                         	<tbody>
662
                         	</tbody>
651
                         	</tbody>
663
                    	</table>
652
                    	</table>
664
                   	</div>
-
 
665
                   	<div class="card-footer clearfix">
-
 
666
                 	</div>
-
 
-
 
653
                    	
-
 
654
                    	
667
          		</div>
655
	 	         </div>
668
           	</div>     
656
	 	     </div>
669
        </div>          
657
	 	</div>
-
 
658
 
670
 	</div>
659
	</div>
671
</section> 
660
</div>
-
 
661
 
-
 
662
 
Línea 672... Línea 663...
672
 
663
 
673
 
664
 
674
<!-- The Modal -->
665
<!-- The Modal -->
Línea 680... Línea 671...
680
      		<div class="modal-header">
671
      		<div class="modal-header">
681
        		<h6 class="modal-title">LABEL_EDIT</h6>
672
        		<h6 class="modal-title">LABEL_EDIT</h6>
682
        		<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="btn-close"></button>
673
        		<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="btn-close"></button>
683
      		</div>
674
      		</div>
Línea 684... Línea -...
684
 
-
 
685
            <!-- Modal body -->
-
 
686
      		<div class="modal-body">
675
 
687
       			 <?php 
676
 <?php 
688
                    $form = $this->formExtendUser;
677
                    $form = $this->formExtendUser;
689
            		$form->setAttributes([
678
            		$form->setAttributes([
690
                        'method'    => 'post',
679
                        'method'    => 'post',
691
                        'name'      => 'form-extend-user',
680
                        'name'      => 'form-extend-user',
Línea 694... Línea 683...
694
    
683
    
695
                    $form->prepare();
684
                    $form->prepare();
Línea 696... Línea 685...
696
                    echo $this->form()->openTag($form);
685
                    echo $this->form()->openTag($form);
-
 
686
                    
-
 
687
                    ?>
Línea 697... Línea 688...
697
                    
688
      		<div class="modal-body">
-
 
689
       			
698
                    ?>
690
                    
699
                    
691
                   	<div class="row">
-
 
692
                   		<div class="col-12 mt-3">
700
                   	<div class="form-group">
693
      					<label>LABEL_FIRST_NAME</label>
701
      					<label>LABEL_FIRST_NAME</label>
694
      					<input type="text" readonly="readonly" name="first_name" id="first_name" class="form-control" >
-
 
695
      					</div>
702
      					<input type="text" readonly="readonly" name="first_name" id="first_name" class="form-control" >
696
      			 	</div>
703
      				</div>
697
      			 	<div class="row">
-
 
698
                   		<div class="col-12 mt-3">
704
      				<div class="form-group">
699
      					<label>LABEL_LAST_NAME</label>
705
      					<label>LABEL_LAST_NAME</label>
700
      					<input type="text" readonly="readonly" name="last_name" id="last_name" class="form-control" >
-
 
701
      					</div>
706
      					<input type="text" readonly="readonly" name="last_name" id="last_name" class="form-control" >
702
      				</div>	
707
      				</div>
703
      				<div class="row">
708
      				<div class="form-group">
704
                   		<div class="col-12 mt-3">
709
      					<label>LABEL_EMAIL</label>
-
 
-
 
705
      					<label>LABEL_EMAIL</label>
710
      					<input type="text" readonly="readonly" name="email" id="email" class="form-control" >
706
      					<input type="text" readonly="readonly" name="email" id="email" class="form-control" >
711
      				</div>
707
      					</div>
712
                    
708
                    </div>
713
                    <?php 
709
                    <?php 
714
                    $fields = [ 
710
                    $fields = [ 
Línea 755... Línea 751...
755
                        $column++;
751
                        $column++;
Línea 756... Línea 752...
756
                    
752
                    
Línea 757... Línea 753...
757
                    ?>		
753
                    ?>		
758
                    
-
 
-
 
754
                    
759
                    			
755
                    			
760
                             <div class="col-md-6 col-sm-12">
756
                             <div class="col-6 mt-3">
761
    					<div class="form-group">
757
    					
762
        					<?php 
758
        					<?php 
Línea 763... Línea 759...
763
                            $element = $form->get( $field['name'] );
759
                            $element = $form->get( $field['name'] );
764
                            $element->setOptions(['label' => $field['label'] ]);
760
                            $element->setOptions(['label' => $field['label'] ]);
765
                            $element->setAttributes(['class' => 'form-control']); 
761
                            $element->setAttributes(['class' => 'form-control']); 
766
                                            
762
                                            
767
                            echo $this->formLabel($element);
763
                            echo $this->formLabel($element);
768
                            echo $this->formSelect($element);
764
                            echo $this->formSelect($element);
769
                            ?>
765
                            ?>
770
						</div>
766
					
771
						</div>
767
							</div>
772
						<?php 
768
						<?php 
Línea 779... Línea 775...
779
						<?php if($column) {
775
						<?php if($column) {
780
						    echo '</div>';
776
						    echo '</div>';
781
						} 
777
						} 
782
						?>
778
						?>
Línea 783... Línea 779...
783
						
779
						
784
								
-
 
785
        				<div class="form-group">
-
 
786
                    		<button type="submit" class="btn btn-primary">LABEL_SAVE</button>
-
 
787
                    		<button type="button" class="btn btn-light btn-cancel">LABEL_CANCEL</button>
-
 
788
                   		</div>
-
 
-
 
780
				
789
     	      		<?php echo $this->form()->closeTag($form); ?>
781
     	      		
Línea 790... Línea 782...
790
      		</div>
782
      		</div>
791
 
783
 
-
 
784
            <!-- Modal footer -->
792
            <!-- Modal footer -->
785
      		<div class="modal-footer text-right">
793
      		<div class="modal-footer">
786
      			<button type="submit" class="btn btn-primary">LABEL_SAVE</button>
-
 
787
        		 <button type="button" class="btn btn-light" data-bs-dismiss="modal">LABEL_CLOSE</button>
Línea 794... Línea 788...
794
        		 <button type="button" class="btn btn-light" data-bs-dismiss="modal">LABEL_CLOSE</button>
788
      		</div>
795
      		</div>
789
      		<?php echo $this->form()->closeTag($form); ?>
796
 
790
 
Línea 818... Línea 812...
818
                   	</div>
812
                   	</div>
819
               	</div>    		
813
               	</div>    		
820
      		</div>
814
      		</div>
Línea 821... Línea 815...
821
 
815
 
822
            <!-- Modal footer -->
816
            <!-- Modal footer -->
823
      		<div class="modal-footer">
817
      		<div class="modal-footer text-right">
824
        		 <button type="button" class="btn btn-light" data-bs-dismiss="modal">LABEL_CLOSE</button>
818
        		 <button type="button" class="btn btn-light" data-bs-dismiss="modal">LABEL_CLOSE</button>
Línea 825... Línea 819...
825
      		</div>
819
      		</div>
826
 
820
 
Línea 837... Línea 831...
837
      		<div class="modal-header">
831
      		<div class="modal-header">
838
        		<h6 class="modal-title">LABEL_USERS</h6>
832
        		<h6 class="modal-title">LABEL_USERS</h6>
839
        		<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="btn-close"></button>
833
        		<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="btn-close"></button>
840
      		</div>
834
      		</div>
Línea 841... Línea -...
841
 
-
 
842
            <!-- Modal body -->
-
 
843
      		<div class="modal-body">
835
 
844
       			 <?php 
836
<?php 
845
                    $form = $this->formChangePassword;
837
                    $form = $this->formChangePassword;
846
            		$form->setAttributes([
838
            		$form->setAttributes([
847
                        'method'    => 'post',
839
                        'method'    => 'post',
848
                        'name'      => 'form-change-password',
840
                        'name'      => 'form-change-password',
849
                        'id'        => 'form-change-password'
841
                        'id'        => 'form-change-password'
Línea 850... Línea 842...
850
                    ]);
842
                    ]);
851
    
843
    
852
                    $form->prepare();
844
                    $form->prepare();
-
 
845
                    echo $this->form()->openTag($form);
-
 
846
                    ?>	
853
                    echo $this->form()->openTag($form);
847
      		<div class="modal-body">
-
 
848
       			 		
854
                    ?>			
849
                        <div class="row">
855
                        <div class="form-group">
850
                        	<div class="col-12 mt-3">
856
        					<?php 
851
        					<?php 
857
                            $element = $form->get('first_name');
852
                            $element = $form->get('first_name');
Línea 858... Línea 853...
858
                            $element->setOptions(['label' => 'LABEL_FIRST_NAME']);
853
                            $element->setOptions(['label' => 'LABEL_FIRST_NAME']);
859
                            $element->setAttributes(['class' => 'form-control', 'readonly' => 'readonly']); 
854
                            $element->setAttributes(['class' => 'form-control', 'readonly' => 'readonly']); 
860
                                            
855
                                            
-
 
856
                            echo $this->formLabel($element);
861
                            echo $this->formLabel($element);
857
                            echo $this->formText($element);
-
 
858
                            ?>
-
 
859
                            </div>
862
                            echo $this->formText($element);
860
						</div>
863
                            ?>
861
    			 		
864
						</div>
862
                        <div class="row">
865
						<div class="form-group">
863
                        	<div class="col-12 mt-3">
866
        					<?php 
864
        					<?php 
Línea 867... Línea 865...
867
                            $element = $form->get('last_name');
865
                            $element = $form->get('last_name');
868
                            $element->setOptions(['label' => 'LABEL_LAST_NAME']);
866
                            $element->setOptions(['label' => 'LABEL_LAST_NAME']);
869
                            $element->setAttributes(['class' => 'form-control', 'readonly' => 'readonly']); 
867
                            $element->setAttributes(['class' => 'form-control', 'readonly' => 'readonly']); 
-
 
868
                                            
870
                                            
869
                            echo $this->formLabel($element);
-
 
870
                            echo $this->formText($element);
-
 
871
                            ?>
871
                            echo $this->formLabel($element);
872
                            </div>
872
                            echo $this->formText($element);
873
						</div>
873
                            ?>
874
    			 		
874
						</div>
875
                        <div class="row">
875
						<div class="form-group">
876
                        	<div class="col-12 mt-3">
Línea 876... Línea 877...
876
        					<?php 
877
        					<?php 
877
                            $element = $form->get('email');
878
                            $element = $form->get('email');
878
                            $element->setOptions(['label' => 'LABEL_EMAIL']);
879
                            $element->setOptions(['label' => 'LABEL_EMAIL']);
-
 
880
                            $element->setAttributes(['class' => 'form-control', 'readonly' => 'readonly']); 
879
                            $element->setAttributes(['class' => 'form-control', 'readonly' => 'readonly']); 
881
                                            
-
 
882
                            echo $this->formLabel($element);
-
 
883
                            echo $this->formText($element);
880
                                            
884
                            ?>
881
                            echo $this->formLabel($element);
885
                            </div>
882
                            echo $this->formText($element);
886
						</div>		
883
                            ?>
887
    			 		
884
						</div>		
888
                        <div class="row">
Línea 885... Línea 889...
885
    					<div class="form-group">
889
                        	<div class="col-12 mt-3">
886
        					<?php 
890
        					<?php 
887
                            $element = $form->get('password');
891
                            $element = $form->get('password');
-
 
892
                            $element->setOptions(['label' => 'LABEL_PASSWORD']);
888
                            $element->setOptions(['label' => 'LABEL_PASSWORD']);
893
                            $element->setAttributes(['class' => 'form-control']); 
-
 
894
                                            
-
 
895
                            echo $this->formLabel($element);
889
                            $element->setAttributes(['class' => 'form-control']); 
896
                            echo $this->formPassword($element);
890
                                            
897
                            ?>
891
                            echo $this->formLabel($element);
898
                            </div>
892
                            echo $this->formPassword($element);
899
						</div>
893
                            ?>
900
    			 		
Línea 894... Línea 901...
894
						</div>
901
                        <div class="row">
895
						<div class="form-group">
902
                        	<div class="col-12 mt-3">
896
                    	<?php 
903
                    	<?php 
-
 
904
                            $element = $form->get('confirmation');
897
                            $element = $form->get('confirmation');
905
                            $element->setOptions(['label' => 'LABEL_CONFIRMATION']);
Línea 898... Línea 906...
898
                            $element->setOptions(['label' => 'LABEL_CONFIRMATION']);
906
                            $element->setAttributes(['class' => 'form-control']); 
899
                            $element->setAttributes(['class' => 'form-control']); 
-
 
900
 
-
 
901
                            echo $this->formLabel($element);
-
 
902
                            echo $this->formPassword($element);
-
 
903
                        ?>
-
 
904
						</div>
907
 
Línea 905... Línea 908...
905
 
908
                            echo $this->formLabel($element);
906
								
909
                            echo $this->formPassword($element);
-
 
910
                        ?>
907
        				<div class="form-group">
911
                        	</div>
908
                    		<button type="submit" class="btn btn-primary">LABEL_SAVE</button>
912
						</div>
-
 
913
 
Línea 909... Línea 914...
909
                    		<button type="button" class="btn btn-light btn-cancel-modal">LABEL_CANCEL</button>
914
     	      		
910
                   		</div>
915
      		</div>
911
     	      		<?php echo $this->form()->closeTag($form); ?>
916