Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 16906 Rev 16910
Línea 387... Línea 387...
387
});
387
});
388
JS;
388
JS;
389
$this->inlineScript()->captureEnd();
389
$this->inlineScript()->captureEnd();
390
?>
390
?>
Línea 391... Línea -...
391
    
-
 
392
    
-
 
393
<!-- Content Header (Page header) -->
-
 
394
<section class="content-header">
391
    
395
	<div class="container-fluid">
392
<div class="container">
396
    	<div class="row mb-2">
393
	<div class="card" id="">
397
        	<div class="col-sm-12">
-
 
398
            	<h1>LABEL_ANSWERS</h1>
-
 
399
            	<h2><?php echo $quiz_name ?></h2>
394
	 	<div class="card-header">
400
            	<h3><?php echo $question_name ?></h3>
395
	 		<h6 class="card-title"> <?php echo $quiz_name ?> - <?php echo $question_name ?> - LABEL_ANSWERS </h6>
401
			</div>
-
 
402
		</div>
-
 
403
	</div><!-- /.container-fluid -->
-
 
404
</section>
-
 
405
 
-
 
406
<section class="content">
396
	 	</div>
407
	<div class="container-fluid">
397
	 	<div class="card-body">
408
    	<div class="row">
398
	 		<div class="row">
409
        	<div class="col-12 mt-3">
-
 
410
				<div class="card">                    
-
 
-
 
399
	 	         <div class="col-12 mt-3">
411
					<div class="card-body">
400
	 	         
412
        	    		<table id="gridTable" class="table   table-bordered">
401
	 	         <table id="gridTable" class="table   table-bordered">
413
                      		<thead>
402
                      		<thead>
414
        						<tr>
403
        						<tr>
415
                                	<th>LABEL_NAME</th>
404
                                	<th>LABEL_NAME</th>
416
                                  	<th>LABEL_DETAILS</th>	
405
                                  	<th>LABEL_DETAILS</th>	
417
                                  	<th>LABEL_ACTIONS</th>
406
                                  	<th>LABEL_ACTIONS</th>
418
                                </tr>
407
                                </tr>
419
                       		</thead>
408
                       		</thead>
420
                         	<tbody>
409
                         	<tbody>
421
                         	</tbody>
410
                         	</tbody>
-
 
411
                    	</table>
422
                    	</table>
412
	 	         
423
                   	</div>
413
	 	         </div>
-
 
414
	 	     </div>
424
                   	<div class="card-footer clearfix">
415
	 	</div>
425
                   		<div style="float:right;">
416
	 	<div class="card-footer text-right">
426
							<button type="button" class="btn btn-info btn-refresh"><i class="fa fa-refresh"></i> LABEL_REFRESH  </button>
417
							<button type="button" class="btn btn-info btn-refresh"><i class="fa fa-refresh"></i> LABEL_REFRESH  </button>
427
							<?php if($allowAdd) : ?>
418
							<?php if($allowAdd) : ?>
428
							<button type="button" class="btn btn-primary btn-add"><i class="fa fa-plus"></i> LABEL_ADD </button>
419
							<button type="button" class="btn btn-primary btn-add"><i class="fa fa-plus"></i> LABEL_ADD </button>
429
							<?php endif; ?>
420
							<?php endif; ?>
430
						</div>
-
 
431
                 	</div>
-
 
432
          		</div>
-
 
433
           	</div>     
421
	 	</div>
434
        </div>          
422
	</div>
-
 
423
</div>
435
 	</div>
424
    
Línea 436... Línea 425...
436
</section> 
425
    
437
 
426
 
Línea 453... Línea 442...
453
    	<div class="modal-content">
442
    	<div class="modal-content">
454
      		<div class="modal-header">
443
      		<div class="modal-header">
455
        		<h3 class="modal-title" ><span id="form-title">LABEL_ADD</span></h3>
444
        		<h3 class="modal-title" ><span id="form-title">LABEL_ADD</span></h3>
456
      		</div>
445
      		</div>
457
      		<div class="modal-body">
446
      		<div class="modal-body">
458
   				<div class="form-group">
447
    	 		<div class="row">
459
                	<?php 
-
 
460
                    $element = $form->get('text');
-
 
461
                    $element->setAttributes(['id' => 'text', 'rows' => '2', 'placeholder' => '', 'class' => 'form-control']);
-
 
462
                    $element->setOptions(['label' => 'LABEL_TEXT']);
-
 
463
                    echo $this->formLabel($element);
-
 
464
                    echo $this->formTextArea($element);
-
 
465
                    ?>
-
 
466
   				</div>
-
 
467
   				<div class="form-group">
448
    	 	         <div class="col-12 mt-3">
468
    				<?php 
-
 
469
                        $element = $form->get('correct');
-
 
470
                        $element->setAttributes(['class' => 'form-control']);
-
 
471
                        $element->setOptions(['label' => 'LABEL_CORRECT']);
-
 
472
                        echo $this->formLabel($element);
-
 
473
                        echo $this->formSelect($element);
-
 
474
                    ?>
449
                    	<?php 
475
				</div>
-
 
476
				<?php if($show_points) : ?>
-
 
477
				<div class="form-group">
-
 
478
    				<?php 
-
 
479
                        $element = $form->get('points');
450
                        $element = $form->get('text');
480
                        $element->setAttributes(['class' => 'form-control']);
451
                        $element->setAttributes(['id' => 'text', 'rows' => '2', 'placeholder' => '', 'class' => 'form-control']);
481
                        $element->setOptions(['label' => 'LABEL_POINTS']);
452
                        $element->setOptions(['label' => 'LABEL_TEXT']);
482
                        echo $this->formLabel($element);
453
                        echo $this->formLabel($element);
483
                        echo $this->formText($element);
454
                        echo $this->formTextArea($element);
-
 
455
                        ?>
-
 
456
    	 	         </div>
-
 
457
    	 	     </div>
-
 
458
    	 		<div class="row">
-
 
459
    	 	         <div class="col-12 mt-3">
-
 
460
        				<?php 
-
 
461
                            $element = $form->get('correct');
-
 
462
                            $element->setAttributes(['class' => 'form-control']);
-
 
463
                            $element->setOptions(['label' => 'LABEL_CORRECT']);
-
 
464
                            echo $this->formLabel($element);
-
 
465
                            echo $this->formSelect($element);
-
 
466
                        ?>
-
 
467
    	 	         </div>
-
 
468
    	 	     </div>
-
 
469
    				<?php if($show_points) : ?>
-
 
470
    	 		<div class="row">
-
 
471
    	 	         <div class="col-12 mt-3">
-
 
472
        				<?php 
-
 
473
                            $element = $form->get('points');
-
 
474
                            $element->setAttributes(['class' => 'form-control']);
-
 
475
                            $element->setOptions(['label' => 'LABEL_POINTS']);
-
 
476
                            echo $this->formLabel($element);
-
 
477
                            echo $this->formText($element);
484
                    ?>
478
                        ?>
-
 
479
    	 	         </div>
485
				</div>
480
    	 	     </div>
486
				<?php else : ?>
481
    				<?php else : ?>
487
					<?php 
482
    					<?php 
488
                        $element = $form->get('points');
483
                            $element = $form->get('points');
489
                        echo $this->formHidden($element);
484
                            echo $this->formHidden($element);
490
                    ?>
485
                        ?>
491
				<?php endif; ?>
486
    				<?php endif; ?>
492
          	</div>
487
          	</div>
Línea 493... Línea 488...
493
          	
488
          	
494
         	<div class="modal-footer text-right">
489
         	<div class="modal-footer text-right">
495
    			<button type="submit" class="btn btn-primary">LABEL_SAVE</button>
490
    			<button type="submit" class="btn btn-primary">LABEL_SAVE</button>