<?xml version="1.0" encoding="ISO-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://w...content-available-to-author-only...3.org/TR/html4/loose.dtd"> <html xmlns="http://w...content-available-to-author-only...3.org/1999/xhtml" xmlns:h="http://j...content-available-to-author-only...n.com/jsf/html" xmlns:f="http://j...content-available-to-author-only...n.com/jsf/core" xmlns:ui="http://j...content-available-to-author-only...n.com/jsf/facelets" xmlns:p="http://p...content-available-to-author-only...s.org/ui"> <h:head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/> <link rel="stylesheet" type="text/css" href="css/loginstyle.css" /> <title>Login</title> </h:head> <h:body > <h1> Carona Social </h1> <h:form> <h:panelGrid columns="2" cellpadding="6"> <h:outputLabel for="username" value="Username:" /> <p:inputText value="#{sistemaBean.username}" id="username" required="true" label="username" /> <h:outputLabel for="password" value="Password:" /> <p:password id="password" value="#{sistemaBean.password}" feedback="true"/> <f:facet name="footer"> <p:commandButton id="loginButton" value="Login" actionListener="#{sistemaBean.valida}" style="margin-left:80px; margin-top:10px;" /> <p:commandButton id="showCadastraDialog" value="Cadastrar" onclick="PF('dlg').show()" style="margin-left:50px;" /> </f:facet> </h:panelGrid> <p:dialog header="Enter FirstName" widgetVar="dlg" resizable="false"> <h:form id="form"> <h:panelGrid columns="2" style="margin-bottom:10px"> <h:outputLabel id="firstname" value="Firstname:" /> </h:panelGrid> <p:commandButton id="submitButton" value="Submit" oncomplete="PF('dlg').hide();"/> </h:form> </p:dialog> </h:form> </h:body> </html>
<?xml version="1.0" encoding="ISO-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://w...content-available-to-author-only...3.org/TR/html4/loose.dtd"> <html xmlns="http://w...content-available-to-author-only...3.org/1999/xhtml" xmlns:h="http://j...content-available-to-author-only...n.com/jsf/html" xmlns:f="http://j...content-available-to-author-only...n.com/jsf/core" xmlns:ui="http://j...content-available-to-author-only...n.com/jsf/facelets" xmlns:p="http://p...content-available-to-author-only...s.org/ui"> <h:head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/> <link rel="stylesheet" type="text/css" href="css/loginstyle.css" /> <title>Login</title> </h:head> <h:body > <h1> Carona Social </h1> <h:form> <h:panelGrid columns="2" cellpadding="6"> <h:outputLabel for="username" value="Username:" /> <p:inputText value="#{sistemaBean.username}" id="username" required="true" label="username" /> <h:outputLabel for="password" value="Password:" /> <p:password id="password" value="#{sistemaBean.password}" feedback="true"/> <f:facet name="footer"> <p:commandButton id="loginButton" value="Login" actionListener="#{sistemaBean.valida}" style="margin-left:80px; margin-top:10px;" /> <p:commandButton id="showCadastraDialog" value="Cadastrar" onclick="PF('dlg').show()" style="margin-left:50px;" /> </f:facet> </h:panelGrid> <p:dialog header="Enter FirstName" widgetVar="dlg" resizable="false"> <h:form id="form"> <h:panelGrid columns="2" style="margin-bottom:10px"> <h:outputLabel id="firstname" value="Firstname:" /> </h:panelGrid> <p:commandButton id="submitButton" value="Submit" oncomplete="PF('dlg').hide();"/> </h:form> </p:dialog> </h:form> </h:body> </html>