Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 16822 Rev 16838
Línea 352... Línea 352...
352
        CKEDITOR.replace( 'description');
352
        CKEDITOR.replace( 'description');
353
    });
353
    });
354
JS;
354
JS;
355
$this->inlineScript()->captureEnd();
355
$this->inlineScript()->captureEnd();
356
?>
356
?>
-
 
357
 
-
 
358
<div class="container">
-
 
359
	<div class="card">
-
 
360
		
-
 
361
		<div class="card-body">
-
 
362
			<h6 class="card-title">LABEL_SKILLS</h6>
-
 
363
            <div class="row">
-
 
364
        	    <div class="col-12">
-
 
365
        	    <table id="gridTable" class="table   table-hover">
-
 
366
                    <thead>
-
 
367
        				<tr>
-
 
368
                            <th>LABEL_NAME</th>
-
 
369
                            <th>LABEL_ACTIVE</th>
-
 
370
                            <th>LABEL_ACTIONS</th>
-
 
371
                        </tr>
-
 
372
                    </thead>
-
 
373
                    <tbody>
-
 
374
                    </tbody>
-
 
375
                </table>
-
 
376
          	</div>
-
 
377
        </div>    
-
 
378
        <div class="card-footer text-right">
-
 
379
			<button type="button" class="btn btn-info btn-refresh"><i class="fa fa-refresh"></i> LABEL_REFRESH  </button>
-
 
380
			<?php if($allowAdd) : ?>
-
 
381
			<button type="button" class="btn btn-primary btn-add"><i class="fa fa-plus"></i> LABEL_ADD </button>
-
 
382
			<?php endif; ?>     
-
 
383
        </div> 
-
 
384
    </div>             
-
 
385
</div>
Línea 357... Línea 386...
357
		
386
		
358
<!-- Content Header (Page header) -->
387
<!-- Content Header (Page header) -->
359
<section class="content-header">
388
<section class="content-header">
360
	<div class="container-fluid">
389
	<div class="container-fluid">
361
    	<div class="row mb-2">
390
    	<div class="row mb-2">
362
        	<div class="col-sm-12">
391
        	<div class="col-sm-12">
363
            	<h1>LABEL_SKILLS</h1>
392
            	<h1></h1>
364
			</div>
393
			</div>
365
		</div>
394
		</div>
366
	</div><!-- /.container-fluid -->
395
	</div><!-- /.container-fluid -->
367
</section>
396
</section>
368
 
-
 
369
<section class="content">
-
 
370
	<div class="container-fluid">
-
 
371
    	<div class="row">
-
 
372
        	<div class="col-12">
-
 
373
				<div class="card">                    
-
 
374
					<div class="card-body">
-
 
375
        	    		<table id="gridTable" class="table   table-hover">
-
 
376
                      		<thead>
-
 
377
        						<tr>
-
 
378
                                	<th>LABEL_NAME</th>
-
 
379
                                  	<th>LABEL_ACTIVE</th>
-
 
380
                                  	<th>LABEL_ACTIONS</th>
-
 
381
                                </tr>
-
 
382
                       		</thead>
-
 
383
                         	<tbody>
-
 
384
                         	</tbody>
-
 
385
                    	</table>
-
 
386
                   	</div>
-
 
387
                   	<div class="card-footer clearfix">
-
 
388
                   		<div style="float:right;">
-
 
389
							<button type="button" class="btn btn-info btn-refresh"><i class="fa fa-refresh"></i> LABEL_REFRESH  </button>
-
 
390
							<?php if($allowAdd) : ?>
-
 
391
							<button type="button" class="btn btn-primary btn-add"><i class="fa fa-plus"></i> LABEL_ADD </button>
-
 
392
							<?php endif; ?>
-
 
393
						</div>
-
 
394
                 	</div>
-
 
395
          		</div>
-
 
396
           	</div>     
-
 
397
        </div>          
397
  
398
 	</div>
398
 	</div>
Línea 399... Línea 399...
399
</section> 	
399
</section> 	
400
 
400
 
Línea 408... Línea 408...
408
        		<h4 class="modal-title">LABEL_SKILLS - <span id="form-title"></span></h4>
408
        		<h4 class="modal-title">LABEL_SKILLS - <span id="form-title"></span></h4>
409
        		<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="btn-close"></button>
409
        		<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="btn-close"></button>
410
      		</div>
410
      		</div>
Línea 411... Línea 411...
411
 
411
 
412
            <!-- Modal body -->
-
 
413
      		<div class="modal-body">
412
            <!-- Modal body -->
414
       			 <?php 
413
            <?php 
415
                    $form = $this->form;
414
                    $form = $this->form;
416
            		$form->setAttributes([
415
            		$form->setAttributes([
417
                        'method'    => 'post',
416
                        'method'    => 'post',
418
                        'name'      => 'form',
417
                        'name'      => 'form',
419
                        'id'        => 'form'
418
                        'id'        => 'form'
Línea 420... Línea 419...
420
                    ]);
419
                    ]);
421
    
420
    
422
                    $form->prepare();
421
                    $form->prepare();
-
 
422
                    echo $this->form()->openTag($form);
-
 
423
                    ?>	
423
                    echo $this->form()->openTag($form);
424
      		<div class="modal-body">
-
 
425
       			 				
424
                    ?>					
426
    					<div class="row">
425
    					<div class="form-group">
427
                            <div class="col-12 mb-3 mt-3">
426
        					<?php 
428
        					<?php 
427
                            $element = $form->get('name');
429
                            $element = $form->get('name');
Línea 428... Línea 430...
428
                            $element->setOptions(['label' => 'LABEL_NAME']);
430
                            $element->setOptions(['label' => 'LABEL_NAME']);
429
                            $element->setAttributes(['class' => 'form-control']); 
431
                            $element->setAttributes(['class' => 'form-control']); 
430
                                            
432
                                            
431
                            echo $this->formLabel($element);
433
                            echo $this->formLabel($element);
-
 
434
                            echo $this->formText($element);
432
                            echo $this->formText($element);
435
                            ?>
-
 
436
						</div>
433
                            ?>
437
						</div>
434
						</div>
438
						<div class="row">
435
						<div class="form-group">
439
                            <div class="col-12 mb-3 mt-3">
436
                    	<?php 
440
                    	<?php 
Línea 437... Línea 441...
437
                            $element = $form->get('description');
441
                            $element = $form->get('description');
438
                            $element->setOptions(['label' => 'LABEL_DESCRIPTION']);
442
                            $element->setOptions(['label' => 'LABEL_DESCRIPTION']);
439
                            $element->setAttributes(['class' => 'form-control']); 
443
                            $element->setAttributes(['class' => 'form-control']); 
440
 
444
 
-
 
445
                            echo $this->formLabel($element);
441
                            echo $this->formLabel($element);
446
                            echo $this->formTextArea($element);
-
 
447
                        ?>
442
                            echo $this->formTextArea($element);
448
						</div>
443
                        ?>
449
						</div>
444
						</div>
450
						<div class="row">
445
						<div class="form-group">
451
                            <div class="col-12 mb-3 mt-3">
446
                      	<?php 
452
                      	<?php 
-
 
453
                            $element = $form->get('status');
447
                            $element = $form->get('status');
454
                            echo $this->formCheckbox($element);
448
                            echo $this->formCheckbox($element);
-
 
449
                        ?>
-
 
450
						</div>
-
 
451
								
-
 
452
        				<div class="form-group">
-
 
-
 
455
                        ?>
453
                    		<button type="submit" class="btn btn-primary">LABEL_SAVE</button>
456
						</div>
Línea 454... Línea 457...
454
                    		<button type="button" class="btn btn-light btn-cancel">LABEL_CANCEL</button>
457
						</div>
455
                   		</div>
458
				
-
 
459
     	      		
456
     	      		<?php echo $this->form()->closeTag($form); ?>
460
      		</div>
457
      		</div>
461
 
-
 
462
            <!-- Modal footer -->
Línea 458... Línea 463...
458
 
463
      		<div class="modal-footer text-right">
459
            <!-- Modal footer -->
464
              <button type="submit" class="btn btn-primary">LABEL_SAVE</button>
460
      		<div class="modal-footer">
465
                    		<button type="button" class="btn btn-light btn-cancel">LABEL_CANCEL</button>