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.
Vistas de Agregar y Listar ademas de la de editar cargo #3
- Loading branch information
1 parent
db211b6
commit 9edea62
Showing
19 changed files
with
570 additions
and
0 deletions.
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 |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<div class="box-segundario"> | ||
<h3 class="text-center">Agregar Cargo<hr></h3> | ||
<div class="panel panel-success"> | ||
<div class="panel-heading"> | ||
<he class="panel-title">Agregar un nuevo cargo</he> | ||
</div> | ||
<div class="panel-body"> | ||
<div class="row"> | ||
<div class="col-md-2"></div> | ||
<div class="col-md-8"> | ||
<form action="" class="form-horizontal" method="POST" enctype="multipart/from-data"> | ||
<div class="form-group"> | ||
<label for="inputDescripcion" class="control-label">Descripcion</label> | ||
<input type="text" class="form-control text-capitalize" name="descripcion" required> | ||
</div> | ||
<div class="form-group"> | ||
<button type="submit" class="btn btn-success">Registrar</button> | ||
<button type="reset" class="btn btn-warning">Borrar</button> | ||
</div> | ||
</form> | ||
</div> | ||
<div class="col-md-2"></div> | ||
</div> | ||
</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,27 @@ | ||
<div class="box-segundario"> | ||
<h3 class="text-center">Editar Cargo<hr></h3> | ||
<div class="panel panel-success"> | ||
<div class="panel-heading"> | ||
<he class="panel-title">Editar cargo <?php echo $datos['nombre']; ?></he> | ||
</div> | ||
<div class="panel-body"> | ||
<div class="row"> | ||
<div class="col-md-2"></div> | ||
<div class="col-md-8"> | ||
<form action="" class="form-horizontal" method="POST"> | ||
<input value="<?php echo $datos['id']; ?>" name="id" type="hidden"> | ||
<div class="form-group"> | ||
<label for="inputDescripcion" class="control-label">Descripcion</label> | ||
<input type="text" class="form-control text-capitalize" value="<?php echo $datos['nombre']; ?>" name="descripcion" required> | ||
</div> | ||
<div class="form-group"> | ||
<button type="submit" class="btn btn-success">Editar</button> | ||
<button type="reset" class="btn btn-warning">Borrar</button> | ||
</div> | ||
</form> | ||
</div> | ||
<div class="col-md-2"></div> | ||
</div> | ||
</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 Cargos</h3> | ||
<div class="panel panel-success"> | ||
<div class="panel-heading"> | ||
<h3 class="panel-title">Listado de cargos</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['id']; ?></td> | ||
<td><?php echo $row['nombre']; ?></td> | ||
<td> | ||
<a class="btn btn-warning btn-sm" href="<?php echo URL; ?>cargo/editar/<?php echo $row['id']; ?>">Editar</a> | ||
<a class="btn btn-danger btn-sm" href="<?php echo URL; ?>cargo/eliminar/<?php echo $row['id']; ?>">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,51 @@ | ||
<div class="box-segundario"> | ||
<h3 class="text-center">Agregar Docentes<hr></h3> | ||
<div class="panel panel-success"> | ||
<div class="panel-heading"> | ||
<he class="panel-title">Agregar un nuevo docente</he> | ||
</div> | ||
<div class="panel-body"> | ||
<div class="row"> | ||
<div class="col-md-2"></div> | ||
<div class="col-md-8"> | ||
<form action="" class="form-horizontal" method="POST" enctype="multipart/from-data"> | ||
<div class="form-group"> | ||
<label for="inputCedula" class="control-label">Cedula</label> | ||
<input type="text" class="form-control" name="cedula" required> | ||
</div> | ||
<div class="form-group"> | ||
<label for="inputNombres" class="control-label">Nombres</label> | ||
<input type="text" class="form-control" name="nombres" required> | ||
</div> | ||
<div class="form-group"> | ||
<label for="inputApellidos" class="control-label">Apellidos</label> | ||
<input type="text" class="form-control" name="apellidos" required> | ||
</div> | ||
<div class="form-group"> | ||
<label for="inputTelefono" class="control-label">Telefono</label> | ||
<input type="text" class="form-control" name="telefono" required> | ||
</div> | ||
<div class="form-group"> | ||
<label for="inputEmail" class="control-label">Correo</label> | ||
<input type="email" class="form-control" name="email" required> | ||
</div> | ||
<div class="form-group"> | ||
<label for="inputIdUsuario" class="control-label">Nombre de Usuario</label> | ||
<select name="idUsuario" class="form-control"> | ||
<?php while($row = mysqli_fetch_array($datos)){ ?> | ||
<option value="<?php echo $row['idUsuario']; ?>"><?php echo $row['user']; ?></option> | ||
<?php } ?> | ||
</select> | ||
</div> | ||
<div class="form-group"> | ||
<button type="submit" class="btn btn-success">Registrar</button> | ||
<button type="reset" class="btn btn-warning">Borrar</button> | ||
</div> | ||
</form> | ||
</div> | ||
<div class="col-md-2"></div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<br> |
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,26 @@ | ||
<div class="box-segundario"> | ||
<h3 class="text-center">Agregar Cargo<hr></h3> | ||
<div class="panel panel-success"> | ||
<div class="panel-heading"> | ||
<he class="panel-title">Agregar un nuevo cargo</he> | ||
</div> | ||
<div class="panel-body"> | ||
<div class="row"> | ||
<div class="col-md-2"></div> | ||
<div class="col-md-8"> | ||
<form action="" class="form-horizontal" method="POST" enctype="multipart/from-data"> | ||
<div class="form-group"> | ||
<label for="inputDescripcion" class="control-label">Descripcion</label> | ||
<input type="text" class="form-control text-capitalize" name="descripcion" required> | ||
</div> | ||
<div class="form-group"> | ||
<button type="submit" class="btn btn-success">Registrar</button> | ||
<button type="reset" class="btn btn-warning">Borrar</button> | ||
</div> | ||
</form> | ||
</div> | ||
<div class="col-md-2"></div> | ||
</div> | ||
</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 Cargos</h3> | ||
<div class="panel panel-success"> | ||
<div class="panel-heading"> | ||
<h3 class="panel-title">Listado de cargos</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['id']; ?></td> | ||
<td><?php echo $row['nombre']; ?></td> | ||
<td> | ||
<a class="btn btn-warning btn-sm" href="<?php echo URL; ?>cargo/editar/<?php echo $row['id']; ?>">Editar</a> | ||
<a class="btn btn-danger btn-sm" href="<?php echo URL; ?>cargo/eliminar/<?php echo $row['id']; ?>">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,26 @@ | ||
<div class="box-segundario"> | ||
<h3 class="text-center">Agregar Herramienta<hr></h3> | ||
<div class="panel panel-success"> | ||
<div class="panel-heading"> | ||
<he class="panel-title">Agregar una nueva herramienta</he> | ||
</div> | ||
<div class="panel-body"> | ||
<div class="row"> | ||
<div class="col-md-2"></div> | ||
<div class="col-md-8"> | ||
<form action="" class="form-horizontal" method="POST" enctype="multipart/from-data"> | ||
<div class="form-group"> | ||
<label for="inputDescripcion" class="control-label">Descripcion</label> | ||
<input type="text" class="form-control" name="descripcion" required> | ||
</div> | ||
<div class="form-group"> | ||
<button type="submit" class="btn btn-success">Registrar</button> | ||
<button type="reset" class="btn btn-warning">Borrar</button> | ||
</div> | ||
</form> | ||
</div> | ||
<div class="col-md-2"></div> | ||
</div> | ||
</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,26 @@ | ||
<div class="box-segundario"> | ||
<h3 class="text-center">Agregar Institución<hr></h3> | ||
<div class="panel panel-success"> | ||
<div class="panel-heading"> | ||
<he class="panel-title">Agregar una nueva institución</he> | ||
</div> | ||
<div class="panel-body"> | ||
<div class="row"> | ||
<div class="col-md-2"></div> | ||
<div class="col-md-8"> | ||
<form action="" class="form-horizontal" method="POST" enctype="multipart/from-data"> | ||
<div class="form-group"> | ||
<label for="inputDescripcion" class="control-label">Descripcion</label> | ||
<input type="text" class="form-control" name="descripcion" required> | ||
</div> | ||
<div class="form-group"> | ||
<button type="submit" class="btn btn-success">Registrar</button> | ||
<button type="reset" class="btn btn-warning">Borrar</button> | ||
</div> | ||
</form> | ||
</div> | ||
<div class="col-md-2"></div> | ||
</div> | ||
</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,26 @@ | ||
<div class="box-segundario"> | ||
<h3 class="text-center">Agregar Municipio<hr></h3> | ||
<div class="panel panel-success"> | ||
<div class="panel-heading"> | ||
<he class="panel-title">Agregar una nueva municipio</he> | ||
</div> | ||
<div class="panel-body"> | ||
<div class="row"> | ||
<div class="col-md-2"></div> | ||
<div class="col-md-8"> | ||
<form action="" class="form-horizontal" method="POST" enctype="multipart/from-data"> | ||
<div class="form-group"> | ||
<label for="inputDescripcion" class="control-label">Nombre</label> | ||
<input type="text" class="form-control" name="nombre" required> | ||
</div> | ||
<div class="form-group"> | ||
<button type="submit" class="btn btn-success">Registrar</button> | ||
<button type="reset" class="btn btn-warning">Borrar</button> | ||
</div> | ||
</form> | ||
</div> | ||
<div class="col-md-2"></div> | ||
</div> | ||
</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,34 @@ | ||
<div class="box-segundario"> | ||
<h3 class="text-center">Agregar Parroquia<hr></h3> | ||
<div class="panel panel-success"> | ||
<div class="panel-heading"> | ||
<he class="panel-title">Agregar una nueva parroquia</he> | ||
</div> | ||
<div class="panel-body"> | ||
<div class="row"> | ||
<div class="col-md-2"></div> | ||
<div class="col-md-8"> | ||
<form action="" class="form-horizontal" method="POST" enctype="multipart/from-data"> | ||
<div class="form-group"> | ||
<label for="inputidMunicipio" class="control-label">Municipio</label> | ||
<select name="idMunicipio" class="form-control"> | ||
<?php while($row = mysqli_fetch_array($datos)){ ?> | ||
<option value="<?php echo $row['idMunicipio']; ?>"><?php echo $row['municipio']; ?></option> | ||
<?php } ?> | ||
</select> | ||
</div> | ||
<div class="form-group"> | ||
<label for="inputDescripcion" class="control-label">Nombre</label> | ||
<input type="text" class="form-control" name="nombre" required> | ||
</div> | ||
<div class="form-group"> | ||
<button type="submit" class="btn btn-success">Registrar</button> | ||
<button type="reset" class="btn btn-warning">Borrar</button> | ||
</div> | ||
</form> | ||
</div> | ||
<div class="col-md-2"></div> | ||
</div> | ||
</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 Parroquias</h3> | ||
<div class="panel panel-success"> | ||
<div class="panel-heading"> | ||
<h3 class="panel-title">Listado de parroquias</h3> | ||
</div> | ||
<div class="panel-body"> | ||
<table class="table table-striped table-hover"> | ||
<thead> | ||
<tr> | ||
<th>Id</th> | ||
<th>Municipio</th> | ||
<th>Parroquia</th> | ||
<th>Acciones</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<?php while($row = mysqli_fetch_array($datos)){ ?> | ||
<tr> | ||
<td><?php echo $row['id']; ?></td> | ||
<td><?php echo $row['municipio']; ?></td> | ||
<td><?php echo $row['nombre']; ?></td> | ||
<td> | ||
<a class="btn btn-warning btn-sm" href="<?php echo URL; ?>parroquia/editar/<?php echo $row['id']; ?>">Editar</a> | ||
<a class="btn btn-danger btn-sm" href="<?php echo URL; ?>parroquia/eliminar/<?php echo $row['id']; ?>">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,26 @@ | ||
<div class="box-segundario"> | ||
<h3 class="text-center">Agregar Cargo<hr></h3> | ||
<div class="panel panel-success"> | ||
<div class="panel-heading"> | ||
<he class="panel-title">Agregar un nuevo cargo</he> | ||
</div> | ||
<div class="panel-body"> | ||
<div class="row"> | ||
<div class="col-md-2"></div> | ||
<div class="col-md-8"> | ||
<form action="" class="form-horizontal" method="POST" enctype="multipart/from-data"> | ||
<div class="form-group"> | ||
<label for="inputDescripcion" class="control-label">Descripcion</label> | ||
<input type="text" class="form-control text-capitalize" name="descripcion" required> | ||
</div> | ||
<div class="form-group"> | ||
<button type="submit" class="btn btn-success">Registrar</button> | ||
<button type="reset" class="btn btn-warning">Borrar</button> | ||
</div> | ||
</form> | ||
</div> | ||
<div class="col-md-2"></div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> |
Oops, something went wrong.