Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 16822 Rev 16826
Línea 339... Línea 339...
339
$this->inlineScript()->captureEnd();
339
$this->inlineScript()->captureEnd();
340
?>
340
?>
Línea 341... Línea -...
341
  
-
 
342
 
-
 
343
		
-
 
344
<!-- Content Header (Page header) -->
-
 
345
<section class="body-header">
-
 
346
	<div class="container-fluid">
-
 
347
    	<div class="row mb-2">
-
 
348
        	<div class="col-sm-12">
-
 
349
            	<h1>LABEL_PUSH_TEMPLATES</h1>
-
 
350
			</div>
-
 
Línea 351... Línea -...
351
		</div>
-
 
-
 
341
  
352
	</div><!-- /.container-fluid -->
342
 
353
</section>
343
		
354
 
344
 
-
 
345
 
355
<section class="body">
346
<div class="container">
356
	<div class="container-fluid">
347
    <div class="card">
357
    	<div class="row">
348
        <div class="card-body">
358
        	<div class="col-12">
349
            <h6 class="card-title">LABEL_PUSH_TEMPLATES</h6>   
359
				<div class="card">                    
350
            <div class="row">
360
					<div class="card-body">
351
                <div class="col-12">
361
        	    		<table id="gridTable" class="table   table-hover">
352
                    <table id="gridTable" class="table   table-hover">
362
                      		<thead>
353
                        <thead>
363
        						<tr>
354
                                    <tr>
364
        							<th>LABEL_ID</th>	
355
                                        <th>LABEL_ID</th>	
365
                                	<th>LABEL_TITLE</th>
356
                                        <th>LABEL_TITLE</th>
366
                                  	<th>LABEL_ACTIVE</th>
357
                                        <th>LABEL_ACTIVE</th>
367
                                  	<th>LABEL_TYPE</th>
358
                                        <th>LABEL_TYPE</th>
368
                                  	<th>LABEL_ACTIONS</th>
359
                                        <th>LABEL_ACTIONS</th>
369
                                </tr>
360
                                    </tr>
370
                       		</thead>
361
                                </thead>
371
                         	<tbody>
362
                                <tbody>
-
 
363
                                    </tbody>
372
                         	</tbody>
364
                    </table>
373
                    	</table>
365
                </div>    
374
                   	</div>
366
            </div>
375
                   	<div class="card-footer clearfix">
367
        </div>    
376
                   		<div style="float:right;">
368
        <div class="card-footer text-right">
377
							<button type="button" class="btn btn-info btn-refresh"><i class="fa fa-refresh"></i> LABEL_REFRESH  </button>
369
            <button type="button" class="btn btn-info btn-refresh"><i class="fa fa-refresh"></i> LABEL_REFRESH  </button>
378
    						<?php if ($allowImport) : ?>
-
 
379
                            	<button type="button" class="btn btn-primary btn-import"><i class="fa fa-upload"></i> LABEL_IMPORT </button>
-
 
380
                            <?php endif; ?>
-
 
381
						</div>
-
 
382
                 	</div>
370
    		<?php if ($allowImport) : ?>
383
          		</div>
371
                <button type="button" class="btn btn-primary btn-import"><i class="fa fa-upload"></i> LABEL_IMPORT </button>
Línea 384... Línea 372...
384
           	</div>     
372
            <?php endif; ?>
385
        </div>          
373
		</div>
386
 	</div>
374
 	</div>
387
</section> 	
375
</div> 	
Línea 396... Línea 384...
396
        		<h4 class="modal-title">LABEL_PUSHES_TEMPLATES - <span id="form-title"></span></h4>
384
        		<h4 class="modal-title">LABEL_PUSHES_TEMPLATES - <span id="form-title"></span></h4>
397
        		<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="btn-close"></button>
385
        		<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="btn-close"></button>
398
      		</div>
386
      		</div>
Línea 399... Línea 387...
399
 
387
 
400
            <!-- Modal body -->
-
 
401
      		<div class="modal-body">
388
            <!-- Modal body -->
402
       			 <?php 
389
            <?php 
403
                    $form = $this->form;
390
                    $form = $this->form;
404
            		$form->setAttributes([
391
            		$form->setAttributes([
405
                        'method'    => 'post',
392
                        'method'    => 'post',
406
                        'name'      => 'form',
393
                        'name'      => 'form',
407
                        'id'        => 'form'
394
                        'id'        => 'form'
Línea 408... Línea 395...
408
                    ]);
395
                    ]);
409
    
396
    
410
                    $form->prepare();
397
                    $form->prepare();
-
 
398
                    echo $this->form()->openTag($form);
-
 
399
                    ?>
411
                    echo $this->form()->openTag($form);
400
      		<div class="modal-body">
-
 
401
       					
412
                    ?>		
402
                      	<div class="row"">
413
                      	<div class="form-group">
403
                            <div class="col-12 mb-3 mt-3">
414
        					<?php 
404
        					<?php 
415
        					$element = $form->get('id');
405
        					$element = $form->get('id');
Línea 416... Línea 406...
416
        					$element->setOptions(['label' => 'LABEL_ID']);
406
        					$element->setOptions(['label' => 'LABEL_ID']);
417
                            $element->setAttributes(['class' => 'form-control', 'readonly' => 'readonly']); 
407
                            $element->setAttributes(['class' => 'form-control', 'readonly' => 'readonly']); 
418
                                            
408
                                            
-
 
409
                            echo $this->formLabel($element);
419
                            echo $this->formLabel($element);
410
                            echo $this->formText($element);
420
                            echo $this->formText($element);
411
                            ?>
-
 
412
                            </div>
421
                            ?>
413
						</div>		
422
						</div>			
414
                        <div class="row"">
423
    					<div class="form-group">
415
                            <div class="col-12 mb-3 mt-3">
424
        					<?php 
416
        					<?php 
Línea 425... Línea 417...
425
        					$element = $form->get('title');
417
        					$element = $form->get('title');
426
        					$element->setOptions(['label' => 'LABEL_SUBJECT']);
418
        					$element->setOptions(['label' => 'LABEL_SUBJECT']);
427
                            $element->setAttributes(['class' => 'form-control']); 
419
                            $element->setAttributes(['class' => 'form-control']); 
-
 
420
                                            
428
                                            
421
                            echo $this->formLabel($element);
429
                            echo $this->formLabel($element);
422
                            echo $this->formText($element);
-
 
423
                            ?>
430
                            echo $this->formText($element);
424
                            </div>
431
                            ?>
425
						</div>
432
						</div>
426
                        <div class="row"">
433
						<div class="form-group">
427
                            <div class="col-12 mb-3 mt-3">
Línea 434... Línea 428...
434
                    	<?php 
428
                    	<?php 
435
                    	    $element = $form->get('body');
429
                    	    $element = $form->get('body');
436
                    	    $element->setOptions(['label' => 'LABEL_CONTENT']);
430
                    	    $element->setOptions(['label' => 'LABEL_CONTENT']);
-
 
431
                            $element->setAttributes(['class' => 'form-control']); 
437
                            $element->setAttributes(['class' => 'form-control']); 
432
 
438
 
433
                            echo $this->formLabel($element);
-
 
434
                            echo $this->formTextArea($element);
439
                            echo $this->formLabel($element);
435
                        ?>
440
                            echo $this->formTextArea($element);
436
                            </div>
441
                        ?>
437
						</div>
442
						</div>
438
                        <div class="row"">
-
 
439
                            <div class="col-12 mb-3 mt-3">
443
						<div class="form-group">
440
                      	<?php 
Línea 444... Línea -...
444
                      	<?php 
-
 
445
                            $element = $form->get('status');
-
 
446
                            echo $this->formCheckbox($element);
-
 
447
                        ?>
-
 
448
						</div>
-
 
-
 
441
                            $element = $form->get('status');
-
 
442
                            echo $this->formCheckbox($element);
449
								
443
                        ?>
Línea 450... Línea 444...
450
        				<div class="form-group">
444
                            </div>
451
                    		<button type="submit" class="btn btn-primary">LABEL_SAVE</button>
445
						</div>
-
 
446
								
452
                    		<button type="button" class="btn btn-light btn-cancel">LABEL_CANCEL</button>
447
 
453
                   		</div>
448
     	      		
454
     	      		<?php echo $this->form()->closeTag($form); ?>
-
 
-
 
449
      		</div>
455
      		</div>
450
 
456
 
451
            <!-- Modal footer -->
457
            <!-- Modal footer -->
452
      		<div class="modal-footer">