<?php
  $page_title = 'AGREGAR UBICACION';
  require_once('../../includes/load.php');
  // Checkin What level user has permission to view this page
  page_require_level(5);
?>
<?php include_once('../../layouts/header.php'); ?>
<div class="row">
  <div class="col-md-12">
    <?php echo display_msg($msg); ?>
  </div>
</div>
  <div class="row">
  <div class="col-md-16">
      <div class="panel panel-default">
 <!-- FORMULARIO PARA GUARDAR EL PROGRAMA-->
        <form  enctype="multipart/form-data" autocomplete="off" id="form" onSubmit="validar()">
           <div class="container pt-1 mt-1 animated fadeIn" >
			    <div class="row pt-4">
			      <div class="col-12 mb-3">
			        <p class="h1 text-center text-primary font-weight-bold"> Registrar Ubicación <i class="fas fa-user-alt"></i></p>
			      </div>
			    </div> 
			    <div class="row"> 
			      <div class="col-12">
			        <p class="h3 text-primary">Datos Generales <i class="fas fa-user-circle"></i></p>
			      </div>
			      <div class="col-12 col-lg-6"> 
			        <p class="text-primary mb-1">UBICACIÓN</p>
			        <div class="input-group mb-3"> 
			          <div class="input-group-prepend">
			            <span class="input-group-text"><i class="fa-solid fa-location-dot"></i></span>
			          </div>
			          <input maxlength="20"  placeholder="Nombre Ubicación" type="text" id="ubicacion" name="ubicacion" class="form-control is-requerido" required>
			             
			        </div>
			      </div>        
			    </div> 
			    <div class="row">
			      <div class="col-12 col-lg-6">
			        <p class="text-primary mb-1">LATITUD UBICACION</p>
			        <div class="input-group mb-3">
			          <div class="input-group-prepend">
			            <span class="input-group-text"><i class="fa-solid fa-map-location-dot"></i></span>
			          </div>
			          <input placeholder="Latitud" type="text" id="latitud" name="latitud" class="form-control is-requerido" required>
			        </div>
			      </div>
			      
			      
			      <div class="col-12 col-lg-6">
			        <p class="text-primary mb-1">LONGITUD UBICACION</p>
			        <div class="input-group mb-3">
			          <div class="input-group-prepend">
			            <span class="input-group-text"><i class="fa-solid fa-globe"></i></span>
			          </div>
			          <input  type="text" id="longitud" name="longitud" class="form-control is-requerido" placeholder="Longitud" required>
			        </div>
			      </div>
			    </div>    
			    <div class="row mb-4">
			      <div class="col-12">
			        <button class="btn btn-block btn-primary" id="registrar" name="registrar">Registrar Ubicacion</button>
			      </div>
			    </div>
			  </div>
          
        </form>
     </div>
    </div>
  </div>
</div>
</div>




<?php include_once('../../layouts/footer.php'); ?>
<script type="text/javascript" src="js/ubicacion.js"></script>


