Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 16822 Rev 16841
Línea 623... Línea 623...
623
$this->inlineScript()->captureEnd();
623
$this->inlineScript()->captureEnd();
624
?>
624
?>
Línea 625... Línea 625...
625
 
625
 
626
 
626
 
-
 
627
 
627
 
628
<div class="container">
-
 
629
	<div class="card" id="">
628
<!-- Content Header (Page header) -->
630
	 	
629
<section class="content-header">
631
	 	<div class="card-body">
-
 
632
	 		<h6 class="card-title">LABEL_POSTS</h6>
-
 
633
	 		<div class="row">
-
 
634
	 	         <div class="col-12 mt-3">
630
    <div class="container-fluid">
635
	 	        	 <table id="gridTable" class="table   table-hover">
-
 
636
                       	<thead>
-
 
637
                         	<tr>
-
 
638
                          		<th>LABEL_TITLE</th>
-
 
639
                             	<th>LABEL_DATE</th>
-
 
640
                             	<th>LABEL_ACTIVE</th>
-
 
641
                              	<th>LABEL_ACTIONS</th>
-
 
642
                      		</tr>
-
 
643
                        </thead>
631
        <div class="row mb-2">
644
                     	<tbody>
632
            <div class="col-sm-12">
645
                      	</tbody>
-
 
646
             		</table>
-
 
647
	 	         </div>
-
 
648
	 	     </div>
633
                <h1>LABEL_POSTS</h1>
649
	 	</div>
-
 
650
	 	<div class="card-footer text-right">
-
 
651
			<button type="button" class="btn btn-info btn-refresh"><i class="fa fa-refresh"></i> LABEL_REFRESH </button>
-
 
652
      		<?php if ($allowAdd) : ?>
-
 
653
             <button type="button" class="btn btn-primary btn-add"><i class="fa fa-plus"></i> LABEL_ADD </button>
634
            </div>
654
   			<?php endif; ?>
-
 
655
	 	</div>
Línea 635... Línea -...
635
        </div>
-
 
636
    </div><!-- /.container-fluid -->
-
 
637
</section>
-
 
638
 
-
 
639
<section class="content">
-
 
640
    <div class="container-fluid">
-
 
641
        <div class="row">
-
 
642
            <div class="col-12">
-
 
643
                <div class="card">
-
 
644
                    <div class="card-body">
-
 
645
                        <table id="gridTable" class="table   table-hover">
-
 
646
                            <thead>
-
 
647
                                <tr>
-
 
648
                                    <th>LABEL_TITLE</th>
-
 
649
                                    <th>LABEL_DATE</th>
-
 
650
                                    <th>LABEL_ACTIVE</th>
-
 
651
                                    <th>LABEL_ACTIONS</th>
-
 
652
                                </tr>
-
 
653
                            </thead>
-
 
654
                            <tbody>
-
 
655
                            </tbody>
-
 
656
                        </table>
-
 
657
                    </div>
-
 
658
                    <div class="card-footer clearfix">
-
 
659
                        <div style="float:right;">
-
 
660
                            <button type="button" class="btn btn-info btn-refresh"><i class="fa fa-refresh"></i> LABEL_REFRESH </button>
-
 
661
                            <?php if ($allowAdd) : ?>
-
 
662
                                <button type="button" class="btn btn-primary btn-add"><i class="fa fa-plus"></i> LABEL_ADD </button>
-
 
663
                            <?php endif; ?>
-
 
664
                        </div>
-
 
665
                    </div>
-
 
666
                </div>
-
 
Línea 667... Línea 656...
667
            </div>
656
	</div>
668
        </div>
657
</div>
669
    </div>
658
 
670
</section>
659
 
Línea 678... Línea 667...
678
            <div class="modal-header">
667
            <div class="modal-header">
679
                <h4 class="modal-title">LABEL_ADD</h4>
668
                <h4 class="modal-title">LABEL_ADD</h4>
680
                <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="btn-close"></button>
669
                <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="btn-close"></button>
681
            </div>
670
            </div>
Línea 682... Línea -...
682
 
-
 
683
            <!-- Modal body -->
-
 
684
            <div class="modal-body">
671
 
685
                <?php
672
                <?php
686
                $form = $this->formAdd;
673
                $form = $this->formAdd;
687
                $form->setAttributes([
674
                $form->setAttributes([
688
                    'method'    => 'post',
675
                    'method'    => 'post',
Línea 691... Línea 678...
691
                ]);
678
                ]);
Línea 692... Línea 679...
692
 
679
 
693
                $form->prepare();
680
                $form->prepare();
694
                echo $this->form()->openTag($form);
681
                echo $this->form()->openTag($form);
-
 
682
                ?>
-
 
683
            <div class="modal-body">
695
                ?>
684
 
-
 
685
                <div class="row">
696
                <div class="form-group">
686
	 	         <div class="col-12 mt-3">
697
                    <?php
687
                    <?php
698
                    $element = $form->get('date');
688
                    $element = $form->get('date');
699
                    $element->setOptions(['label' => 'LABEL_DATE']);
689
                    $element->setOptions(['label' => 'LABEL_DATE']);
Línea 700... Línea 690...
700
                    $element->setAttributes(['class' => 'form-control']);
690
                    $element->setAttributes(['class' => 'form-control']);
701
 
691
 
702
                    echo $this->formLabel($element);
692
                    echo $this->formLabel($element);
703
                    echo $this->formText($element);
693
                    echo $this->formText($element);
-
 
694
                    ?>
704
                    ?>
695
	 	         </div>
-
 
696
	 	     </div>
705
                </div>
697
                <div class="row">
706
                <div class="form-group">
698
	 	         <div class="col-12 mt-3">
707
                    <?php
699
                    <?php
708
                    $element = $form->get('title');
700
                    $element = $form->get('title');
Línea 709... Línea 701...
709
                    $element->setOptions(['label' => 'LABEL_TITLE']);
701
                    $element->setOptions(['label' => 'LABEL_TITLE']);
710
                    $element->setAttributes(['class' => 'form-control']);
702
                    $element->setAttributes(['class' => 'form-control']);
711
 
703
 
712
                    echo $this->formLabel($element);
704
                    echo $this->formLabel($element);
-
 
705
                    echo $this->formText($element);
713
                    echo $this->formText($element);
706
                    ?>
-
 
707
	 	         </div>
714
                    ?>
708
	 	     </div>
715
                </div>
709
                <div class="row">
716
                <div class="form-group">
710
	 	         <div class="col-12 mt-3">
717
                    <?php
711
                    <?php
Línea 718... Línea 712...
718
                    $element = $form->get('description');
712
                    $element = $form->get('description');
719
                    $element->setOptions(['label' => 'LABEL_DESCRIPTION']);
713
                    $element->setOptions(['label' => 'LABEL_DESCRIPTION']);
720
                    $element->setAttributes(['id' => 'description_add', 'class' => 'form-control']);
714
                    $element->setAttributes(['id' => 'description_add', 'class' => 'form-control']);
721
 
715
 
-
 
716
                    echo $this->formLabel($element);
722
                    echo $this->formLabel($element);
717
                    echo $this->formTextArea($element);
-
 
718
                    ?>
723
                    echo $this->formTextArea($element);
719
	 	         </div>
724
                    ?>
720
	 	     </div>
725
                </div>
721
                <div class="row">
726
                <div class="form-group">
722
	 	         <div class="col-12 mt-3">
Línea 727... Línea 723...
727
                    <?php
723
                    <?php
728
                    $element = $form->get('url');
724
                    $element = $form->get('url');
729
                    $element->setOptions(['label' => 'LABEL_URL']);
725
                    $element->setOptions(['label' => 'LABEL_URL']);
730
                    $element->setAttributes(['class' => 'form-control']);
726
                    $element->setAttributes(['class' => 'form-control']);
-
 
727
 
731
 
728
                    echo $this->formLabel($element);
-
 
729
                    echo $this->formText($element);
732
                    echo $this->formLabel($element);
730
                    ?>
733
                    echo $this->formText($element);
731
	 	         </div>
734
                    ?>
732
	 	     </div>
735
                </div>
733
                <div class="row">
736
                <div class="form-group">
734
	 	         <div class="col-12 mt-3">
737
                    <?php
735
                    <?php
-
 
736
                    $element = $form->get('status');
738
                    $element = $form->get('status');
737
                    $element->setAttributes(['class' => 'form-control']);
-
 
738
                    echo $this->formCheckbox($element);
Línea 739... Línea 739...
739
                    $element->setAttributes(['class' => 'form-control']);
739
                    ?>
740
                    echo $this->formCheckbox($element);
740
	 	         </div>
741
                    ?>
741
	 	     </div>
742
                </div>
742
                <div class="row">
Línea 751... Línea 751...
751
                    ?>
751
                    ?>
752
                    <div class="file-loading">
752
                    <div class="file-loading">
753
                        <?php echo $this->formFile($element); ?>
753
                        <?php echo $this->formFile($element); ?>
754
                    </div>
754
                    </div>
Línea 755... Línea 755...
755
 
755
 
-
 
756
	 	         </div>
756
                </div>
757
	 	     </div>
-
 
758
                <div class="row">
Línea 757... Línea 759...
757
                <div class="form-group">
759
	 	         <div class="col-12 mt-3">
758
 
760
 
759
                    <?php
761
                    <?php
760
                    $element = $form->get('file');
762
                    $element = $form->get('file');
Línea 765... Línea 767...
765
                    ?>
767
                    ?>
766
                    <div class="file-loading">
768
                    <div class="file-loading">
767
                        <?php echo $this->formFile($element); ?>
769
                        <?php echo $this->formFile($element); ?>
768
                    </div>
770
                    </div>
Línea 769... Línea 771...
769
 
771
 
-
 
772
	 	         </div>
Línea 770... Línea -...
770
                </div>
-
 
771
 
-
 
772
                <div class="form-group">
-
 
773
                    <button type="submit" class="btn btn-primary">LABEL_SAVE</button>
-
 
774
                    <button type="button" class="btn btn-light btn-cancel">LABEL_CANCEL</button>
-
 
-
 
773
	 	     </div>
-
 
774
 
775
                </div>
775
 
Línea 776... Línea 776...
776
                <?php echo $this->form()->closeTag($form); ?>
776
                
777
            </div>
777
            </div>
-
 
778
 
778
 
779
            <!-- Modal footer -->
779
            <!-- Modal footer -->
780
            <div class="modal-footer">
-
 
781
 				<button type="submit" class="btn btn-primary">LABEL_SAVE</button>
Línea 780... Línea 782...
780
            <div class="modal-footer">
782
           		<button type="button" class="btn btn-light btn-cancel">LABEL_CANCEL</button>
781
                 <button type="button" class="btn btn-light" data-bs-dismiss="modal">LABEL_CLOSE</button>
783
            </div>
782
            </div>
784
            <?php echo $this->form()->closeTag($form); ?>
Línea 796... Línea 798...
796
            <div class="modal-header">
798
            <div class="modal-header">
797
                <h4 class="modal-title">LABEL_EDIT</h4>
799
                <h4 class="modal-title">LABEL_EDIT</h4>
798
                <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="btn-close"></button>
800
                <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="btn-close"></button>
799
            </div>
801
            </div>
Línea 800... Línea -...
800
 
-
 
801
            <!-- Modal body -->
-
 
802
            <div class="modal-body">
802
 
803
                <?php
803
                <?php
804
                $form = $this->formEdit;
804
                $form = $this->formEdit;
805
                $form->setAttributes([
805
                $form->setAttributes([
806
                    'method'    => 'post',
806
                    'method'    => 'post',
Línea 809... Línea 809...
809
                ]);
809
                ]);
Línea 810... Línea 810...
810
 
810
 
811
                $form->prepare();
811
                $form->prepare();
812
                echo $this->form()->openTag($form);
812
                echo $this->form()->openTag($form);
-
 
813
                ?>
-
 
814
            <div class="modal-body">
813
                ?>
815
 
-
 
816
                <div class="row">
814
                <div class="form-group">
817
	 	         <div class="col-12 mt-3">
815
                    <?php
818
                    <?php
816
                    $element = $form->get('date');
819
                    $element = $form->get('date');
817
                    $element->setOptions(['label' => 'LABEL_DATE']);
820
                    $element->setOptions(['label' => 'LABEL_DATE']);
Línea 818... Línea 821...
818
                    $element->setAttributes(['class' => 'form-control']);
821
                    $element->setAttributes(['class' => 'form-control']);
819
 
822
 
820
                    echo $this->formLabel($element);
823
                    echo $this->formLabel($element);
821
                    echo $this->formText($element);
824
                    echo $this->formText($element);
-
 
825
                    ?>
822
                    ?>
826
	 	         </div>
-
 
827
	 	     </div>
823
                </div>
828
                <div class="row">
824
                <div class="form-group">
829
	 	         <div class="col-12 mt-3">
825
                    <?php
830
                    <?php
826
                    $element = $form->get('title');
831
                    $element = $form->get('title');
Línea 827... Línea 832...
827
                    $element->setOptions(['label' => 'LABEL_TITLE']);
832
                    $element->setOptions(['label' => 'LABEL_TITLE']);
828
                    $element->setAttributes(['class' => 'form-control']);
833
                    $element->setAttributes(['class' => 'form-control']);
829
 
834
 
830
                    echo $this->formLabel($element);
835
                    echo $this->formLabel($element);
-
 
836
                    echo $this->formText($element);
831
                    echo $this->formText($element);
837
                    ?>
-
 
838
	 	         </div>
832
                    ?>
839
	 	     </div>
833
                </div>
840
                <div class="row">
834
                <div class="form-group">
841
	 	         <div class="col-12 mt-3">
835
                    <?php
842
                    <?php
Línea 836... Línea 843...
836
                    $element = $form->get('description');
843
                    $element = $form->get('description');
837
                    $element->setOptions(['label' => 'LABEL_DESCRIPTION']);
844
                    $element->setOptions(['label' => 'LABEL_DESCRIPTION']);
838
                    $element->setAttributes(['id' => 'description_edit', 'class' => 'form-control']);
845
                    $element->setAttributes(['id' => 'description_edit', 'class' => 'form-control']);
839
 
846
 
-
 
847
                    echo $this->formLabel($element);
840
                    echo $this->formLabel($element);
848
                    echo $this->formTextArea($element);
-
 
849
                    ?>
841
                    echo $this->formTextArea($element);
850
	 	         </div>
842
                    ?>
851
	 	     </div>
843
                </div>
852
                <div class="row">
844
                <div class="form-group">
853
	 	         <div class="col-12 mt-3">
Línea 845... Línea 854...
845
                    <?php
854
                    <?php
846
                    $element = $form->get('url');
855
                    $element = $form->get('url');
847
                    $element->setOptions(['label' => 'LABEL_URL']);
856
                    $element->setOptions(['label' => 'LABEL_URL']);
848
                    $element->setAttributes(['class' => 'form-control']);
857
                    $element->setAttributes(['class' => 'form-control']);
-
 
858
 
849
 
859
                    echo $this->formLabel($element);
-
 
860
                    echo $this->formText($element);
850
                    echo $this->formLabel($element);
861
                    ?>
851
                    echo $this->formText($element);
862
	 	         </div>
852
                    ?>
863
	 	     </div>
853
                </div>
864
                <div class="row">
854
                <div class="form-group">
865
	 	         <div class="col-12 mt-3">
855
                    <?php
866
                    <?php
-
 
867
                    $element = $form->get('status');
856
                    $element = $form->get('status');
868
                    $element->setAttributes(['class' => 'form-control']);
-
 
869
                    echo $this->formCheckbox($element);
Línea 857... Línea 870...
857
                    $element->setAttributes(['class' => 'form-control']);
870
                    ?>
858
                    echo $this->formCheckbox($element);
871
	 	         </div>
859
                    ?>
872
	 	     </div>
860
                </div>
873
                <div class="row">
Línea 869... Línea 882...
869
                    ?>
882
                    ?>
870
                    <div class="file-loading">
883
                    <div class="file-loading">
871
                        <?php echo $this->formFile($element); ?>
884
                        <?php echo $this->formFile($element); ?>
872
                    </div>
885
                    </div>
Línea 873... Línea 886...
873
 
886
 
-
 
887
	 	         </div>
874
                </div>
888
	 	     </div>
-
 
889
                <div class="row">
Línea 875... Línea 890...
875
                <div class="form-group">
890
	 	         <div class="col-12 mt-3">
876
 
891
 
877
                    <?php
892
                    <?php
878
                    $element = $form->get('file');
893
                    $element = $form->get('file');
Línea 883... Línea 898...
883
                    ?>
898
                    ?>
884
                    <div class="file-loading">
899
                    <div class="file-loading">
885
                        <?php echo $this->formFile($element); ?>
900
                        <?php echo $this->formFile($element); ?>
886
                    </div>
901
                    </div>
Línea 887... Línea 902...
887
 
902
 
-
 
903
	 	         </div>
Línea 888... Línea -...
888
                </div>
-
 
889
 
-
 
890
                <div class="form-group">
-
 
891
                    <button type="submit" class="btn btn-primary">LABEL_SAVE</button>
-
 
892
                    <button type="button" class="btn btn-light btn-cancel">LABEL_CANCEL</button>
-
 
-
 
904
	 	     </div>
893
                </div>
905
 
Línea 894... Línea 906...
894
                <?php echo $this->form()->closeTag($form); ?>
906
                
895
            </div>
907
            </div>
-
 
908
 
896
 
909
            <!-- Modal footer -->
897
            <!-- Modal footer -->
910
            <div class="modal-footer">
898
            <div class="modal-footer">
-
 
-
 
911
                <button type="submit" class="btn btn-primary">LABEL_SAVE</button>
899
                 <button type="button" class="btn btn-light" data-bs-dismiss="modal">LABEL_CLOSE</button>
912
                    <button type="button" class="btn btn-light btn-cancel">LABEL_CANCEL</button>
900
            </div>
913
            </div>
901
 
914
			<?php echo $this->form()->closeTag($form); ?>
902
        </div>
915
        </div>