155 lines
5.6 KiB
XML
Executable File
155 lines
5.6 KiB
XML
Executable File
<?xml version='1.0' encoding='UTF-8' ?>
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml"
|
|
xmlns:h="http://java.sun.com/jsf/html"
|
|
xmlns:f="http://java.sun.com/jsf/core"
|
|
xmlns:p="http://primefaces.org/ui"
|
|
xmlns:pe="http://primefaces.org/ui/extensions">
|
|
<f:view locale="es">
|
|
<h:head>
|
|
<title>SINCOAR</title>
|
|
<link rel="stylesheet" type="text/css"
|
|
href="#{request.contextPath}/javax.faces.resource/css/maia.css.xhtml?v=2" />
|
|
<h:outputScript name="js/maia.js?v=1" />
|
|
<script type="text/javascript">
|
|
$(document).ready(function(){
|
|
$("#formLogin\\:server").val(Maia.IPservidor);
|
|
if (typeof parent.logoutHelper == 'function'){parent.logoutHelper();}
|
|
});
|
|
</script>
|
|
<style>
|
|
body.ui-layout-container {
|
|
background: none !important;
|
|
}
|
|
</style>
|
|
</h:head>
|
|
<h:body>
|
|
|
|
<p:layout fullPage="true">
|
|
<p:layoutUnit position="center">
|
|
<h:form id="formLogin" styleClass="m-form-login">
|
|
<p:messages id="messages" autoUpdate="true" globalOnly="true"
|
|
style="font-size:14px;" />
|
|
<br />
|
|
<br />
|
|
<br />
|
|
<br />
|
|
<br />
|
|
<br />
|
|
|
|
<p:panelGrid columns="1" styleClass="m-filters"
|
|
style="font-size:12px; width:98%;"
|
|
rendered="#{changePassPersonalController.habilitaCampos}">
|
|
<f:facet name="header">
|
|
<h:outputText value="SU CLAVE DE ACCESO HA EXPIRADO" />
|
|
</f:facet>
|
|
|
|
<h:panelGrid columns="2">
|
|
|
|
|
|
<h:panelGrid id="data-content2" columns="2"
|
|
styleClass="m-panel-login-content">
|
|
<p:outputLabel for="oldpassword"
|
|
value="#{msg_general.lbl_previousPassword}:" />
|
|
<p:password id="oldpassword"
|
|
value="#{changePassPersonalController.mfilelds['oldpassword']}"
|
|
maxlength="20" style="width:180px;" required="true" />
|
|
|
|
<p:outputLabel for="newpassword"
|
|
value="#{msg_general.lbl_password}:" />
|
|
<p:password id="newpassword"
|
|
value="#{changePassPersonalController.mfilelds['newpassword']}"
|
|
maxlength="10" style="width:180px;" required="true" />
|
|
|
|
<p:outputLabel for="confirmpassword"
|
|
value="#{msg_general.lbl_confirmpassword}:" />
|
|
<p:password id="confirmpassword"
|
|
value="#{changePassPersonalController.mfilelds['confirmpassword']}"
|
|
maxlength="10" style="width:180px;" required="true" />
|
|
|
|
<p:outputLabel for="mailconfirmation"
|
|
value="#{msg_general.lbl_correo_electronico}:" />
|
|
<p:inputText id="mailconfirmation"
|
|
value="#{changePassPersonalController.mfilelds['email']}"
|
|
style="width:180px;" required="true" disabled="true" />
|
|
|
|
</h:panelGrid>
|
|
<h:panelGrid columns="1"
|
|
style="vertical-align:top; padding-left:2px" cellspacing="2"
|
|
cellpadding="2" styleClass="m-panel-login-content">
|
|
<p:outputLabel
|
|
value="POLÍTICAS DE SEGURIDAD PARA CAMBIAR SU CLAVE"
|
|
style="font-weigth:bold;" />
|
|
<p:outputLabel
|
|
value="Debe tener de 6 a 10 caracteres alfanuméricos." />
|
|
<p:outputLabel
|
|
value="Debe tener mínimo un carácter en letra mayúscula." />
|
|
<p:outputLabel
|
|
value="Debe tener mínimo un carácter en letra minúscula." />
|
|
<p:outputLabel value="Debe tener mínimo un carácter numérico." />
|
|
<p:outputLabel value="Debe tener mínimo un carácter especial" />
|
|
</h:panelGrid>
|
|
</h:panelGrid>
|
|
|
|
</p:panelGrid>
|
|
<br />
|
|
<center>
|
|
<div style="align-content: left; width: 100%;">
|
|
<p:commandButton value="Guardar Cambios" icon="ui-icon-disk"
|
|
action="#{changePassPersonalController.saveUser()}"
|
|
process="@this, data-content2" update="formLogin"
|
|
rendered="#{changePassPersonalController.habilitaCampos}" />
|
|
|
|
<p:commandButton id="cancelButton" value="Cancelar"
|
|
icon=" ui-icon-close"
|
|
actionListener="#{changePassPersonalController.cancelChangePasswd()}"
|
|
process="@this" update="formLogin"
|
|
rendered="#{changePassPersonalController.habilitaCampos}" />
|
|
|
|
|
|
<p:panel rendered="#{!changePassPersonalController.habilitaCampos}" >
|
|
<a href="https://tramitesarmas.ccffaa.mil.ec/frontend/login.xhtml"
|
|
target="_self"
|
|
style="color: white !important; font-size: 25px; font-weight: bold;">
|
|
Ingresar al Sistema </a>
|
|
</p:panel>
|
|
|
|
</div>
|
|
|
|
<br />
|
|
</center>
|
|
</h:form>
|
|
|
|
|
|
<p:dialog id="dialogConf" widgetVar="dialogConf" resizable="false"
|
|
closeOnEscape="false" modal="true" appendTo="@(body)"
|
|
showEffect="explode" hideEffect="explode" closable="false"
|
|
styleClass="m-dialog">
|
|
<f:facet name="header">
|
|
<h:outputText value="CONFIRMACIÓN DE CAMBIO DE CLAVE" />
|
|
</f:facet>
|
|
<h:form id="formParameter">
|
|
<p:messages id="messages" autoUpdate="true" globalOnly="true" />
|
|
<h:panelGrid id="pEdit" columns="1" bodyrows="1">
|
|
<h3>SU CLAVE HA SIDO CAMBIADA EXITOSAMENTE.</h3>
|
|
</h:panelGrid>
|
|
<br />
|
|
<br />
|
|
<div style="align-content: left; width: 100%;">
|
|
<p:commandButton value="Continuar" icon="ui-icon-home"
|
|
action="#{changePassPersonalController.confirmaChangePasswd()}"
|
|
process="@this" update="formParameter"
|
|
oncomplete="PF('dialog').hide()" />
|
|
|
|
</div>
|
|
|
|
</h:form>
|
|
</p:dialog>
|
|
|
|
|
|
</p:layoutUnit>
|
|
</p:layout>
|
|
|
|
</h:body>
|
|
</f:view>
|
|
</html> |