Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 16845 Rev 16846
Línea 457... Línea 457...
457
});
457
});
458
JS;
458
JS;
459
$this->inlineScript()->captureEnd();
459
$this->inlineScript()->captureEnd();
460
?>
460
?>
Línea 461... Línea -...
461
 
-
 
462
<!-- Content Header (Page header) -->
-
 
463
<section id="row-header" class="content-header">
461
 
464
    <div class="container-fluid">
462
<div class="container">
-
 
463
	<div class="card" id="row-listing">
465
        <div class="row mb-2">
464
	 	
466
            <div class="col-sm-12">
465
	 	<div class="card-body">
467
                <h1>LABEL_EVALUATION</h1>
-
 
468
            </div>
-
 
469
        </div>
-
 
470
    </div>
-
 
471
    <!-- /.container-fluid -->
-
 
472
</section>
-
 
473
<section id="row-listing" class="content">
-
 
474
    <div class="container-fluid" id="row-lists">
466
	 		<h6 class="card-title">LABEL_EVALUATIONS</h6>
475
        <div class="row">
467
	 		<div class="row">
476
            <div class="col-12">
-
 
477
                <div class="card">
-
 
478
                    <div class="card-body">
468
	 	         <div class="col-12 mt-3">
479
                        <table id="gridTable" class="table   table-bordered">
469
	 	         	<table id="gridTable" class="table   table-bordered">
480
                            <thead>
470
                            <thead>
481
                                <tr>
471
                                <tr>
482
                                    <th style="width:15%">LABEL_LAST_DATE</th>
472
                                    <th style="width:15%">LABEL_LAST_DATE</th>
483
                                    <th style="width:35%">LABEL_FORM_NAME</th>
473
                                    <th style="width:35%">LABEL_FORM_NAME</th>
Línea 487... Línea 477...
487
                                    <th style="width:15%">LABEL_ACTIONS</th>
477
                                    <th style="width:15%">LABEL_ACTIONS</th>
488
                                </tr>
478
                                </tr>
489
                            </thead>
479
                            </thead>
490
                            <tbody></tbody>
480
                            <tbody></tbody>
491
                        </table>
481
                        </table>
492
                    </div>
482
	 	         </div>
493
                    <div class="card-footer clearfix">
483
	 	     </div>
-
 
484
	 	</div>
494
                        <div style="float:right;">
485
	 	<div class="card-footer text-right">
495
                            <button type="button" class="btn btn-info btn-refresh"><i class="fa fa-refresh"></i> LABEL_REFRESH </button>
486
 			<button type="button" class="btn btn-info btn-refresh"><i class="fa fa-refresh"></i> LABEL_REFRESH </button>
496
                            <?php if ($allowAdd) : ?>
487
        	<?php if ($allowAdd) : ?>
497
                                <button type="button" class="btn btn-primary btn-add"><i class="fa fa-plus"></i> LABEL_ADD </button>
488
        	<button type="button" class="btn btn-primary btn-add"><i class="fa fa-plus"></i> LABEL_ADD </button>
498
                            <?php endif; ?>
-
 
499
                        </div>
-
 
500
                    </div>
-
 
501
                </div>
489
         	<?php endif; ?>
502
            </div>
-
 
503
        </div>
490
	 	</div>
504
    </div>
491
	</div>
505
</section>
-
 
506
 
-
 
507
 
492
 
508
<section id="row-form" class="content" style="display: none">
493
	<div class="card" id="row-form"  style="display: none">
509
    <div class="container-fluid" id="row-lists">
-
 
510
        <div class="row">
-
 
511
            <div class="col-12">
-
 
512
                <?php
494
		<?php
513
                $form = $this->form;
495
                $form = $this->form;
514
                $form->setAttributes([
496
                $form->setAttributes([
515
                    'method' => 'post',
497
                    'method' => 'post',
516
                    'name' => 'form',
498
                    'name' => 'form',
517
                    'action' => $routeAdd,
499
                    'action' => $routeAdd,
Línea 519... Línea 501...
519
                ]);
501
                ]);
520
                $form->prepare();
502
                $form->prepare();
521
                echo $this->form()->openTag($form);
503
                echo $this->form()->openTag($form);
Línea 522... Línea 504...
522
 
504
 
523
                ?>
505
                ?>
524
                <div class="card">
-
 
525
                    <div class="card-header">
506
	 	<div class="card-body">
526
                        <h3>LABEL_NEW_EVALUATION</h3>
-
 
527
                    </div>
507
	 		<h6 class="card-title">LABEL_NEW_EVALUATION</h6>
528
                    <div class="card-body">
508
	 		<div class="row">
-
 
509
	 	         <div class="col-12 mt-3">
529
                        <div class="form-group">
510
 
530
                            <?php
511
                            <?php
531
                            $element = $form->get('last_date');
512
                            $element = $form->get('last_date');
532
                            $element->setOptions(['label' => 'LABEL_LAST_DATE']);
513
                            $element->setOptions(['label' => 'LABEL_LAST_DATE']);
533
                            $element->setAttributes(['class' => 'form-control']);
514
                            $element->setAttributes(['class' => 'form-control']);
534
                            echo $this->formLabel($element);
515
                            echo $this->formLabel($element);
535
                            echo $this->formText($element);
516
                            echo $this->formText($element);
536
                            ?>
517
                            ?>
-
 
518
	 	         </div>
-
 
519
	 	     </div>
537
                        </div>
520
	 		<div class="row">
538
                        <div class="form-group">
521
	 	         <div class="col-12 mt-3">
539
                            <?php
522
                            <?php
540
                            $element = $form->get('form_id');
523
                            $element = $form->get('form_id');
541
                            $element->setOptions(['label' => 'LABEL_FORM_NAME']);
524
                            $element->setOptions(['label' => 'LABEL_FORM_NAME']);
542
                            $element->setAttributes(['class' => 'form-control']);
525
                            $element->setAttributes(['class' => 'form-control']);
543
                            echo $this->formLabel($element);
526
                            echo $this->formLabel($element);
544
                            echo $this->formSelect($element);
527
                            echo $this->formSelect($element);
545
                            ?>
528
                            ?>
-
 
529
	 	         </div>
-
 
530
	 	     </div>
546
                        </div>
531
	 		<div class="row">
547
                        <div class="form-group">
532
	 	         <div class="col-12 mt-3">
548
                            <?php
533
                            <?php
549
                            $element = $form->get('supervisor_id');
534
                            $element = $form->get('supervisor_id');
550
                            $element->setOptions(['label' => 'LABEL_SUPERVISOR']);
535
                            $element->setOptions(['label' => 'LABEL_SUPERVISOR']);
551
                            $element->setAttributes(['class' => 'form-control']);
536
                            $element->setAttributes(['class' => 'form-control']);
552
                            echo $this->formLabel($element);
537
                            echo $this->formLabel($element);
553
                            echo $this->formSelect($element);
538
                            echo $this->formSelect($element);
554
                            ?>
539
                            ?>
-
 
540
	 	         </div>
-
 
541
	 	     </div>
555
                        </div>
542
	 		<div class="row">
556
                        <div class="form-group">
543
	 	         <div class="col-12 mt-3">
557
                            <?php
544
                            <?php
558
                            $element = $form->get('employee_id');
545
                            $element = $form->get('employee_id');
559
                            $element->setOptions(['label' => 'LABEL_EMPLOYEE']);
546
                            $element->setOptions(['label' => 'LABEL_EMPLOYEE']);
560
                            $element->setAttributes(['class' => 'form-control']);
547
                            $element->setAttributes(['class' => 'form-control']);
561
                            echo $this->formLabel($element);
548
                            echo $this->formLabel($element);
562
                            echo $this->formSelect($element);
549
                            echo $this->formSelect($element);
563
                            ?>
550
                            ?>
564
                        </div>
551
	 	         </div>
-
 
552
	 	     </div>
-
 
553
 
-
 
554
	 	     
-
 
555
	 	</div>
-
 
556
	 	<div class="card-footer text-right">
-
 
557
	 	     <button type="submit" class="btn btn-primary">LABEL_SAVE</button>
-
 
558
     		<button type="button" class="btn btn-default btn-evaluation-close">LABEL_CANCEL</button>
-
 
559
	 	</div>
-
 
560
	 	<?php echo $this->form()->closeTag($form); ?>
-
 
561
	</div>
-
 
562
</div>
Línea 565... Línea -...
565
                    </div>
-
 
566
 
-
 
567
 
-
 
568
                    <div class="card-footer">
-
 
569
                        <button type="submit" class="btn btn-primary">LABEL_SAVE</button>
-
 
570
                        <button type="button" class="btn btn-default btn-evaluation-close">LABEL_CANCEL</button>
-
 
571
                    </div>
-
 
572
                    <?php echo $this->form()->closeTag($form); ?>
-
 
573
                </div>
-
 
574
            </div>
-
 
575
        </div>
563