Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 16992 Rev 17172
Línea 218... Línea 218...
218
                        }
218
                        }
219
                        if(allowUnblock && data['link_unblock']) {
219
                        if(allowUnblock && data['link_unblock']) {
220
                            s = s + '<button class="btn btn-info btn-unblock" data-href="' + data['link_unblock']+ '" data-toggle="tooltip" title="LABEL_UNBLOCK"><i class="fa fa-unlock"></i> LABEL_UNBLOCK </button>&nbsp;';
220
                            s = s + '<button class="btn btn-info btn-unblock" data-href="' + data['link_unblock']+ '" data-toggle="tooltip" title="LABEL_UNBLOCK"><i class="fa fa-unlock"></i> LABEL_UNBLOCK </button>&nbsp;';
221
                        }
221
                        }
222
                        if(allowChangeType && data['link_change_type']) {
222
                        if(allowChangeType && data['link_change_type']) {
223
                            s = s + '<button class="btn btn-info btn-change-type" data-href="' + data['link_change_type']+ '" data-toggle="tooltip" title="LABEL_CHANGE_TYPE"><i class="fa fa-superpowers"></i> LABEL_CHANGE_TYPE </button>&nbsp;';
223
                            s = s + '<button class="btn btn-info btn-edit" data-href="' + data['link_change_type']+ '" data-toggle="tooltip" title="LABEL_EDIT"><i class="fa fa-edit"></i> LABEL_EDIT </button>&nbsp;';
224
                        }
224
                        }
Línea 225... Línea 225...
225
 
225
 
226
 
226
 
Línea 599... Línea 599...
599
$this->inlineScript()->captureEnd();
599
$this->inlineScript()->captureEnd();
600
?>
600
?>
Línea 601... Línea 601...
601
 
601
 
602
 
602
 
603
<div class="container">
-
 
604
 	<div class="card">
-
 
605
 	
-
 
606
                        
-
 
607
 		<div class="card-body">
-
 
608
 			<h6 class="card-title">LABEL_USERS</h6>
-
 
609
 			
-
 
610
        	<div class="row">
-
 
611
         		<div class="col-12  mt-3">
-
 
612
         			<?php
-
 
613
                        $form = $this->formFilter;
-
 
614
                        $form->setAttributes([
-
 
615
                            'method'    => 'post',
-
 
616
                            'name'      => 'form-filter',
-
 
Línea -... Línea 603...
-
 
603
<div class="container">
-
 
604
    <div class="card">
-
 
605
 
-
 
606
 
-
 
607
        <div class="card-body">
-
 
608
            <h6 class="card-title">LABEL_USERS</h6>
-
 
609
 
-
 
610
            <div class="row">
-
 
611
                <div class="col-12  mt-3">
-
 
612
                    <?php
-
 
613
                    $form = $this->formFilter;
-
 
614
                    $form->setAttributes([
-
 
615
                        'method'    => 'post',
-
 
616
                        'name'      => 'form-filter',
617
                            'id'        => 'form-filter'
617
                        'id'        => 'form-filter'
618
                        ]);
618
                    ]);
619
 
619
 
620
                        $form->prepare();
620
                    $form->prepare();
621
                        echo $this->form()->openTag($form);
621
                    echo $this->form()->openTag($form);
622
                        ?>
622
                    ?>
623
           			<table class="table">
623
                    <table class="table">
624
                    	<thead>
624
                        <thead>
625
						</thead>
625
                        </thead>
626
                        <tbody>
626
                        <tbody>
627
                        	<tr>
627
                            <tr>
628
                            	<th>LABEL_PRIVATE_NETWORKS</th>
628
                                <th>LABEL_PRIVATE_NETWORKS</th>
629
                                <td>
629
                                <td>
630
                                        <?php
630
                                    <?php
631
                                        $element = $form->get('network_id');
631
                                    $element = $form->get('network_id');
632
                                        $element->setAttributes(['class' => 'form-control']);
632
                                    $element->setAttributes(['class' => 'form-control']);
633
                                        echo $this->formSelect($element);
633
                                    echo $this->formSelect($element);
634
                                        ?>
634
                                    ?>
Línea 635... Línea 635...
635
                               	</td>
635
                                </td>
636
                            </tr>
636
                            </tr>
Línea 637... Línea 637...
637
                       	</tbody>
637
                        </tbody>
638
 
638
 
639
                   	</table>
639
                    </table>
640
             		<?php echo $this->form()->closeTag($form); ?>
640
                    <?php echo $this->form()->closeTag($form); ?>
641
 
641
 
642
             	</div>
642
                </div>
643
			</div>	
643
            </div>
644
			<div class="row">
644
            <div class="row">
645
         		<div class="col-12  mt-3">
645
                <div class="col-12  mt-3">
646
                        <table id="gridTable" class="table   table-bordered">
646
                    <table id="gridTable" class="table   table-bordered">
647
                            <thead>
647
                        <thead>
648
                                <tr>
648
                            <tr>
649
                                    <th>LABEL_FIRST_NAME</th>
649
                                <th>LABEL_FIRST_NAME</th>
650
                                    <th>LABEL_LAST_NAME</th>
650
                                <th>LABEL_LAST_NAME</th>
651
                                    <th>LABEL_EMAIL</th>
651
                                <th>LABEL_EMAIL</th>
652
                                    <th>LABEL_DETAILS</th>
652
                                <th>LABEL_DETAILS</th>
653
                                    <th>LABEL_ACTIONS</th>
653
                                <th>LABEL_ACTIONS</th>
654
                                </tr>
654
                            </tr>
655
                            </thead>
655
                        </thead>
656
                            <tbody>
656
                        <tbody>
657
                            </tbody>
657
                        </tbody>
658
                        </table>
658
                    </table>
659
            	</div>
659
                </div>
660
            </div>	
660
            </div>
661
            <div class="card-footer  text-right">
661
            <div class="card-footer  text-right">
662
     			<?php if ($allowUpload) : ?>
662
                <?php if ($allowUpload) : ?>
663
            	<button type="button" class="btn btn-sm btn-primary btn-upload"><i class="fa fa-upload"></i> LABEL_UPLOAD </button>
663
                    <button type="button" class="btn btn-sm btn-primary btn-upload"><i class="fa fa-upload"></i> LABEL_UPLOAD </button>
664
            	<?php endif; ?>
664
                <?php endif; ?>
Línea 680... Línea 680...
680
                <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="btn-close"></button>
680
                <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="btn-close"></button>
681
            </div>
681
            </div>
Línea 682... Línea 682...
682
 
682
 
683
 
683
 
684
            <!-- Modal body -->
684
            <!-- Modal body -->
685
                <?php
685
            <?php
686
                $form = $this->formChangePassword;
686
            $form = $this->formChangePassword;
687
                $form->setAttributes([
687
            $form->setAttributes([
688
                    'method'    => 'post',
688
                'method'    => 'post',
689
                    'name'      => 'form-change-password',
689
                'name'      => 'form-change-password',
690
                    'id'        => 'form-change-password'
690
                'id'        => 'form-change-password'
691
                ]);
691
            ]);
692
 
692
 
693
                $form->prepare();
693
            $form->prepare();
694
                echo $this->form()->openTag($form);
694
            echo $this->form()->openTag($form);
Línea 695... Línea 695...
695
                ?>
695
            ?>
696
            <div class="modal-body">
696
            <div class="modal-body">
697
 
697
 
698
      			<div class="row">
698
                <div class="row">
699
                	<div class="col-12  mt-3">
699
                    <div class="col-12  mt-3">
700
                    <?php
700
                        <?php
Línea 701... Línea 701...
701
                    $element = $form->get('first_name');
701
                        $element = $form->get('first_name');
702
                    $element->setOptions(['label' => 'LABEL_FIRST_NAME']);
702
                        $element->setOptions(['label' => 'LABEL_FIRST_NAME']);
703
                    $element->setAttributes(['class' => 'form-control', 'readonly' => 'readonly']);
703
                        $element->setAttributes(['class' => 'form-control', 'readonly' => 'readonly']);
704
 
704
 
705
                    echo $this->formLabel($element);
705
                        echo $this->formLabel($element);
706
                    echo $this->formText($element);
706
                        echo $this->formText($element);
707
                    ?>
707
                        ?>
708
                    </div>
708
                    </div>
709
                </div>
709
                </div>
710
				<div class="row">
710
                <div class="row">
711
                	<div class="col-12  mt-3">
711
                    <div class="col-12  mt-3">
Línea 712... Línea 712...
712
                    <?php
712
                        <?php
713
                    $element = $form->get('last_name');
713
                        $element = $form->get('last_name');
714
                    $element->setOptions(['label' => 'LABEL_LAST_NAME']);
714
                        $element->setOptions(['label' => 'LABEL_LAST_NAME']);
715
                    $element->setAttributes(['class' => 'form-control', 'readonly' => 'readonly']);
715
                        $element->setAttributes(['class' => 'form-control', 'readonly' => 'readonly']);
716
 
716
 
717
                    echo $this->formLabel($element);
717
                        echo $this->formLabel($element);
718
                    echo $this->formText($element);
718
                        echo $this->formText($element);
719
                    ?>
719
                        ?>
720
                    </div>
720
                    </div>
721
                </div>
721
                </div>
722
				<div class="row">
722
                <div class="row">
Línea 723... Línea 723...
723
                	<div class="col-12  mt-3">
723
                    <div class="col-12  mt-3">
724
                    <?php
724
                        <?php
725
                    $element = $form->get('email');
725
                        $element = $form->get('email');
726
                    $element->setOptions(['label' => 'LABEL_EMAIL']);
726
                        $element->setOptions(['label' => 'LABEL_EMAIL']);
727
                    $element->setAttributes(['class' => 'form-control', 'readonly' => 'readonly']);
727
                        $element->setAttributes(['class' => 'form-control', 'readonly' => 'readonly']);
728
 
728
 
729
                    echo $this->formLabel($element);
729
                        echo $this->formLabel($element);
730
                    echo $this->formText($element);
730
                        echo $this->formText($element);
731
                    ?>
731
                        ?>
732
                    </div>
732
                    </div>
733
                </div>
733
                </div>
Línea 734... Línea 734...
734
				<div class="row">
734
                <div class="row">
735
                	<div class="col-12  mt-3">
735
                    <div class="col-12  mt-3">
736
                    <?php
736
                        <?php
737
                    $element = $form->get('password');
737
                        $element = $form->get('password');
738
                    $element->setOptions(['label' => 'LABEL_PASSWORD']);
738
                        $element->setOptions(['label' => 'LABEL_PASSWORD']);
739
                    $element->setAttributes(['class' => 'form-control']);
739
                        $element->setAttributes(['class' => 'form-control']);
740
 
740
 
741
                    echo $this->formLabel($element);
741
                        echo $this->formLabel($element);
742
                    echo $this->formPassword($element);
742
                        echo $this->formPassword($element);
743
                    ?>
743
                        ?>
744
                    </div>
744
                    </div>
Línea 745... Línea 745...
745
                </div>
745
                </div>
746
                <div class="row">
746
                <div class="row">
747
                	<div class="col-12  mt-3">
747
                    <div class="col-12  mt-3">
748
                    <?php
748
                        <?php
749
                    $element = $form->get('confirmation');
749
                        $element = $form->get('confirmation');
Línea 750... Línea 750...
750
                    $element->setOptions(['label' => 'LABEL_CONFIRMATION']);
750
                        $element->setOptions(['label' => 'LABEL_CONFIRMATION']);
751
                    $element->setAttributes(['class' => 'form-control']);
751
                        $element->setAttributes(['class' => 'form-control']);
Línea 752... Línea 752...
752
 
752
 
753
                    echo $this->formLabel($element);
753
                        echo $this->formLabel($element);
754
                    echo $this->formPassword($element);
754
                        echo $this->formPassword($element);
755
                    ?>
755
                        ?>
756
                    </div>
756
                    </div>
757
                </div>
757
                </div>
Línea 758... Línea 758...
758
 
758
 
Línea 778... Línea 778...
778
 
778
 
779
            <!-- Modal Header -->
779
            <!-- Modal Header -->
780
            <div class="modal-header">
780
            <div class="modal-header">
781
                <h3 class="modal-title">LABEL_UPLOAD</h3>
781
                <h3 class="modal-title">LABEL_UPLOAD</h3>
782
            </div>
782
            </div>
783
                          <?php
783
            <?php
784
                $form = $this->formUploadUsers;
784
            $form = $this->formUploadUsers;
785
                $form->setAttributes([
785
            $form->setAttributes([
786
                    'method'    => 'post',
786
                'method'    => 'post',
787
                    'name'      => 'form-upload-users',
787
                'name'      => 'form-upload-users',
788
                    'id'        => 'form-upload-users'
788
                'id'        => 'form-upload-users'
789
                ]);
789
            ]);
790
 
790
 
791
                $form->prepare();
791
            $form->prepare();
792
                echo $this->form()->openTag($form);
792
            echo $this->form()->openTag($form);
Línea 793... Línea 793...
793
                ?>
793
            ?>
794
 
794
 
795
            <!-- Modal body -->
795
            <!-- Modal body -->
Línea 796... Línea 796...
796
            <div class="modal-body">
796
            <div class="modal-body">
797
  
797
 
Línea 798... Línea -...
798
 
-
 
799
                <div class="row">
-
 
800
                	<div class="col-12  mt-3">
-
 
801
 
-
 
802
 
-
 
803
                    <?php
-
 
804
                    $element = $form->get('file');
798
 
-
 
799
                <div class="row">
805
                    $element->setOptions(['label' => 'LABEL_EXCEL']);
800
                    <div class="col-12  mt-3">
806
                    echo $this->formLabel($element);
801
 
807
                    ?>
802
 
-
 
803
                        <?php
-
 
804
                        $element = $form->get('file');
-
 
805
                        $element->setOptions(['label' => 'LABEL_EXCEL']);
-
 
806
                        echo $this->formLabel($element);
-
 
807
                        ?>
808
                    <div class="file-loading">
808
                        <div class="file-loading">
809
                        <?php
809
                            <?php
810
                        $element->setAttributes(['class' => 'form-control', 'accept' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet,application/vnd.ms-excel']);
810
                            $element->setAttributes(['class' => 'form-control', 'accept' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet,application/vnd.ms-excel']);
Línea 811... Línea 811...
811
                        echo $this->formFile($element);
811
                            echo $this->formFile($element);
812
                        ?>
812
                            ?>
813
                    </div>
813
                        </div>
814
                    </div>
814
                    </div>
815
                </div>
815
                </div>
816
 
816
 
817
 
817
 
818
 
818
 
819
                
819
 
820
            </div>
820
            </div>
Línea 885... Línea 885...
885
            <div class="modal-header">
885
            <div class="modal-header">
886
                <h6 class="modal-title">LABEL_USERS</h6>
886
                <h6 class="modal-title">LABEL_USERS</h6>
887
                <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="btn-close"></button>
887
                <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="btn-close"></button>
888
            </div>
888
            </div>
Línea 889... Línea 889...
889
 
889
 
890
       <?php
890
            <?php
891
                $form = $this->formChangeType;
891
            $form = $this->formChangeType;
892
                $form->setAttributes([
892
            $form->setAttributes([
893
                    'method'    => 'post',
893
                'method'    => 'post',
894
                    'name'      => 'form-change-type',
894
                'name'      => 'form-change-type',
895
                    'id'        => 'form-change-type'
895
                'id'        => 'form-change-type'
896
                ]);
896
            ]);
897
 
897
 
898
                $form->prepare();
898
            $form->prepare();
899
                echo $this->form()->openTag($form);
899
            echo $this->form()->openTag($form);
900
                ?>
900
            ?>
901
            <!-- Modal body -->
901
            <!-- Modal body -->
902
            <div class="modal-body">
902
            <div class="modal-body">
903
         
903
 
904
                <div class="row">
904
                <div class="row">
905
                	<div class="col-12  mt-3">
905
                    <div class="col-12  mt-3">
906
                    <?php
906
                        <?php
907
                    $element = $form->get('usertype_id');
907
                        $element = $form->get('usertype_id');
908
                    $element->setOptions(['label' => 'LABEL_USER_TYPE']);
908
                        $element->setOptions(['label' => 'LABEL_USER_TYPE']);
Línea 909... Línea 909...
909
                    $element->setAttributes(['class' => 'form-control', 'readonly' => 'readonly']);
909
                        $element->setAttributes(['class' => 'form-control', 'readonly' => 'readonly']);
910
 
910
 
911
                    echo $this->formLabel($element);
911
                        echo $this->formLabel($element);
912
                    echo $this->formSelect($element);
912
                        echo $this->formSelect($element);
913
                    ?>
913
                        ?>
Línea 914... Línea 914...
914
                    </div>
914
                    </div>
915
                </div>
915
                </div>
Línea 916... Línea 916...
916
 
916
 
917
                
917
 
918
            </div>
918
            </div>
919
 
919
 
920
            <!-- Modal footer -->
920
            <!-- Modal footer -->
921
            <div class="modal-footer text-right">
921
            <div class="modal-footer text-right">
Línea 922... Línea 922...
922
					<button type="submit" class="btn btn-primary">LABEL_SAVE</button>
922
                <button type="submit" class="btn btn-primary">LABEL_SAVE</button>
923
                    <button type="button" class="btn btn-light btn-cancel">LABEL_CANCEL</button>
923
                <button type="button" class="btn btn-light btn-cancel">LABEL_CANCEL</button>