Skip to content
This repository has been archived by the owner on Jun 13, 2023. It is now read-only.

Commit

Permalink
Vistas de Agregar y Listar ademas de la de editar cargo #3
Browse files Browse the repository at this point in the history
  • Loading branch information
fernandoparada18 committed Feb 22, 2016
1 parent db211b6 commit 9edea62
Show file tree
Hide file tree
Showing 19 changed files with 570 additions and 0 deletions.
26 changes: 26 additions & 0 deletions views/cargo/agregar.php
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>
27 changes: 27 additions & 0 deletions views/cargo/editar.php
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>
31 changes: 31 additions & 0 deletions views/cargo/index.php
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>
51 changes: 51 additions & 0 deletions views/docente/agregar.php
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>
26 changes: 26 additions & 0 deletions views/frecuenciagua/agregar.php
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>
31 changes: 31 additions & 0 deletions views/frecuenciagua/index.php
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>
26 changes: 26 additions & 0 deletions views/herramienta/agregar.php
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>
26 changes: 26 additions & 0 deletions views/institucion/agregar.php
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>
26 changes: 26 additions & 0 deletions views/municipio/agregar.php
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>
34 changes: 34 additions & 0 deletions views/municipioescolar/agregar.php
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>
33 changes: 33 additions & 0 deletions views/municipioescolar/index.php
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>
26 changes: 26 additions & 0 deletions views/origenagua/agregar.php
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>
Loading

0 comments on commit 9edea62

Please sign in to comment.