Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 16822 Rev 16845
Línea 576... Línea 576...
576
 
576
 
577
?>
577
?>
Línea 578... Línea -...
578
<!-- Content Header (Page header) -->
-
 
579
 
578
<!-- Content Header (Page header) -->
580
 
-
 
581
<section class="content-header">
-
 
582
   <div class="container-fluid">
-
 
583
      <div class="row mb-2">
-
 
584
         <div class="col-sm-12">
-
 
585
            <h1 id="section-title"></h1>
-
 
586
         </div>
-
 
587
      </div>
-
 
588
   </div>
-
 
589
   <!-- /.container-fluid -->
-
 
590
</section>
579
 
591
<section class="content">
580
 
592
    <div class="container-fluid">
-
 
593
		<div class="row" id="row-list">
-
 
594
        	<div class="col-12">
-
 
595
            	<div class="card">
-
 
596
                	<div class="card-body">
-
 
597
                   		<table id="gridTable" class="table   table-hover">
-
 
598
                      		<thead>
-
 
599
                         		<tr>
-
 
600
                            		<th>LABEL_NAME</th>
-
 
601
                            		<th>LABEL_JOB_DESCRIPTION</th>
581
<div class="container-class">
602
                            		<th>LABEL_LAST_DATE</th>
-
 
603
                            		<th>LABEL_STATUS</th>
-
 
604
                            		<th>LABEL_ACTIONS</th>
-
 
605
                         		</tr>
-
 
606
                      		</thead>
-
 
607
                      		<tbody>
-
 
608
                      		</tbody>
-
 
609
                   		</table>
-
 
610
                	</div>
-
 
611
                	<div class="card-footer clearfix">
-
 
612
                   		<div style="float:right;">
-
 
613
                      		<button type="button" class="btn btn-info btn-refresh"><i class="fa fa-refresh"></i> LABEL_REFRESH </button>
-
 
614
                      		<?php if ($allowAdd) : ?>
-
 
615
                      		<button type="button" class="btn btn-primary btn-add"><i class="fa fa-plus"></i> LABEL_ADD </button>
-
 
616
                      		<?php endif; ?>
-
 
617
                   		</div>
-
 
618
                	</div>
582
	<div class="card" id="row-list">
-
 
583
		<div class="card-header">
-
 
584
      		<h4 class="card-title">LABEL_VACANCIES</h4>
-
 
585
		</div>
-
 
586
    	<div class="card-body">
-
 
587
    		<div class="row">
-
 
588
        		<div class="col-12 mt-3">
-
 
589
            		<table id="gridTable" class="table   table-bordered">
-
 
590
                     	<thead>
-
 
591
                       		<tr>
-
 
592
                          		<th>LABEL_NAME</th>
-
 
593
                          		<th>LABEL_JOB_DESCRIPTION</th>
-
 
594
                       			<th>LABEL_LAST_DATE</th>
-
 
595
                            	<th>LABEL_STATUS</th>
-
 
596
                           		<th>LABEL_ACTIONS</th>
-
 
597
                         	</tr>
-
 
598
                  		</thead>
-
 
599
               			<tbody>
-
 
600
                      	</tbody>
-
 
601
                   	</table>
-
 
602
           		</div>
-
 
603
           	</div>
-
 
604
      	</div>     		
-
 
605
    	<div class="card-footer text-right">
-
 
606
			<button type="button" class="btn btn-info btn-refresh"><i class="fa fa-refresh"></i> LABEL_REFRESH </button>
-
 
607
            <?php if ($allowAdd) : ?>
619
             	</div>
608
            <button type="button" class="btn btn-primary btn-add"><i class="fa fa-plus"></i> LABEL_ADD </button>
620
			</div>
609
      		<?php endif; ?>
621
		</div>
610
      	</div>
622
	</div>
611
	</div>
623
    
612
	
624
    
613
	
-
 
614
	<!-- Create/Edit Form -->
-
 
615
	<div class="card" id="row-form" style="display: none;">
625
<!-- Create/Edit Form -->
616
		<div class="class-header">
626
<div class="row" id="row-form" style="display: none; padding: 16px;">
617
			<h6 class="card-title">LABEL_EDIT_VACANCY</h6>
627
   <div class="col-xs-12 col-md-12">
618
		</div>
628
        <?php 
619
		<?php 
629
        $form = $this->form;
620
        $form = $this->form;
630
        $form->setAttributes([
621
        $form->setAttributes([
631
            'method'    => 'post',
622
            'method'    => 'post',
Línea 632... Línea 623...
632
            'name'      => 'form',
623
            'name'      => 'form',
633
            'id'        => 'form'
624
            'id'        => 'form'
634
        ]);
-
 
635
    
-
 
636
        $form->prepare();
-
 
637
        echo $this->form()->openTag($form);
-
 
638
        
-
 
639
        $fields = ['formatted_address',
-
 
640
        'address1',
-
 
641
        'address2',
-
 
642
        'country',
-
 
643
        'state',
-
 
644
        'city1',
-
 
645
        'city2',
625
        ]);
646
        'postal_code',
-
 
647
        'latitude',
-
 
648
        'longitude',
-
 
649
        ];
-
 
650
        
-
 
651
        foreach($fields as $field) 
-
 
652
        {
-
 
653
            $element = $form->get($field);
-
 
654
            echo $this->formHidden($element);
-
 
655
        }
-
 
656
                    
-
 
657
     ?>
-
 
658
        <div class="form-group">
-
 
659
                 <?php 
-
 
660
             $element = $form->get('name');
-
 
661
             $element->setAttributes(['class' => 'form-control']);    
-
 
662
             $element->setOptions(['label' => 'LABEL_NAME']);
-
 
663
                                                            
-
 
664
             echo $this->formLabel($element);
-
 
665
             echo $this->formText($element);
-
 
666
            ?>
-
 
667
          </div>
-
 
668
                 <div class="form-group">
-
 
669
                 <?php 
-
 
670
             $element = $form->get('job_description_id');
-
 
671
             $element->setAttributes(['class' => 'form-control']);    
-
 
672
             $element->setOptions(['label' => 'LABEL_POSITION_EVALUATED']);
-
 
673
                                                            
-
 
674
             echo $this->formLabel($element);
-
 
675
             echo $this->formSelect($element);
-
 
676
            ?>
-
 
677
          </div>
-
 
678
            <div class="form-group">
-
 
679
                 <?php 
-
 
680
             $element = $form->get('job_category_id');
-
 
681
             $element->setAttributes(['class' => 'form-control']);    
-
 
682
             $element->setOptions(['label' => 'LABEL_JOB_CATEGORY']);
-
 
683
                                                            
-
 
684
             echo $this->formLabel($element);
-
 
685
             echo $this->formSelect($element);
-
 
686
            ?>
-
 
687
          </div>
-
 
688
                 <div class="form-group">
-
 
689
                 <?php 
-
 
690
             $element = $form->get('location_search');
-
 
691
             $element->setAttributes(['class' => 'form-control']);    
-
 
692
             $element->setOptions(['label' => 'LABEL_LOCATION']);
-
 
693
                                                            
-
 
694
             echo $this->formLabel($element);
-
 
695
             echo $this->formText($element);
-
 
696
            ?>
-
 
697
          </div>
-
 
698
                  <div class="form-group">
-
 
699
                 <?php 
-
 
700
             $element = $form->get('industry_id');
-
 
701
             $element->setAttributes(['class' => 'form-control']);    
-
 
702
             $element->setOptions(['label' => 'LABEL_INDUSTRY']);
-
 
703
                                                            
-
 
704
             echo $this->formLabel($element);
-
 
705
             echo $this->formSelect($element);
-
 
706
            ?>
-
 
707
          </div>
-
 
708
                 <div class="form-group">
-
 
709
                 <?php 
-
 
710
             $element = $form->get('last_date');
-
 
711
             $element->setAttributes(['class' => 'form-control']);    
-
 
712
             $element->setOptions(['label' => 'LABEL_LAST_DATE_OF_APPLICATION']);
-
 
713
                                                            
-
 
714
             echo $this->formLabel($element);
-
 
715
             echo $this->formText($element);
-
 
716
            ?>
-
 
717
          </div>
-
 
718
           <div class="form-group">
-
 
719
                 <?php 
-
 
720
             $element = $form->get('description');
-
 
721
             $element->setAttributes(['class' => 'form-control']);    
-
 
722
             $element->setOptions(['label' => 'LABEL_DESCRIPTION']);
-
 
723
                                                            
-
 
724
             echo $this->formLabel($element);
626
    
725
             echo $this->formTextArea($element);
-
 
726
            ?>
-
 
727
          </div>
-
 
728
    		<div class="form-group">
-
 
729
                 <?php 
-
 
730
             $element = $form->get('status');
-
 
731
             $element->setAttributes(['class' => 'form-control']);    
-
 
732
             $element->setOptions(['label' => 'LABEL_STATUS']);
-
 
733
             echo $this->formLabel($element);
-
 
734
            ?>
-
 
735
           	<br/>
-
 
736
            <?php                                             
-
 
737
             
-
 
Línea -... Línea 627...
-
 
627
        $form->prepare();
-
 
628
        echo $this->form()->openTag($form);
-
 
629
        ?>
-
 
630
		<div class="card-body">
-
 
631
 
-
 
632
    		<?php 
-
 
633
            
-
 
634
            $fields = ['formatted_address',
-
 
635
            'address1',
-
 
636
            'address2',
-
 
637
            'country',
-
 
638
            'state',
-
 
639
            'city1',
-
 
640
            'city2',
-
 
641
            'postal_code',
-
 
642
            'latitude',
-
 
643
            'longitude',
-
 
644
            ];
-
 
645
            
-
 
646
            foreach($fields as $field) 
-
 
647
            {
-
 
648
                $element = $form->get($field);
-
 
649
                echo $this->formHidden($element);
-
 
650
            }
-
 
651
                        
-
 
652
            ?>
-
 
653
			<div class="card-row">
-
 
654
   				<div class="col-12 mt-3">
-
 
655
           			<?php 
-
 
656
                    $element = $form->get('name');
-
 
657
                    $element->setAttributes(['class' => 'form-control']);    
-
 
658
                    $element->setOptions(['label' => 'LABEL_NAME']);
-
 
659
                                                            
-
 
660
                    echo $this->formLabel($element);
-
 
661
                    echo $this->formText($element);
-
 
662
                    ?>
-
 
663
          		</div>
-
 
664
          	</div>	
-
 
665
			<div class="card-row">
-
 
666
   				<div class="col-12 mt-3">
-
 
667
                 <?php 
-
 
668
                 $element = $form->get('job_description_id');
-
 
669
                 $element->setAttributes(['class' => 'form-control']);    
-
 
670
                 $element->setOptions(['label' => 'LABEL_POSITION_EVALUATED']);
-
 
671
                                                                
-
 
672
                 echo $this->formLabel($element);
-
 
673
                 echo $this->formSelect($element);
-
 
674
                ?>
-
 
675
       			</div>
-
 
676
        	</div>
-
 
677
			<div class="card-row">
-
 
678
   				<div class="col-12 mt-3">
-
 
679
                 <?php 
-
 
680
                 $element = $form->get('job_category_id');
-
 
681
                 $element->setAttributes(['class' => 'form-control']);    
-
 
682
                 $element->setOptions(['label' => 'LABEL_JOB_CATEGORY']);
-
 
683
                                                                
-
 
684
                 echo $this->formLabel($element);
-
 
685
                 echo $this->formSelect($element);
-
 
686
                ?>
-
 
687
                </div>
-
 
688
         	</div>
-
 
689
			<div class="card-row">
-
 
690
   				<div class="col-12 mt-3">
-
 
691
                 <?php 
-
 
692
                 $element = $form->get('location_search');
-
 
693
                 $element->setAttributes(['class' => 'form-control']);    
-
 
694
                 $element->setOptions(['label' => 'LABEL_LOCATION']);
-
 
695
                                                                
-
 
696
                 echo $this->formLabel($element);
-
 
697
                 echo $this->formText($element);
-
 
698
                ?>
-
 
699
                </div>
-
 
700
         	</div>
-
 
701
			<div class="card-row">
-
 
702
   				<div class="col-12 mt-3">
-
 
703
                 <?php 
-
 
704
                 $element = $form->get('industry_id');
-
 
705
                 $element->setAttributes(['class' => 'form-control']);    
-
 
706
                 $element->setOptions(['label' => 'LABEL_INDUSTRY']);
-
 
707
                                                                
-
 
708
                 echo $this->formLabel($element);
-
 
709
                 echo $this->formSelect($element);
-
 
710
                ?>
-
 
711
                </div>
-
 
712
         	</div>
-
 
713
			<div class="card-row">
-
 
714
   				<div class="col-12 mt-3">
-
 
715
                 <?php 
-
 
716
                 $element = $form->get('last_date');
-
 
717
                 $element->setAttributes(['class' => 'form-control']);    
-
 
718
                 $element->setOptions(['label' => 'LABEL_LAST_DATE_OF_APPLICATION']);
-
 
719
                                                                
-
 
720
                 echo $this->formLabel($element);
-
 
721
                 echo $this->formText($element);
-
 
722
                ?>
-
 
723
                </div>
-
 
724
         	</div>
-
 
725
			<div class="card-row">
-
 
726
   				<div class="col-12 mt-3">
-
 
727
                 <?php 
-
 
728
                 $element = $form->get('description');
-
 
729
                 $element->setAttributes(['class' => 'form-control']);    
-
 
730
                 $element->setOptions(['label' => 'LABEL_DESCRIPTION']);
-
 
731
                                                                
-
 
732
                 echo $this->formLabel($element);
-
 
733
                 echo $this->formTextArea($element);
-
 
734
                ?>
-
 
735
                </div>
-
 
736
         	</div>
-
 
737
			<div class="card-row">
-
 
738
   				<div class="col-12 mt-3">
-
 
739
                 <?php 
-
 
740
                 $element = $form->get('status');
-
 
741
 
Línea 738... Línea 742...
738
             echo $this->formCheckbox($element);
742
                 echo $this->formCheckbox($element);
739
            ?>
743
                ?>
740
 
744
                </div>
741
          </div>
745
         	</div>
742
 
746
		</div>
743
 
747
 
744
 
748
 
745
          <div class="form-group">
-
 
Línea 746... Línea -...
746
              <button type="submit" class="btn btn-primary btn-form-save-close">LABEL_SAVE</button>
-
 
747
             <button type="button" class="btn btn-light btn-edit-cancel">LABEL_CANCEL</button>
749
    	<div class="card-footer text-right">
-
 
750
           	<button type="submit" class="btn btn-primary btn-form-save-close">LABEL_SAVE</button>
-
 
751
             <button type="button" class="btn btn-light btn-edit-cancel">LABEL_CANCEL</button>
-
 
752
     	</div>
-
 
753
      	<?php echo $this->form()->closeTag($form); ?>
-
 
754
   	</div>