Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 10843 Rev 11076
Línea 596... Línea 596...
596
?>
596
?>
Línea 597... Línea 597...
597
 
597
 
598
 
598
 
599
<!-- Content Header (Page header) -->
599
<!-- Content Header (Page header) -->
600
<div id="recruitment_and_selection-interview">
-
 
601
</div>
-
 
602
 
-
 
603
<section class="main-header">
-
 
604
	<div class="container-fluid">
-
 
605
    	<div class="row mb-2">
-
 
606
        	<div class="col-sm-12">
-
 
607
            	<h1>LABEL_INTERVIEW</h1>
-
 
608
			</div>
-
 
609
		</div>
-
 
610
	</div><!-- /.container-fluid -->
-
 
611
</section>
-
 
612
 
-
 
613
<section id="content">
-
 
614
    <div class="container-fluid">
-
 
615
        <div class="row">
-
 
616
            <div class="col-12">
-
 
617
                <div class="card">
-
 
618
                    <div class="card-header">
-
 
619
                    <div class="col-md-6 col-sm-12">
-
 
620
                                        <div class="form-group">
-
 
621
                                        <label for="vacancy_uuid">LABEL_VACANCIES</label>
-
 
622
                                            <select id="filter_vacancy_uuid" name="vacancy_uuid" class="form-control">
-
 
623
                                                <?php foreach($this->vacancies as $vacancy): ?>
-
 
624
                                                    <option value="<?= $vacancy->uuid ?>"><?= $vacancy->name ?></option>
-
 
625
                                                <?php endforeach; ?>
-
 
626
                                            </select>
-
 
627
                                        </div>
-
 
628
                                    </div>
-
 
629
                        <?php echo $this->form()->closeTag($form); ?>
-
 
630
                    </div>
-
 
631
                    <div class="card-body">
-
 
632
                        <table id="gridTable" class="table   table-hover">
-
 
633
                            <thead>
-
 
634
                            <tr>
-
 
635
                                <th>LABEL_FIRST_NAME</th>
-
 
636
                                <th>LABEL_EMAIL</th>
-
 
637
                                <th>LABEL_TYPE_INTERVIEW</th>
-
 
638
                                <th>LABEL_VACANCIES</th>
-
 
639
                                <th>LABEL_EVALUATION</th>
-
 
640
                                <th>LABEL_ACTIONS</th>
-
 
641
                            </tr>
-
 
642
                            </thead>
-
 
643
                            <tbody>
-
 
644
                            </tbody>
-
 
645
                        </table>
-
 
646
                    </div>
-
 
647
                    <div class="card-footer clearfix">
-
 
648
                        <div style="float:right;">
-
 
649
                            <button id="add-button" type="button" class="btn btn-primary btn-add"><i class="fa fa-plus"></i> LABEL_ADD </button>
-
 
650
                        </div>
-
 
651
                    </div>
-
 
652
                </div>
-
 
653
            </div>
-
 
654
        </div>
-
 
655
    </div>
-
 
656
</section>
-
 
657
 
-
 
658
<section id="main" style="display: none;">
-
 
659
	<div class="container-fluid">
-
 
660
      
-
 
661
        	<div class="row p-2">
-
 
662
            	<div class="col-12">
-
 
663
                    <?php
-
 
664
                        $form->setAttributes([
-
 
665
                            'method' => 'post',
-
 
666
                            'name' => 'form-interview',
-
 
667
                            'id' => 'form-interview',
-
 
668
                            'action' => $routeAdd
-
 
669
                        ]);
-
 
670
                        $form->prepare();
-
 
671
                        echo $this->form()->openTag($form);
-
 
672
                    ?>
-
 
673
	    		    	<div class="card">
-
 
674
                            <ul class="nav nav-tabs" id="custom-tabs" role="tablist">
-
 
675
                                <li class="nav-item" role="presentation">
-
 
676
                                    <a class="nav-link active" id="custom-tabs-general-tab" data-toggle="tab" href="#custom-tabs-general" role="tab" aria-controls="custom-tabs-general" aria-selected="true">LABEL_GENERAL</a>
-
 
677
                                </li>
-
 
678
                                <li class="nav-item" role="presentation">
-
 
679
                                    <a class="nav-link" id="custom-tabs-compentencies-tab" data-toggle="tab" href="#custom-tabs-compentencies" role="tab" aria-controls="custom-tabs-compentencies" aria-selected="false">LABEL_COMPETENCIES</a>
-
 
680
                                </li>
-
 
681
                                <li class="nav-item" role="presentation">
-
 
682
                                    <a class="nav-link" id="custom-tabs-evaluation-tab" data-toggle="tab" href="#custom-tabs-evaluation" role="tab" aria-controls="custom-tabs-evaluation" aria-selected="false">LABEL_CONCLUTION</a>
-
 
683
                                </li>
-
 
684
                            </ul>
-
 
685
 
-
 
686
	    		    		<div class="tab-content">
-
 
687
                                <div class="tab-pane fade show active" id="custom-tabs-general" role="tabpanel" aria-labelledby="custom-tabs-general-tab">
-
 
688
                                <div class="row">
-
 
689
                                    <div class="col-md-6 col-sm-12">
-
 
690
                                        <div class="form-group">
-
 
691
                                        <label for="vacancy_uuid">LABEL_VACANCIES</label>
-
 
692
                                            <select id="vacancy_uuid" name="vacancy_uuid" class="form-control">
-
 
693
                                                <?php foreach($this->vacancies as $vacancy): ?>
-
 
694
                                                    <option value="<?= $vacancy->uuid ?>"><?= $vacancy->name ?></option>
-
 
695
                                                <?php endforeach; ?>
-
 
696
                                            </select>
-
 
697
                                        </div>
-
 
698
                                    </div>
-
 
699
                                    <div class="col-md-6 col-sm-12">
-
 
700
                                        <div class="form-group">
-
 
701
                                            <label for="candidate_uuid">LABEL_CANDIDATES</label>
-
 
702
                                            <select id="candidate_uuid" name="candidate_uuid" class="form-control">
-
 
703
                                            </select>
-
 
704
                                        </div>
-
 
705
                                    </div>
-
 
706
 
-
 
707
                                </div>
-
 
708
 
-
 
709
                                <div class="p-2">
-
 
710
                                        <h5 id="interview"></h5>       
-
 
711
                                        <div id="job-description"></div>
-
 
712
                                    </div>
-
 
713
                                </div>
-
 
714
                                <div class="tab-pane fade" id="custom-tabs-compentencies" role="tabpanel" aria-labelledby="custom-tabs-compentencies-tab">
-
 
715
                                    <div class="row p-2">
-
 
716
                                       <div class="col-md-12 col-sm-12 col-xs-12" id="competencies-job" style="margin-top: 1px;">
-
 
717
                                       </div>
-
 
718
                                    </div>
-
 
719
                                </div>
-
 
720
                                <div class="tab-pane fade" id="custom-tabs-evaluation" role="tabpanel" aria-labelledby="custom-tabs-evaluation-tab">
-
 
721
                                    <div class="row p-2">
-
 
722
                                        <div class="col-12">
-
 
723
                                            <div class="form-group">
-
 
724
                                                <?php
-
 
725
                                                $element = $form->get('comment');
-
 
726
                                                $element->setOptions(['label' => 'LABEL_COMMENT']);
-
 
727
                                                $element->setAttributes(['class' => 'form-control']);
-
 
728
                                                echo $this->formLabel($element);
-
 
729
                                                echo $this->formText($element);
-
 
730
                                                ?>
-
 
731
                                            </div>
-
 
732
                                            <div class="form-group">
-
 
733
                                                <?php
-
 
734
                                                $element = $form->get('points');
-
 
735
                                                $element->setAttributes(['class' => 'form-control']);
-
 
736
                                                $element->setOptions(['label' => 'LABEL_EVALUATION']);
-
 
737
                                                echo $this->formLabel($element);
-
 
738
                                                echo $this->formSelect($element);
-
 
739
                                                ?>
-
 
740
                                            </div>
-
 
741
                                            <div class="form-group">
-
 
742
                                                <?php
-
 
743
                                                $element = $form->get('status');
-
 
744
                                                $element->setAttributes(['class' => 'form-control']);
-
 
745
                                                $element->setOptions(['label' => 'LABEL_STATUS']);
-
 
746
                                                echo $this->formLabel($element);
-
 
747
                                                echo $this->formSelect($element);
-
 
748
                                                ?>
-
 
749
                                            </div>
-
 
750
                                        </div>
-
 
751
                                    </div>
-
 
752
                                </div>
-
 
753
                                <div class="card-footer clearfix">
-
 
754
                                    <button type="submit" style="display:none;" form="form-main" class="btn btn-info btn-form-save-continue">LABEL_SAVE & LABEL_CONTINUE</button>
-
 
755
                                    <button type="button" class="btn btn-primary btn-form-save-close">LABEL_SAVE & LABEL_CLOSE</button>
-
 
756
                                    <button type="button" class="btn btn-secondary btn-edit-cancel">LABEL_CANCEL</button>
-
 
757
                                </div>
-
 
758
                           	</div>
-
 
759
                        </div>
-
 
760
                    <?php echo $this->form()->closeTag($form); ?>
-
 
761
                </div>
-
 
762
            </div>
-
 
763
        
-
 
764
 	</div>
-
 
765
</section>
-
 
766
 
-
 
767
<script id="job-description-template" type="text/x-jsrender">
-
 
768
    <div class="card">
-
 
769
        <div class="card-body">
-
 
770
            <h5 class="card-title">{{:job_description.name}}</h5>
-
 
771
            <p class="card-text">{{:vacancy.description}}</p>
-
 
772
            <p class="card-text">{{:job_description.objectives}}</p>
-
 
773
            <p class="card-text">{{:job_description.functions}}</p>
-
 
774
        </div>
-
 
775
    </div>
-
 
776
</script>
-
 
777
 
-
 
778
<script id="competenciesTemplate" type="text/x-jsrender">
-
 
779
<table class="table table-bordered" id="panel-{{:slug_section}}">
-
 
780
    
-
 
781
    <tbody>
-
 
782
        {{for job_description.competencies}}
-
 
783
            <tr>
-
 
784
               <td colspan="2" class="text-left">{{:competency_name}} - {{:competency_type_name}}</td>
-
 
785
            </tr>
-
 
786
 
-
 
787
            {{for behaviors}}
-
 
788
                <tr>
-
 
789
                    <td colspan="2">
-
 
790
                        <table class="table table-bordered">
-
 
791
                        <thead>
-
 
792
                            <tr>
-
 
793
                               <th style="width: 20%;">LABEL_CONDUCT</th>
-
 
794
                               <th style="width: 60%;">LABEL_COMMENT</th>
-
 
795
                               <th style="width: 20%;">LABEL_EVALUATION</th>
-
 
796
                            </tr>
-
 
797
                        </thead>
-
 
798
                            <tr data-competency-behavior data-competency-uuid="{{:competency_uuid}}" data-behavior-uuid="{{:uuid}}">
-
 
799
                                <td class="text-left" style="width: 20%;">
-
 
800
                                    {{:description}}
-
 
801
                                </td>
-
 
802
                                <td style="width: 60%;">
-
 
803
 
-
 
804
                                    <textarea
-
 
805
                                        id="textarea-{{:competency_uuid}}-{{:uuid}}"
-
 
806
                                        class="form-control"
-
 
807
                                    ></textarea>
-
 
808
                                </td>
-
 
809
                                <td style="width: 20%;">
-
 
810
 
-
 
811
                                    <select class="form-control" id="select-{{:competency_uuid}}-{{:uuid}}">
-
 
812
                                        <option value="<?= $points_0 ?>"><?= '0%' ?></option>
-
 
813
                                        <option value="<?= $points_1 ?>"><?= '25%' ?></option>
-
 
814
                                        <option value="<?= $points_2 ?>"><?= '50%' ?></option>
-
 
815
                                        <option value="<?= $points_3 ?>"><?= '75%' ?></option>
-
 
816
                                        <option value="<?= $points_4 ?>"><?= '100%' ?></option>
-
 
817
                                    </select>                                   
-
 
818
                                </td>
-
 
819
                            </tr>
-
 
820
                        </table>
-
 
821
                    </td>
-
 
822
                </tr>
-
 
823
            {{/for}}
-
 
824
        {{/for}}
-
 
825
    </tbody>
-
 
826
</table>
600
<div id="recruitment_and_selection-interview">