<?php /** * Created by PhpStorm. * User: Isai * Date: 13/05/2018 * Time: 02:41 AM */ ?> <div class="modal fade bs-example-modal-sm" tabindex="-1" role="dialog" aria-labelledby="mySmallModalLabel"> <div class="modal-dialog modal-sm" role="document"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button> <h4 class="modal-title">Nuevo Periodo</h4> </div> <!-- Establecer Formulario --> <?= form_open("setting/insertPeriodAct"); ?> <div class="modal-body"> <div class="form-group"> <label for="periodo_activo"> Periodo: </label> <input type="text" class="form-control" id="periodo_activo" name="periodo_activo"> </div> </div> <div class="modal-footer"> <button type="button" class="btn btn-danger" data-dismiss="modal">Cancelar</button> <button type="submit" class="btn btn-success">Guardar</button> </div> <?= form_close(); ?> </div> </div> </div> <div class="row"> <div class="col-lg-6"> <div class="col-lg-12"> <h2>Periodo Activo</h2> <div class="pull-right"> <!-- Small modal --> <button type="button" class="btn btn-default" data-toggle="modal" data-target=".bs-example-modal-sm">Agregar</button> </div> </div> <div class="col-lg-12"> <div class="table-responsive"> <table class="table table-hover table-striped"> <thead> <tr> <th>Periodo</th> <th>Estado</th> <th>Acciones</th> </tr> </thead> <tbody> <?php foreach ($listaPeriodoActivo as $value) { ?> <tr> <td> <?= $value->active_period ?> </td> <td> <?= $value->status ?> </td> <td>ddd</td> </tr> <?php } ?> </tbody> </table> </div> </div> </div> <div class="col-lg-6"> <div class="col-lg-12"> <h2>Generar Grupos</h2> <div class="pull-right"> <!-- Small modal --> <button type="button" class="btn btn-default" data-toggle="modal" data-target=".bs-example-modal-sm">Agregar</button> </div> </div> <div class="col-lg-12"> <div class="table-responsive"> <table class="table table-hover table-striped"> <thead> <tr> <th>Periodo</th> <th>Estado</th> <th>Acciones</th> </tr> </thead> <tbody> <?php foreach ($listaPeriodoActivo as $value) { ?> <tr> <td> <?= $value->active_period ?> </td> <td> <?= $value->status ?> </td> <td>ddd</td> </tr> <?php } ?> </tbody> </table> </div> </div> </div> </div>