This repository has been archived by the owner on Jun 13, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Vista para listar la informacion de las tablas de la base de datos #3
- Loading branch information
1 parent
ac1bfcc
commit db211b6
Showing
7 changed files
with
235 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,39 @@ | ||
<h3>Vista del docente principal</h3> | ||
<div class="box-principal"> | ||
<h3 class="text-center">Listado de Docentes</h3> | ||
<div class="panel panel-success"> | ||
<div class="panel-heading"> | ||
<h3 class="panel-title">Listado de docentes</h3> | ||
</div> | ||
<div class="panel-body"> | ||
<table class="table table-striped table-hover"> | ||
<thead> | ||
<tr> | ||
<th>Cedula</th> | ||
<th>Nombre</th> | ||
<th>Apellido</th> | ||
<th>Telefono</th> | ||
<th>Correo</th> | ||
<th>Usuario</th> | ||
<th>Acciones</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<?php while($row = mysqli_fetch_array($datos)){ ?> | ||
<tr> | ||
<td><?php echo $row['cedula']; ?></td> | ||
<td><?php echo $row['nombres']; ?></td> | ||
<td><?php echo $row['apellidos']; ?></td> | ||
<td><?php echo $row['telefono']; ?></td> | ||
<td><?php echo $row['correo']; ?></td> | ||
<td><?php echo $row['nombre_usuario']; ?></td> | ||
<td> | ||
<a class="btn btn-warning btn-sm" href="<?php echo URL; ?>docente/editar/<?php echo $row['cedula']; ?>">Editar</a> | ||
<a class="btn btn-danger btn-sm" href="<?php echo URL; ?>docente/eliminar/<?php echo $row['cedula']; ?>">Eliminar</a> | ||
</td> | ||
</tr> | ||
<?php } ?> | ||
</tbody> | ||
</table> | ||
</div> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<div class="box-principal"> | ||
<h3 class="text-center">Listado de Funciones</h3> | ||
<div class="panel panel-success"> | ||
<div class="panel-heading"> | ||
<h3 class="panel-title">Listado de funciones</h3> | ||
</div> | ||
<div class="panel-body"> | ||
<table class="table table-striped table-hover"> | ||
<thead> | ||
<tr> | ||
<th>Id</th> | ||
<th>Descripcion</th> | ||
<th>Acciones</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<?php while($row = mysqli_fetch_array($datos)){ ?> | ||
<tr> | ||
<td><?php echo $row['idFuncion']; ?></td> | ||
<td><?php echo $row['funcion']; ?></td> | ||
<td> | ||
<a class="btn btn-warning btn-sm" href="<?php echo URL; ?>funcion/editar/<?php echo $row['idFuncion']; ?>">Editar</a> | ||
<a class="btn btn-danger btn-sm" href="<?php echo URL; ?>funcion/eliminar/<?php echo $row['idFuncion']; ?>">Eliminar</a> | ||
</td> | ||
</tr> | ||
<?php } ?> | ||
</tbody> | ||
</table> | ||
</div> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<div class="box-principal"> | ||
<h3 class="text-center">Listado de Herramientas</h3> | ||
<div class="panel panel-success"> | ||
<div class="panel-heading"> | ||
<h3 class="panel-title">Listado de herramientas</h3> | ||
</div> | ||
<div class="panel-body"> | ||
<table class="table table-striped table-hover"> | ||
<thead> | ||
<tr> | ||
<th>Id</th> | ||
<th>Descripcion</th> | ||
<th>Acciones</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<?php while($row = mysqli_fetch_array($datos)){ ?> | ||
<tr> | ||
<td><?php echo $row['idHerramienta']; ?></td> | ||
<td><?php echo $row['descripcion']; ?></td> | ||
<td> | ||
<a class="btn btn-warning btn-sm" href="<?php echo URL; ?>herramienta/editar/<?php echo $row['idHerramienta']; ?>">Editar</a> | ||
<a class="btn btn-danger btn-sm" href="<?php echo URL; ?>herramienta/eliminar/<?php echo $row['idHerramienta']; ?>">Eliminar</a> | ||
</td> | ||
</tr> | ||
<?php } ?> | ||
</tbody> | ||
</table> | ||
</div> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<div class="box-principal"> | ||
<h3 class="text-center">Listado de Instituciones</h3> | ||
<div class="panel panel-success"> | ||
<div class="panel-heading"> | ||
<h3 class="panel-title">Listado de instituciones</h3> | ||
</div> | ||
<div class="panel-body"> | ||
<table class="table table-striped table-hover"> | ||
<thead> | ||
<tr> | ||
<th>Id</th> | ||
<th>Descripcion</th> | ||
<th>Acciones</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<?php while($row = mysqli_fetch_array($datos)){ ?> | ||
<tr> | ||
<td><?php echo $row['idInstitucion']; ?></td> | ||
<td><?php echo $row['descripcion']; ?></td> | ||
<td> | ||
<a class="btn btn-warning btn-sm" href="<?php echo URL; ?>institucion/editar/<?php echo $row['idInstitucion']; ?>">Editar</a> | ||
<a class="btn btn-danger btn-sm" href="<?php echo URL; ?>institucion/eliminar/<?php echo $row['idInstitucion']; ?>">Eliminar</a> | ||
</td> | ||
</tr> | ||
<?php } ?> | ||
</tbody> | ||
</table> | ||
</div> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<div class="box-principal"> | ||
<h3 class="text-center">Listado de Municipios</h3> | ||
<div class="panel panel-success"> | ||
<div class="panel-heading"> | ||
<h3 class="panel-title">Listado de municipios</h3> | ||
</div> | ||
<div class="panel-body"> | ||
<table class="table table-striped table-hover"> | ||
<thead> | ||
<tr> | ||
<th>Id</th> | ||
<th>Municipio</th> | ||
<th>Acciones</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<?php while($row = mysqli_fetch_array($datos)){ ?> | ||
<tr> | ||
<td><?php echo $row['idMunicipio']; ?></td> | ||
<td><?php echo $row['municipio']; ?></td> | ||
<td> | ||
<a class="btn btn-warning btn-sm" href="<?php echo URL; ?>municipio/editar/<?php echo $row['idMunicipio']; ?>">Editar</a> | ||
<a class="btn btn-danger btn-sm" href="<?php echo URL; ?>municipio/eliminar/<?php echo $row['idMunicipio']; ?>">Eliminar</a> | ||
</td> | ||
</tr> | ||
<?php } ?> | ||
</tbody> | ||
</table> | ||
</div> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
<div class="box-principal"> | ||
<h3 class="text-center">Listado de Planteles</h3> | ||
<div class="panel panel-success"> | ||
<div class="panel-heading"> | ||
<h3 class="panel-title">Listado de planteles</h3> | ||
</div> | ||
<div class="panel-body"> | ||
<table class="table table-striped table-hover"> | ||
<thead> | ||
<tr> | ||
<th>Plantel</th> | ||
<th>Dirección</th> | ||
<th>Municipio</th> | ||
<th>Director</th> | ||
<th>Telefono</th> | ||
<th>Correo</th> | ||
<th>Acciones</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<?php while($row = mysqli_fetch_array($datos)){ ?> | ||
<tr> | ||
<td><?php echo $row['nombrePlantel']; ?></td> | ||
<td><?php echo $row['direccion']; ?></td> | ||
<td><?php echo $row['municipio']; ?></td> | ||
<td><?php echo $row['nombre_director']; ?></td> | ||
<td><?php echo $row['telefono']; ?></td> | ||
<td><?php echo $row['correo']; ?></td> | ||
<td> | ||
<a class="btn btn-warning btn-sm" href="<?php echo URL; ?>plantel/editar/<?php echo $row['idPlantel']; ?>">Editar</a> | ||
<a class="btn btn-danger btn-sm" href="<?php echo URL; ?>plantel/eliminar/<?php echo $row['idPlantel']; ?>">Eliminar</a> | ||
</td> | ||
</tr> | ||
<?php } ?> | ||
</tbody> | ||
</table> | ||
</div> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
<div class="box-principal"> | ||
<h3 class="text-center">Listado de Usuarios</h3> | ||
<div class="panel panel-success"> | ||
<div class="panel-heading"> | ||
<h3 class="panel-title">Listado de usuarios</h3> | ||
</div> | ||
<div class="panel-body"> | ||
<table class="table table-striped table-hover"> | ||
<thead> | ||
<tr> | ||
<th>Id</th> | ||
<th>Usuario</th> | ||
<th>Tipo de Usuario</th> | ||
<th>Acciones</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<?php while($row = mysqli_fetch_array($datos)){ ?> | ||
<tr> | ||
<td><?php echo $row['idUsuario']; ?></td> | ||
<td><?php echo $row['user']; ?></td> | ||
<td><?php echo $row['tipo_usuario']; ?></td> | ||
<td> | ||
<a class="btn btn-warning btn-sm" href="<?php echo URL; ?>usuario/editar/<?php echo $row['idUsuario']; ?>">Editar</a> | ||
<a class="btn btn-danger btn-sm" href="<?php echo URL; ?>usuario/eliminar/<?php echo $row['idUsuario']; ?>">Eliminar</a> | ||
</td> | ||
</tr> | ||
<?php } ?> | ||
</tbody> | ||
</table> | ||
</div> | ||
</div> | ||
</div> |