Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?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:ui="http://xmlns.jcp.org/jsf/facelets"
- xmlns:h="http://xmlns.jcp.org/jsf/html"
- xmlns:f="http://xmlns.jcp.org/jsf/core"
- xmlns:a="http://xmlns.jcp.org/jsf/passthrough" xmlns:p="http://primefaces.org/ui">
- <h:head>
- <title>Login</title>
- </h:head>
- <h:body>
- <p:messages id="messages" showDetail="true" closable="true" showIcon="false">
- <p:autoUpdate />
- </p:messages>
- <p:ajaxStatus oncomplete="setTimeout(function() { $('.ui-messages').slideUp(); }, 5000)" />
- <div class="login-form-container">
- <h:graphicImage library="img" name="login-logo.jpg" class="login-logo" width="30%"/>
- <h:form class="login-form">
- <h:inputText class="login-form-input"
- value="#{loginBean.username}"
- required="true"
- requiredMessage="Insira seu usuário"
- a:autofocus="true"
- a:placeholder="Usuário"/>
- <h:inputSecret class="password-form-input"
- value="#{loginBean.senha}"
- required="true"
- requiredMessage="A senha não pode ser em branco"
- a:placeholder="Senha"/>
- <div class="remember-forgot-password">
- <div class="keep-connected-checkbox">
- <h:selectBooleanCheckbox/> Manter conectado
- </div>
- <h:link outcome="password-reset.xhtml" value="Esqueceu sua senha?" class="forgot-password"/>
- </div>
- <div class="login-buttons">
- <h:commandButton action="#{loginBean.login}" type="submit" value="ENTRAR">
- <f:ajax execute="@form" render="@form"/>
- </h:commandButton>
- <h:button onclick="" value="CADASTRE-SE"/>
- </div>
- </h:form>
- </div>
- <ui:insert>
- <ui:include src="resources/base.xhtml"/>
- </ui:insert>
- </h:body>
- <h:outputStylesheet library="css" name="login.css"/>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement