Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 16845 Rev 16891
Línea 649... Línea 649...
649
});
649
});
650
JS;
650
JS;
651
$this->inlineScript()->captureEnd();
651
$this->inlineScript()->captureEnd();
652
?>
652
?>
Línea 653... Línea -...
653
 
-
 
654
 
-
 
655
<!-- Content Header (Page header) -->
-
 
656
<section class="content-header">
653
 
657
	<div class="container-fluid">
654
<div class="container">
658
    	<div class="row mb-2">
655
	<div class="card" id="">
659
        	<div class="col-sm-12">
656
	 	<div class="card-header">
660
            	<h1>LABEL_ACCESS_FOR_STUDENTS</h1>
657
	 		<h6 class="card-title">LABEL_ACCESS_FOR_STUDENTS</h6>
661
			</div>
-
 
662
		</div>
-
 
663
	</div><!-- /.container-fluid -->
-
 
664
</section>
658
	 	</div>
665
 
-
 
666
<section class="content">
-
 
667
	<div class="container-fluid">
-
 
668
    	<div class="row">
-
 
669
        	<div class="col-12">
-
 
670
				<div class="card">        
-
 
671
					<div class="card-header">
659
	 	
672
						<?php 
660
	 	<?php 
673
                        $form = $this->form;
661
                        $form = $this->form;
674
            	        $form->setAttributes([
662
            	        $form->setAttributes([
675
                            'name'    => 'form-filter',
663
                            'name'    => 'form-filter',
676
                            'id'      => 'form-filter',
664
                            'id'      => 'form-filter',
Línea 677... Línea 665...
677
                        ]);
665
                        ]);
678
    
666
    
679
                        $form->prepare();
667
                        $form->prepare();
-
 
668
                        echo $this->form()->openTag($form);
680
                        echo $this->form()->openTag($form);
669
                        ?>	
681
                        ?>		
670
                        
682
                        <div class="row">
671
	 	<div class="card-body">
-
 
672
	 		<div class="row">
683
                            <div class="col-md-6 col-sm-12">
673
                            <div class="col-6 mt-3 ">
684
                                <div class="form-group">
674
                                
Línea 685... Línea 675...
685
                                    <?php
675
                                    <?php
Línea 686... Línea 676...
686
                                    $element = $form->get('topic_uuid');
676
                                    $element = $form->get('topic_uuid');
687
                                   
677
                                   
688
                                    $element->setOptions(['label' => 'LABEL_TOPIC']);
678
                                    $element->setOptions(['label' => 'LABEL_TOPIC']);
689
                                    
679
                                    
690
                                    $element->setAttributes(['class' => 'form-control']);
-
 
-
 
680
                                    $element->setAttributes(['class' => 'form-control']);
691
                                    echo $this->formLabel($element);
681
                                    echo $this->formLabel($element);
692
                                    echo $this->formSelect($element);
682
                                    echo $this->formSelect($element);
693
                                    ?>
-
 
-
 
683
                                    ?>
694
                                </div>	
684
                              	
695
                            </div>
685
                            </div>
696
                            <div class="col-md-6 col-sm-12">
686
                            <div class="col-6 mt-3">
697
                                <div class="form-group">
687
                         
698
                                    <?php
688
                                    <?php
699
                                    $element = $form->get('capsule_uuid');
689
                                    $element = $form->get('capsule_uuid');
700
                                    $element->setOptions(['label' => 'LABEL_CAPSULE']);
690
                                    $element->setOptions(['label' => 'LABEL_CAPSULE']);
701
                                    $element->setAttributes(['class' => 'form-control']);
-
 
702
                                    echo $this->formLabel($element);
-
 
703
                                    echo $this->formSelect($element);
-
 
704
                                    ?>
-
 
705
                                </div>				
-
 
706
                            </div>
-
 
707
                            <div
-
 
708
                                class="col-md-12 col-sm-12"
-
 
709
                            >
-
 
710
                                <div style="float:right;">
-
 
711
                                    <button type="button" class="btn btn-info btn-refresh"><i class="fa fa-refresh"></i> LABEL_REFRESH  </button>
-
 
712
                                    <?php if($allowUpload) : ?>
-
 
-
 
691
                                    $element->setAttributes(['class' => 'form-control']);
713
                                        <button type="button" class="btn btn-primary btn-upload"><i class="fa fa-upload"></i> LABEL_UPLOAD  </button>
-
 
714
                                    <?php endif; ?>
-
 
715
                                    <?php if($allowNotification) : ?>
692
                                    echo $this->formLabel($element);
716
                                        <button type="button" class="btn btn-primary btn-notification"><i class="fa fa-tablet"></i> LABEL_NOTIFICATION </button>
-
 
717
                                    <?php endif; ?>
-
 
718
                                </div>
693
                                    echo $this->formSelect($element);
-
 
694
                                    ?>
719
                            </div>
695
                          			
-
 
696
                            </div>
-
 
697
	 		</div>
720
                        </div>
698
	 	
721
						<?php echo $this->form()->closeTag($form); ?>
699
	 		<div class="row">
722
					</div>            
700
	 	         <div class="col-12 mt-3">
723
					<div class="card-body">
701
	 	         
724
        	    		<table id="gridTable" class="table   table-bordered">
702
	 	         	<table id="gridTable" class="table   table-bordered">
725
                      		<thead>
703
                      		<thead>
Línea 733... Línea 711...
733
                                </tr>
711
                                </tr>
734
                       		</thead>
712
                       		</thead>
735
                         	<tbody>
713
                         	<tbody>
736
                         	</tbody>
714
                         	</tbody>
737
                    	</table>
715
                    	</table>
-
 
716
                    	
738
                   	</div>
717
	 	         </div>
739
          		</div>
718
	 	     </div>
740
           	</div>     
719
	 	</div>
-
 
720
	 	<div class="card-footer text-right">
-
 
721
	 	      <button type="button" class="btn btn-info btn-refresh"><i class="fa fa-refresh"></i> LABEL_REFRESH  </button>
-
 
722
                                    <?php if($allowUpload) : ?>
-
 
723
                                        <button type="button" class="btn btn-primary btn-upload"><i class="fa fa-upload"></i> LABEL_UPLOAD  </button>
-
 
724
                                    <?php endif; ?>
-
 
725
                                    <?php if($allowNotification) : ?>
-
 
726
                                        <button type="button" class="btn btn-primary btn-notification"><i class="fa fa-tablet"></i> LABEL_NOTIFICATION </button>
-
 
727
                                    <?php endif; ?>
741
        </div>          
728
	 	</div>
-
 
729
	 	<?php echo $this->form()->closeTag($form); ?>
742
 	</div>
730
	</div>
743
</section> 
731
</div>
-
 
732
 
-
 
733
 
Línea 744... Línea 734...
744
 
734
 
745
<!-- The Modal -->
735
<!-- The Modal -->
746
<div class="modal" id="notificationPushModal">
736
<div class="modal" id="notificationPushModal">
747
	<div class="modal-dialog modal-sm">
737
	<div class="modal-dialog modal-sm">
Línea 751... Línea 741...
751
      		<div class="modal-header">
741
      		<div class="modal-header">
752
        		<h6 class="modal-title">LABEL_PUSH_NOTIFICATION</h6>
742
        		<h6 class="modal-title">LABEL_PUSH_NOTIFICATION</h6>
753
        		<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="btn-close"></button>
743
        		<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="btn-close"></button>
754
      		</div>
744
      		</div>
Línea 755... Línea -...
755
 
-
 
756
            <!-- Modal body -->
-
 
757
      		<div class="modal-body">
745
 
758
				<?php
746
	<?php
759
				        $form = $this->formPushNotification;
747
				        $form = $this->formPushNotification;
760
                        $form->setAttributes([
748
                        $form->setAttributes([
761
                            'method'    => 'post',
749
                            'method'    => 'post',
762
                            'name'      => 'form-push-notification',
750
                            'name'      => 'form-push-notification',
763
                            'id'        => 'form-push-notification',
751
                            'id'        => 'form-push-notification',
Línea 764... Línea 752...
764
                        ]);
752
                        ]);
765
                    
753
                    
766
                        $form->prepare();
754
                        $form->prepare();
-
 
755
                        echo $this->form()->openTag($form);
-
 
756
                        ?>
767
                        echo $this->form()->openTag($form);
757
      		<div class="modal-body">
-
 
758
			
768
                        ?>
759
                        <div class="row">
769
                        <div class="form-group">
760
                        	<div class="col-12 mt-3">
770
                        	<?php 
761
                        	<?php 
771
                            $element = $form->get('push_template_id');
762
                            $element = $form->get('push_template_id');
772
                            $element->setAttributes([
763
                            $element->setAttributes([
Línea 779... Línea 770...
779
                                'label' => 'LABEL_TYPE'
770
                                'label' => 'LABEL_TYPE'
780
                            ]);
771
                            ]);
781
                            echo $this->formLabel($element);  
772
                            echo $this->formLabel($element);  
782
                            echo $this->formSelect($element);
773
                            echo $this->formSelect($element);
783
                            ?>
774
                            ?>
-
 
775
                            </div>
784
    					</div>
776
    					</div>
Línea 785... Línea -...
785
	
-
 
786
        				<button type="submit" class="btn btn-primary">LABEL_SEND</button>
-
 
787
               			<?php 
-
 
788
                        echo $this->form()->closeTag($form); 
-
 
-
 
777
	
-
 
778
        				
Línea 789... Línea 779...
789
                        ?>
779
               			
Línea 790... Línea 780...
790
       			
780
       			
791
      		</div>
781
      		</div>
-
 
782
 
792
 
783
            <!-- Modal footer -->
793
            <!-- Modal footer -->
784
      		<div class="modal-footer text-right">
-
 
785
      		<button type="submit" class="btn btn-primary">LABEL_SEND</button>
-
 
786
        		<button type="button" class="btn btn-danger" data-dismiss="modal">LABEL_CLOSE</button>
-
 
787
      		</div>
Línea 794... Línea 788...
794
      		<div class="modal-footer">
788
      		<?php 
795
        		<button type="button" class="btn btn-danger" data-dismiss="modal">LABEL_CLOSE</button>
789
                        echo $this->form()->closeTag($form); 
796
      		</div>
790
                        ?>
Línea 809... Línea 803...
809
      		<div class="modal-header">
803
      		<div class="modal-header">
810
        		<h6 class="modal-title">LABEL_UPLOAD</h6>
804
        		<h6 class="modal-title">LABEL_UPLOAD</h6>
811
        		<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="btn-close"></button>
805
        		<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="btn-close"></button>
812
      		</div>
806
      		</div>
Línea 813... Línea -...
813
 
-
 
814
            <!-- Modal body -->
-
 
815
      		<div class="modal-body">
807
 
816
       			 <?php 
808
 <?php 
817
                    $form = $this->formCapsuleCustomer;
809
                    $form = $this->formCapsuleCustomer;
818
            		$form->setAttributes([
810
            		$form->setAttributes([
819
                        'method'    => 'post',
811
                        'method'    => 'post',
820
                        'name'      => 'form-capsule-customer',
812
                        'name'      => 'form-capsule-customer',
821
                        'id'        => 'form-capsule-customer'
813
                        'id'        => 'form-capsule-customer'
Línea 822... Línea 814...
822
                    ]);
814
                    ]);
823
    
815
    
824
                    $form->prepare();
816
                    $form->prepare();
-
 
817
                    echo $this->form()->openTag($form);
-
 
818
                ?>	
Línea 825... Línea 819...
825
                    echo $this->form()->openTag($form);
819
      		<div class="modal-body">
826
                ?>					
-
 
-
 
820
       							
Línea 827... Línea 821...
827
 
821
 
828
				<div class="form-group">
822
				<div class="row">
829
                	
823
                	<div class="col-12 mt-3">
830
                		
824
                		
Línea 836... Línea 830...
836
                        <div class="file-loading">
830
                        <div class="file-loading">
837
                        <?php 
831
                        <?php 
838
                        $element->setAttributes(['class' => 'form-control', 'accept' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet,application/vnd.ms-excel']);
832
                        $element->setAttributes(['class' => 'form-control', 'accept' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet,application/vnd.ms-excel']);
839
                        echo $this->formFile($element);
833
                        echo $this->formFile($element);
840
                        ?>
834
                        ?>
-
 
835
                        </div>
841
                	</div>
836
                	</div>
842
          		</div>
837
          		</div>
Línea 843... Línea -...
843
 
-
 
844
 
838
 
845
								
-
 
846
        		<div class="form-group">
-
 
847
                	<button type="submit" class="btn btn-primary">LABEL_UPLOAD</button>
-
 
848
             		<button type="button" class="btn btn-light btn-cancel">LABEL_CANCEL</button>
-
 
849
           		</div>
-
 
850
    			<?php echo $this->form()->closeTag($form); ?>
839
    			
Línea 851... Línea 840...
851
      		</div>
840
      		</div>
852
 
841
 
-
 
842
            <!-- Modal footer -->
853
            <!-- Modal footer -->
843
      		<div class="modal-footer text-right">
854
      		<div class="modal-footer">
844
      			<button type="submit" class="btn btn-primary">LABEL_UPLOAD</button>
-
 
845
        		<button type="button" class="btn btn-danger" data-dismiss="modal">LABEL_CLOSE</button>
Línea 855... Línea 846...
855
        		<button type="button" class="btn btn-danger" data-dismiss="modal">LABEL_CLOSE</button>
846
      		</div>
856
      		</div>
847
      		<?php echo $this->form()->closeTag($form); ?>
857
 
848
 
Línea 874... Línea 865...
874
 
865
 
875
            <!-- Modal body -->
866
            <!-- Modal body -->
876
      		<div class="modal-body">
867
      		<div class="modal-body">
877
      			<form>
868
      			<form>
878
      				<input type="hidden" name="table-upload-customers-key" id="table-upload-customers-key">
869
      				<input type="hidden" name="table-upload-customers-key" id="table-upload-customers-key">
-
 
870
      				<div class="row">
879
      				<div class="form-group">
871
      					<div class="col-12 mt-3">
880
      					<label>LABEL_TOPIC</label>
872
      					<label>LABEL_TOPIC</label>
-
 
873
      					<input type="text" readonly="readonly" id="table-upload-customers-topic" class="form-control" >
881
      					<input type="text" readonly="readonly" id="table-upload-customers-topic" class="form-control" >
874
      					</div>
882
      				</div>
875
      				</div>
-
 
876
      				<div class="row">
883
      				<div class="form-group">
877
      					<div class="col-12 mt-3">
884
      					<label>LABEL_CAPSULE</label>
878
      					<label>LABEL_CAPSULE</label>
-
 
879
      					<input type="text" readonly="readonly" id="table-upload-customers-capsule" class="form-control" >
885
      					<input type="text" readonly="readonly" id="table-upload-customers-capsule" class="form-control" >
880
      					</div>
886
      				</div>
881
      				</div>
Línea -... Línea 882...
-
 
882
      			</form>
-
 
883
      			
887
      			</form>
884
      			<div class="row">
888
      			
885
      				<div class="col-12 mt-3">
889
      			
886
      				
890
      			
887
      				
891
      			<div style="height: 300px;overflow: scroll;"> 
888
      			<div style="height: 300px;overflow: scroll;"> 
892
    				<table id="gridTableUploadCustomers" style="width: 100%" class="table table-bordered">
889
    				<table id="gridTableUploadCustomers" style="width: 100%" class="table table-bordered">
893
                		<thead>
890
                		<thead>
Línea 900... Línea 897...
900
                      	</thead>
897
                      	</thead>
901
                   		<tbody>
898
                   		<tbody>
902
                   		</tbody>
899
                   		</tbody>
903
             		</table>
900
             		</table>
904
         		</div>
901
         		</div>
-
 
902
      				</div>
-
 
903
      			</div>
-
 
904
      			
Línea 905... Línea 905...
905
       			
905
       			
Línea 906... Línea 906...
906
      		</div>
906
      		</div>
907
 
907
 
908
            <!-- Modal footer -->
908
            <!-- Modal footer -->
909
      		<div class="modal-footer">
909
      		<div class="modal-footer text-right">
910
      			<button type="submit" class="btn btn-primary btn-upload-customers-step2">LABEL_SAVE</button>
910
      			<button type="submit" class="btn btn-primary btn-upload-customers-step2">LABEL_SAVE</button>
Línea 911... Línea 911...
911
        		<button type="button" class="btn btn-danger" data-dismiss="modal">LABEL_CLOSE</button>
911
        		<button type="button" class="btn btn-danger" data-dismiss="modal">LABEL_CLOSE</button>