Guest User

Untitled

a guest
Jun 17th, 2019
158
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 1.14 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  3. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  4. <html xmlns="http://www.w3.org/1999/xhtml"
  5.     xmlns:f="http://java.sun.com/jsf/core"
  6.     xmlns:h="http://java.sun.com/jsf/html"
  7.     xmlns:p="http://primefaces.org/ui">
  8. <h:head>
  9.     <title>Login</title>
  10.     <link rel="stylesheet" href="../css/reset.css" />
  11.     <link rel="stylesheet" href="../css/bootstrap.css" />
  12.     <link rel="stylesheet" href="../css/index-style.css" />
  13.     <link rel="stylesheet" href="../css/register-style.css" />
  14. </h:head>
  15. <h:body>
  16.     <h:form>
  17.         <p:outputPanel styleClass="center-container">
  18.             <p:outputPanel styleClass="input-container">
  19.                 <p:outputLabel>Insira o nome do usuário:</p:outputLabel>
  20.                 <p:inputText value="#{userBean.nome}" />
  21.                 <p:outputLabel>Insira a senha do usuário:</p:outputLabel>
  22.                 <p:inputText value="#{userBean.senha}" />
  23.                 <p:outputPanel styleClass="button-container">
  24.                     <p:commandButton value="Entrar"
  25.                         actionListener="#{userBean.loginUser}" />
  26.                 </p:outputPanel>
  27.             </p:outputPanel>
  28.         </p:outputPanel>
  29.     </h:form>
  30. </h:body>
  31. </html>
Advertisement
Add Comment
Please, Sign In to add comment