<%@include file="/jsp/common/defaultTopLogin.jsp"%>

<style>
<!--
span.rojos {
	color:red;
}
-->
</style>

<script src="${contextPath}/js/common/perfil/perfilService.js?v=${versionJS}"></script>
	<script src="${contextPath}/js/common/perfil/perfilController.js?v=${versionJS}"></script>
	<script>
		$().ready(function() {
			var perfilController = new PerfilController();
			perfilController.ejecutarPerfil('-1');
		});
	</script>
<script src="${contextPath}/js/dda/admin/usuarios/perfiles/usuarioPerfil.js?v=${versionJS}"></script>


<div class="form-group">
	<div class="col-sm-6">
			<h3>Actualizaci&oacute;n de datos </h3>
	</div>	
</div>

<form class="form-horizontal" autocomplete="off">

	<div class="form-group">
		<label class="col-sm-3 control-label" for="inputExpediente">Expediente: </label>
		<div class="col-sm-2">
			<input type="text" class="form-control" id="inputExpediente" name="inputExpediente" value="${usuario.expediente}" disabled>
		</div>
	</div>
	
	<div class="form-group">
		<label class="col-sm-3 control-label" for="inputNombre">Nombre: </label>
		<div class="col-sm-3">
			<input type="text" class="form-control" id="inputNombre" name="inputNombre" value="${usuario.paterno} ${usuario.materno} ${usuario.nombre}" disabled>
		</div>
	</div>
	
	<div class="form-group">
		<label class="col-sm-3 control-label" for="inputCorreo">Correo electr&oacute;nico: </label>
		<div class="col-sm-3">
			<input type="text" autocomplete="off" class="form-control" id="inputCorreo" name="inputCorreo" value="${usuario.email}">
		</div>
		<div class="col-sm-1"> <button type="button" class="btn btn-primary" id="buttonCorreo" name="buttonCorreo">Cambiar Correo</button></div>
	</div>
	
	<div class="form-group">
		<label class="col-sm-3 control-label" for="inputNuevaContrasena">Nueva Contrase&ntilde;a: </label>
		<div class="col-sm-3">
			<input type="password" autocomplete="off" class="form-control" id="inputNuevaContrasena" name="inputNuevaContrasena" maxlength="15">
		</div>
	</div>
	
	<div class="form-group">
		<label class="col-sm-3 control-label" for="inputConfirmarContrasena">Confirmar nueva contrase&ntilde;a: </label>
		<div class="col-sm-3">
			<input type="password" autocomplete="off" class="form-control" id="inputConfirmarContrasena" name="inputConfirmarContrasena" maxlength="15">
		</div>
		<div class="col-sm-1"> <button type="button" class="btn btn-primary" id="buttonContrasena" name="buttonContrasena" >Actualizar Contrase&ntilde;a</button></div>
	</div>
	
	<div class="form-group">
	<div class="col-sm-3"></div>
	<div class="col-sm-3">
		<ul>
			<li><span id="sminimo">M&iacute;nimo 8 caracteres</span></li>
			<li><b>Se sugiere incluir:</b></li>
			<li><span id="sletra">Al menos una letra may&uacute;scula</span></li>
			<li><span id="snumero">Al menos un n&uacute;mero</span></li>
			<li><span id="scaracter">Al menos un caracter especial [$ # @]</span></li>
		</ul>
	</div>
	</div>

</form>

<%@include file="/jsp/common/defaultBottomLogin.jsp"%>