Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 16822 Rev 16840
Línea 636... Línea 636...
636
JS;
636
JS;
637
$this->inlineScript()->captureEnd();
637
$this->inlineScript()->captureEnd();
638
?>
638
?>
Línea 639... Línea -...
639
 
-
 
-
 
639
 
-
 
640
 
640
 
641
<div class="container">
641
 
-
 
642
 
642
 	<div class="card">
643
 
-
 
644
 
-
 
645
 
-
 
646
<!-- Content Header (Page header) -->
643
 	
647
<section class="content-header">
-
 
648
    <div class="container-fluid">
-
 
649
        <div class="row mb-2">
644
                        
650
            <div class="col-sm-12">
-
 
651
                <h1>LABEL_USERS</h1>
-
 
652
            </div>
-
 
653
        </div>
-
 
654
    </div><!-- /.container-fluid -->
645
 		<div class="card-body">
655
</section>
-
 
656
 
-
 
657
<section class="content">
646
 			<h6 class="card-title">LABEL_USERS</h6>
658
    <div class="container-fluid">
647
 			
659
        <div class="row">
-
 
660
            <div class="col-12">
-
 
661
                <div class="card">
648
        	<div class="row">
662
                    <div class="card-header">
649
         		<div class="col-12 mb-3 mt-3">
663
                        <?php
650
         			<?php
664
                        $form = $this->formFilter;
651
                        $form = $this->formFilter;
665
                        $form->setAttributes([
652
                        $form->setAttributes([
666
                            'method'    => 'post',
653
                            'method'    => 'post',
667
                            'name'      => 'form-filter',
654
                            'name'      => 'form-filter',
Línea 668... Línea 655...
668
                            'id'        => 'form-filter'
655
                            'id'        => 'form-filter'
669
                        ]);
656
                        ]);
670
 
657
 
671
                        $form->prepare();
658
                        $form->prepare();
672
                        echo $this->form()->openTag($form);
659
                        echo $this->form()->openTag($form);
673
                        ?>
-
 
674
                        <table class="table">
660
                        ?>
675
                            <thead>
661
           			<table class="table">
676
 
662
                    	<thead>
677
                            </thead>
663
						</thead>
678
                            <tbody>
664
                        <tbody>
679
                                <tr>
665
                        	<tr>
680
                                    <th>LABEL_PRIVATE_NETWORKS</th>
666
                            	<th>LABEL_PRIVATE_NETWORKS</th>
681
                                    <td>
667
                                <td>
682
                                        <?php
668
                                        <?php
683
                                        $element = $form->get('network_id');
669
                                        $element = $form->get('network_id');
684
                                        $element->setAttributes(['class' => 'form-control']);
670
                                        $element->setAttributes(['class' => 'form-control']);
685
                                        echo $this->formSelect($element);
671
                                        echo $this->formSelect($element);
686
                                        ?>
672
                                        ?>
Línea 687... Línea 673...
687
                                    </td>
673
                               	</td>
688
                                </tr>
674
                            </tr>
Línea 689... Línea 675...
689
                            </tbody>
675
                       	</tbody>
-
 
676
 
-
 
677
                   	</table>
690
 
678
             		<?php echo $this->form()->closeTag($form); ?>
691
                        </table>
679
 
692
                        <?php echo $this->form()->closeTag($form); ?>
680
             	</div>
693
 
681
			</div>	
694
                    </div>
682
			<div class="row">
695
                    <div class="card-body">
683
         		<div class="col-12 mb-3 mt-3">
Línea 704... Línea 692...
704
                                </tr>
692
                                </tr>
705
                            </thead>
693
                            </thead>
706
                            <tbody>
694
                            <tbody>
707
                            </tbody>
695
                            </tbody>
708
                        </table>
696
                        </table>
709
                    </div>
697
            	</div>
710
                    <div class="card-footer clearfix">
698
            </div>	
711
                        <div style="float:right;">
699
            <div class="card-footer  text-right">
712
                            <?php if ($allowUpload) : ?>
700
     			<?php if ($allowUpload) : ?>
713
                                <button type="button" class="btn btn-sm btn-primary btn-upload"><i class="fa fa-upload"></i> LABEL_UPLOAD </button>
701
            	<button type="button" class="btn btn-sm btn-primary btn-upload"><i class="fa fa-upload"></i> LABEL_UPLOAD </button>
714
                            <?php endif; ?>
702
            	<?php endif; ?>
715
                            <button type="button" class="btn btn-info btn-refresh"><i class="fa fa-refresh"></i> LABEL_REFRESH </button>
703
         		<button type="button" class="btn btn-info btn-refresh"><i class="fa fa-refresh"></i> LABEL_REFRESH </button>
716
                        </div>
-
 
717
                    </div>
-
 
718
                </div>
-
 
719
            </div>
704
            </div>
720
        </div>
705
        </div>
721
    </div>
706
    </div>
722
</section>
707
</div>
Línea 723... Línea 708...
723
 
708
 
724
 
709
 
725
<!-- The Modal -->
710
<!-- The Modal -->
Línea 731... Línea 716...
731
            <div class="modal-header">
716
            <div class="modal-header">
732
                <h4 class="modal-title">LABEL_USERS</h4>
717
                <h4 class="modal-title">LABEL_USERS</h4>
733
                <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="btn-close"></button>
718
                <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="btn-close"></button>
734
            </div>
719
            </div>
Línea -... Línea 720...
-
 
720
 
735
 
721
 
736
            <!-- Modal body -->
-
 
737
            <div class="modal-body">
722
            <!-- Modal body -->
738
                <?php
723
                <?php
739
                $form = $this->formChangePassword;
724
                $form = $this->formChangePassword;
740
                $form->setAttributes([
725
                $form->setAttributes([
741
                    'method'    => 'post',
726
                    'method'    => 'post',
Línea 744... Línea 729...
744
                ]);
729
                ]);
Línea 745... Línea 730...
745
 
730
 
746
                $form->prepare();
731
                $form->prepare();
747
                echo $this->form()->openTag($form);
732
                echo $this->form()->openTag($form);
748
                ?>
733
                ?>
-
 
734
            <div class="modal-body">
-
 
735
 
-
 
736
      			<div class="row">
749
                <div class="form-group">
737
                	<div class="col-12 mb-3 mt-3">
750
                    <?php
738
                    <?php
751
                    $element = $form->get('first_name');
739
                    $element = $form->get('first_name');
752
                    $element->setOptions(['label' => 'LABEL_FIRST_NAME']);
740
                    $element->setOptions(['label' => 'LABEL_FIRST_NAME']);
Línea 753... Línea 741...
753
                    $element->setAttributes(['class' => 'form-control', 'readonly' => 'readonly']);
741
                    $element->setAttributes(['class' => 'form-control', 'readonly' => 'readonly']);
754
 
742
 
755
                    echo $this->formLabel($element);
743
                    echo $this->formLabel($element);
-
 
744
                    echo $this->formText($element);
756
                    echo $this->formText($element);
745
                    ?>
-
 
746
                    </div>
757
                    ?>
747
                </div>
758
                </div>
748
				<div class="row">
759
                <div class="form-group">
749
                	<div class="col-12 mb-3 mt-3">
760
                    <?php
750
                    <?php
761
                    $element = $form->get('last_name');
751
                    $element = $form->get('last_name');
Línea 762... Línea 752...
762
                    $element->setOptions(['label' => 'LABEL_LAST_NAME']);
752
                    $element->setOptions(['label' => 'LABEL_LAST_NAME']);
763
                    $element->setAttributes(['class' => 'form-control', 'readonly' => 'readonly']);
753
                    $element->setAttributes(['class' => 'form-control', 'readonly' => 'readonly']);
764
 
754
 
-
 
755
                    echo $this->formLabel($element);
765
                    echo $this->formLabel($element);
756
                    echo $this->formText($element);
-
 
757
                    ?>
766
                    echo $this->formText($element);
758
                    </div>
767
                    ?>
759
                </div>
768
                </div>
760
				<div class="row">
769
                <div class="form-group">
761
                	<div class="col-12 mb-3 mt-3">
770
                    <?php
762
                    <?php
Línea 771... Línea 763...
771
                    $element = $form->get('email');
763
                    $element = $form->get('email');
772
                    $element->setOptions(['label' => 'LABEL_EMAIL']);
764
                    $element->setOptions(['label' => 'LABEL_EMAIL']);
773
                    $element->setAttributes(['class' => 'form-control', 'readonly' => 'readonly']);
765
                    $element->setAttributes(['class' => 'form-control', 'readonly' => 'readonly']);
-
 
766
 
774
 
767
                    echo $this->formLabel($element);
-
 
768
                    echo $this->formText($element);
775
                    echo $this->formLabel($element);
769
                    ?>
776
                    echo $this->formText($element);
770
                    </div>
777
                    ?>
771
                </div>
778
                </div>
772
				<div class="row">
779
                <div class="form-group">
773
                	<div class="col-12 mb-3 mt-3">
Línea 780... Línea 774...
780
                    <?php
774
                    <?php
781
                    $element = $form->get('password');
775
                    $element = $form->get('password');
782
                    $element->setOptions(['label' => 'LABEL_PASSWORD']);
776
                    $element->setOptions(['label' => 'LABEL_PASSWORD']);
-
 
777
                    $element->setAttributes(['class' => 'form-control']);
783
                    $element->setAttributes(['class' => 'form-control']);
778
 
784
 
779
                    echo $this->formLabel($element);
-
 
780
                    echo $this->formPassword($element);
785
                    echo $this->formLabel($element);
781
                    ?>
786
                    echo $this->formPassword($element);
782
                    </div>
787
                    ?>
783
                </div>
788
                </div>
784
                <div class="row">
Línea 789... Línea 785...
789
                <div class="form-group">
785
                	<div class="col-12 mb-3 mt-3">
790
                    <?php
786
                    <?php
791
                    $element = $form->get('confirmation');
787
                    $element = $form->get('confirmation');
-
 
788
                    $element->setOptions(['label' => 'LABEL_CONFIRMATION']);
792
                    $element->setOptions(['label' => 'LABEL_CONFIRMATION']);
789
                    $element->setAttributes(['class' => 'form-control']);
Línea 793... Línea 790...
793
                    $element->setAttributes(['class' => 'form-control']);
790
 
794
 
-
 
795
                    echo $this->formLabel($element);
-
 
796
                    echo $this->formPassword($element);
-
 
797
                    ?>
-
 
798
                </div>
-
 
799
 
791
                    echo $this->formLabel($element);
Línea 800... Línea 792...
800
 
792
                    echo $this->formPassword($element);
801
                <div class="form-group">
793
                    ?>
-
 
794
                    </div>
802
                    <button type="submit" class="btn btn-primary">LABEL_SAVE</button>
795
                </div>
803
                    <button type="button" class="btn btn-light btn-cancel">LABEL_CANCEL</button>
796
 
-
 
797
                
Línea 804... Línea 798...
804
                </div>
798
            </div>
805
                <?php echo $this->form()->closeTag($form); ?>
799
 
806
            </div>
800
            <!-- Modal footer -->
Línea 822... Línea 816...
822
 
816
 
823
            <!-- Modal Header -->
817
            <!-- Modal Header -->
824
            <div class="modal-header">
818
            <div class="modal-header">
825
                <h3 class="modal-title">LABEL_UPLOAD</h3>
819
                <h3 class="modal-title">LABEL_UPLOAD</h3>
826
            </div>
-
 
827
 
-
 
828
            <!-- Modal body -->
-
 
829
            <div class="modal-body">
820
            </div>
830
                <?php
821
                          <?php
831
                $form = $this->formUploadUsers;
822
                $form = $this->formUploadUsers;
832
                $form->setAttributes([
823
                $form->setAttributes([
833
                    'method'    => 'post',
824
                    'method'    => 'post',
834
                    'name'      => 'form-upload-users',
825
                    'name'      => 'form-upload-users',
Línea 837... Línea 828...
837
 
828
 
838
                $form->prepare();
829
                $form->prepare();
839
                echo $this->form()->openTag($form);
830
                echo $this->form()->openTag($form);
Línea -... Línea 831...
-
 
831
                ?>
-
 
832
 
-
 
833
            <!-- Modal body -->
-
 
834
            <div class="modal-body">
840
                ?>
835
  
-
 
836
 
Línea 841... Línea 837...
841
 
837
                <div class="row">
842
                <div class="form-group">
838
                	<div class="col-12 mb-3 mt-3">
843
 
839
 
Línea 851... Línea 847...
851
                        <?php
847
                        <?php
852
                        $element->setAttributes(['class' => 'form-control', 'accept' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet,application/vnd.ms-excel']);
848
                        $element->setAttributes(['class' => 'form-control', 'accept' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet,application/vnd.ms-excel']);
853
                        echo $this->formFile($element);
849
                        echo $this->formFile($element);
854
                        ?>
850
                        ?>
855
                    </div>
851
                    </div>
-
 
852
                    </div>
856
                </div>
853
                </div>
Línea -... Línea 854...
-
 
854
 
-
 
855
 
857
 
856
 
858
 
857
                
859
 
858
            </div>
860
                <div class="form-group">
859
			<div class="modal-footer">
861
                    <button type="submit" class="btn btn-sm btn-primary">LABEL_UPLOAD</button>
860
                    <button type="submit" class="btn btn-sm btn-primary">LABEL_UPLOAD</button>
862
                    <button type="button" class="btn btn-sm btn-light btn-cancel-modal">LABEL_CANCEL</button>
-
 
863
                </div>
-
 
864
                <?php echo $this->form()->closeTag($form); ?>
861
                    <button type="button" class="btn btn-sm btn-light btn-cancel-modal">LABEL_CANCEL</button>
865
            </div>
862
                </div>
866
 
863
                <?php echo $this->form()->closeTag($form); ?>
Línea 883... Línea 880...
883
            <!-- Modal body -->
880
            <!-- Modal body -->
884
            <div class="modal-body">
881
            <div class="modal-body">
885
                <form>
882
                <form>
886
                    <input type="hidden" name="table-upload-users-key" id="table-upload-users-key">
883
                    <input type="hidden" name="table-upload-users-key" id="table-upload-users-key">
887
                </form>
884
                </form>
-
 
885
                <div class="row">
888
                <div style="height: 300px;overflow: scroll;">
886
                    <div class="col-12 mb-3 mt-3" style="height: 300px;overflow: scroll;">
889
                    <table id="gridTableUploadUsers" style="width: 100%" class="table table-bordered">
887
                        <table id="gridTableUploadUsers" style="width: 100%" class="table table-bordered">
890
                        <thead>
888
                            <thead>
891
                            <tr>
889
                                <tr>
892
                                <th>LABEL_FIRST_NAME</th>
890
                                    <th>LABEL_FIRST_NAME</th>
893
                                <th>LABEL_LAST_NAME</th>
891
                                    <th>LABEL_LAST_NAME</th>
894
                                <th>LABEL_EMAIL</th>
892
                                    <th>LABEL_EMAIL</th>
895
                                <th>LABEL_PASSWORD</th>
893
                                    <th>LABEL_PASSWORD</th>
896
                                <th>LABEL_IS_ADULT</th>
894
                                    <th>LABEL_IS_ADULT</th>
897
                            </tr>
895
                                </tr>
898
                        </thead>
896
                            </thead>
899
                        <tbody>
897
                            <tbody>
900
                        </tbody>
898
                            </tbody>
901
                    </table>
899
                        </table>
-
 
900
                    </div>
902
                </div>
901
                </div>
Línea 903... Línea 902...
903
 
902
 
Línea 904... Línea 903...
904
            </div>
903
            </div>
905
 
904
 
906
            <!-- Modal footer -->
905
            <!-- Modal footer -->
907
            <div class="modal-footer">
906
            <div class="modal-footer text-right">
908
                <button type="submit" class="btn btn-sm btn-primary btn-upload-users-step2">LABEL_SAVE</button>
907
                <button type="submit" class="btn btn-sm btn-primary btn-upload-users-step2">LABEL_SAVE</button>
Línea 909... Línea 908...
909
                <button type="button" class="btn btn-sm btn-danger" data-dismiss="modal">LABEL_CLOSE</button>
908
                <button type="button" class="btn btn-sm btn-danger" data-dismiss="modal">LABEL_CLOSE</button>
Línea 924... Línea 923...
924
            <div class="modal-header">
923
            <div class="modal-header">
925
                <h4 class="modal-title">LABEL_USERS</h4>
924
                <h4 class="modal-title">LABEL_USERS</h4>
926
                <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="btn-close"></button>
925
                <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="btn-close"></button>
927
            </div>
926
            </div>
Línea 928... Línea -...
928
 
-
 
929
            <!-- Modal body -->
-
 
930
            <div class="modal-body">
927
 
931
                <?php
928
       <?php
932
                $form = $this->formChangeType;
929
                $form = $this->formChangeType;
933
                $form->setAttributes([
930
                $form->setAttributes([
934
                    'method'    => 'post',
931
                    'method'    => 'post',
935
                    'name'      => 'form-change-type',
932
                    'name'      => 'form-change-type',
936
                    'id'        => 'form-change-type'
933
                    'id'        => 'form-change-type'
Línea 937... Línea 934...
937
                ]);
934
                ]);
938
 
935
 
939
                $form->prepare();
936
                $form->prepare();
-
 
937
                echo $this->form()->openTag($form);
-
 
938
                ?>
-
 
939
            <!-- Modal body -->
940
                echo $this->form()->openTag($form);
940
            <div class="modal-body">
-
 
941
         
941
                ?>
942
                <div class="row">
942
                <div class="form-group">
943
                	<div class="col-12 mb-3 mt-3">
943
                    <?php
944
                    <?php
944
                    $element = $form->get('usertype_id');
945
                    $element = $form->get('usertype_id');
Línea 945... Línea 946...
945
                    $element->setOptions(['label' => 'LABEL_USER_TYPE']);
946
                    $element->setOptions(['label' => 'LABEL_USER_TYPE']);
946
                    $element->setAttributes(['class' => 'form-control', 'readonly' => 'readonly']);
947
                    $element->setAttributes(['class' => 'form-control', 'readonly' => 'readonly']);
947
 
948
 
-
 
949
                    echo $this->formLabel($element);
948
                    echo $this->formLabel($element);
950
                    echo $this->formSelect($element);
949
                    echo $this->formSelect($element);
-
 
950
                    ?>
-
 
951
                </div>
-
 
952
                <div class="form-group">
-
 
953
                    <button type="submit" class="btn btn-primary">LABEL_SAVE</button>
-
 
-
 
951
                    ?>
-
 
952
                    </div>
954
                    <button type="button" class="btn btn-light btn-cancel">LABEL_CANCEL</button>
953
                </div>
Línea 955... Línea 954...
955
                </div>
954
 
956
                <?php echo $this->form()->closeTag($form); ?>
955
                
-
 
956
            </div>
957
            </div>
957
 
958
 
958
            <!-- Modal footer -->
-
 
959
            <div class="modal-footer">
Línea 959... Línea 960...
959
            <!-- Modal footer -->
960
					<button type="submit" class="btn btn-primary">LABEL_SAVE</button>
960
            <div class="modal-footer">
961
                    <button type="button" class="btn btn-light btn-cancel">LABEL_CANCEL</button>
961
                 <button type="button" class="btn btn-light" data-bs-dismiss="modal">LABEL_CLOSE</button>
962
            </div>
962
            </div>
963
            <?php echo $this->form()->closeTag($form); ?>