Пример #1
0
                            Borrar
                        </div>
                    </div>
                    <div class="row">
                        <input type="hidden" name="tipo" value="riego">
                        <?php 
obtenerHorarios("riego");
?>
  
                    </div>
                </div>
                <div class="controls row">
                    <button type="button" class="btn btn-primary" data-toggle="modal" data-target=".anhadir">Añadir</button>
                    <div class="modal fade anhadir" tabindex="-1" role="dialog" aria-labelledby="mySmallModalLabel">
                        <?php 
frmAñadir("riego");
?>
                          
                    </div>
                    <button type="button" class="btn btn-warning" data-toggle="modal" data-target=".modificar">Act/Des</button>
                    <div class="modal fade modificar" tabindex="-1" role="dialog" aria-labelledby="mySmallModalLabel">
                        <?php 
frmModificar("riego");
?>
                          
                    </div>
                    <button type="button" class="btn btn-danger" data-toggle="modal" data-target=".borrar">Borrar</button>
                    <div class="modal fade borrar" tabindex="-1" role="dialog" aria-labelledby="mySmallModalLabel">
                        <?php 
frmBorrar("riego");
?>
Пример #2
0
                            On/Off
                        </div>
                    </div>
                    <div class="row">
                    <input type="hidden" name="tipo" value="lampara">    
                    <?php 
obtenerHorarios("lampara");
?>
  
                    </div>
                </div>
                <div class="controls row">
                    <button type="button" class="btn btn-primary" data-toggle="modal" data-target=".anhadir">Añadir</button>
                    <div class="modal fade anhadir" tabindex="-1" role="dialog" aria-labelledby="mySmallModalLabel">
                        <?php 
frmAñadir("lampara");
?>
                          
                    </div>
                    <button type="button" class="btn btn-warning" data-toggle="modal" data-target=".modificar">Act/Des</button>
                    <div class="modal fade modificar" tabindex="-1" role="dialog" aria-labelledby="mySmallModalLabel">
                        <?php 
frmModificar("lampara");
?>
                          
                    </div>
                    <button type="button" class="btn btn-danger" data-toggle="modal" data-target=".borrar">Borrar</button>
                    <div class="modal fade borrar" tabindex="-1" role="dialog" aria-labelledby="mySmallModalLabel">
                        <?php 
frmBorrar("lampara");
?>