Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 16845 Rev 16864
Línea 374... Línea 374...
374
    });
374
    });
375
JS;
375
JS;
376
$this->inlineScript()->captureEnd();
376
$this->inlineScript()->captureEnd();
377
?>
377
?>
Línea 378... Línea -...
378
 
-
 
379
 
-
 
380
 
-
 
381
 
-
 
382
 
-
 
383
<!-- Content Header (Page header) -->
-
 
384
<section class="content-header">
378
 
385
    <div class="container-fluid">
379
<div class="container">
386
        <div class="row mb-2">
380
	<div class="card" id="">
387
            <div class="col-sm-12">
381
	 	<div class="card-header">
388
                <h1>LABEL_KNOWLEDGE_AREA_CATEGORIES</h1>
-
 
389
            </div>
382
	 		<h6 class="card-title">LABEL_KNOWLEDGE_AREA_CATEGORIES</h6>
390
        </div>
-
 
391
    </div><!-- /.container-fluid -->
-
 
392
</section>
-
 
393
 
-
 
394
<section class="content">
383
	 	</div>
395
    <div class="container-fluid">
384
	 	<div class="card-body">
396
        <div class="row">
385
	 		<div class="row">
397
            <div class="col-12">
-
 
398
                <div class="card">
-
 
399
                    <div class="card-body">
386
	 	         <div class="col-12 mt-3">
400
                        <table id="gridTable" class="table table-bordered">
387
	 	        	 <table id="gridTable" class="table table-bordered">
401
                            <thead>
388
                            <thead>
402
                                <tr>
389
                                <tr>
403
                                    <th>LABEL_NAME</th>
390
                                    <th>LABEL_NAME</th>
404
                                    <th>LABEL_PRIVACY</th>
391
                                    <th>LABEL_PRIVACY</th>
Línea 407... Línea 394...
407
                                </tr>
394
                                </tr>
408
                            </thead>
395
                            </thead>
409
                            <tbody>
396
                            <tbody>
410
                            </tbody>
397
                            </tbody>
411
                        </table>
398
                        </table>
412
                    </div>
399
	 	         </div>
413
                    <div class="card-footer clearfix">
400
	 	     </div>
-
 
401
	 	</div>
414
                        <div style="float:right;">
402
	 	<div class="card-footer text-right">
415
                            <button type="button" class="btn btn-info btn-refresh"><i class="fa fa-refresh"></i> LABEL_REFRESH </button>
403
	 	    <button type="button" class="btn btn-info btn-refresh"><i class="fa fa-refresh"></i> LABEL_REFRESH </button>
416
                            <?php if ($allowAdd) : ?>
404
    		<?php if ($allowAdd) : ?>
417
                                <button type="button" class="btn btn-primary btn-add"><i class="fa fa-plus"></i> LABEL_ADD </button>
405
         	<button type="button" class="btn btn-primary btn-add"><i class="fa fa-plus"></i> LABEL_ADD </button>
418
                            <?php endif; ?>
-
 
419
                        </div>
-
 
420
                    </div>
-
 
421
                </div>
-
 
422
            </div>
406
 			<?php endif; ?>
423
        </div>
407
	 	</div>
424
    </div>
408
	</div>
425
</section>
409
</div>
-
 
410
 
-
 
411
 
-
 
412
 
Línea 426... Línea 413...
426
 
413
 
427
<!-- The Modal -->
414
<!-- The Modal -->
428
<div class="modal" id="modal">
415
<div class="modal" id="modal">
429
    <div class="modal-dialog  modal-xl">
416
    <div class="modal-dialog  modal-xl">
Línea 432... Línea 419...
432
            <!-- Modal Header -->
419
            <!-- Modal Header -->
433
            <div class="modal-header">
420
            <div class="modal-header">
434
                <h6 class="modal-title">LABEL_KNOWLEDGE_AREA_CATEGORIES</h6>
421
                <h6 class="modal-title">LABEL_KNOWLEDGE_AREA_CATEGORIES</h6>
435
                <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="btn-close"></button>
422
                <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="btn-close"></button>
436
            </div>
423
            </div>
437
 
424
            
438
            <!-- Modal body -->
-
 
439
            <div class="modal-body">
-
 
440
 
-
 
441
                <?php
425
               <?php
442
                $form = $this->form;
426
                $form = $this->form;
443
                $form->setAttributes([
427
                $form->setAttributes([
444
                    'method'    => 'post',
428
                    'method'    => 'post',
445
                    'name'      => 'form',
429
                    'name'      => 'form',
446
                    'id'        => 'form'
430
                    'id'        => 'form'
Línea 448... Línea 432...
448
 
432
 
449
                $form->prepare();
433
                $form->prepare();
Línea 450... Línea 434...
450
                echo $this->form()->openTag($form);
434
                echo $this->form()->openTag($form);
-
 
435
 
-
 
436
                ?>
-
 
437
 
-
 
438
            <!-- Modal body -->
-
 
439
            <div class="modal-body">
451
 
440
 
Línea 452... Línea 441...
452
                ?>
441
             
-
 
442
                <div class="card-body">
453
                <div class="card-body">
443
   
454
   
444
              		<div class="row">
455
                 		<div class="from-group">
445
	 	         		<div class="col-12 mt-3">
456
                 			<?php
446
                 			<?php
Línea 457... Línea 447...
457
                            $element = $form->get('name');
447
                            $element = $form->get('name');
458
                            $element->setOptions(['label' => 'LABEL_NAME']);
448
                            $element->setOptions(['label' => 'LABEL_NAME']);
459
                            $element->setAttributes(['class' => 'form-control']);
449
                            $element->setAttributes(['class' => 'form-control']);
460
 
450
 
461
                            echo $this->formLabel($element);
-
 
-
 
451
                            echo $this->formLabel($element);
Línea 462... Línea 452...
462
                            echo $this->formText($element);
452
                            echo $this->formText($element);
-
 
453
                            ?>
463
                            ?>
454
               			</div>
464
               			</div>
455
       				</div>
465
       
456
 
466
 
457
                    <div class="row">
Línea 467... Línea 458...
467
                    <div class="form-group ">
458
	 	        	 	<div class="col-12 mt-3">
468
                        <?php
459
                        <?php
469
                        $element = $form->get('privacy');
460
                        $element = $form->get('privacy');
470
                        $element->setAttributes(['class' => 'form-control']);
461
                        $element->setAttributes(['class' => 'form-control']);
471
                        $element->setOptions(['label' => 'LABEL_PRIVACY']);
462
                        $element->setOptions(['label' => 'LABEL_PRIVACY']);
Línea 472... Línea 463...
472
 
463
 
473
                        echo $this->formLabel($element);
-
 
474
                        echo $this->formSelect($element);
464
                        echo $this->formLabel($element);
-
 
465
                        echo $this->formSelect($element);
475
                        ?>
466
                        ?>
476
 
467
						</div>
477
                    </div>
-
 
478
 
-
 
479
                    <div class="form-group ">
468
                    </div>
480
                        <label>LABEL_STATUS</label>
469
 
481
                        <br />
470
					<div class="row">
482
                        <?php
471
	 	         		<div class="col-12 mt-3">
Línea 483... Línea 472...
483
                        $element = $form->get('status');
472
 
484
                        $element->setOptions(['label' => 'LABEL_STATUS']);
473
                        <?php
Línea 485... Línea -...
485
                        // echo $this->formLabel($element);
-
 
-
 
474
                        $element = $form->get('status');
486
                        echo $this->formCheckbox($element);
475
                        echo $this->formCheckbox($element);
487
                        ?>
476
                        ?>
488
 
477
						</div>
489
                    </div>
478
                    </div>
490
 
479
 
-
 
480
 
491
 
481
                </div>
Línea 492... Línea 482...
492
                </div>
482
            </div>
493
            </div>
-
 
494
 
483
 
495
            <?php echo $this->form()->closeTag($form); ?>
484