Advertisement
Guest User

Untitled

a guest
Sep 4th, 2015
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 1.56 KB | None | 0 0
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml"
  3.      xmlns:h="http://java.sun.com/jsf/html"
  4.      xmlns:f="http://java.sun.com/jsf/core"
  5.      xmlns:ui="http://java.sun.com/jsf/facelets"
  6.      xmlns:p="http://primefaces.org/ui"
  7.      xmlns:pt="http://xmlns.jcp.org/jsf/passthrough">
  8.  
  9.     <f:view contentType="text/html">
  10.         <h:head>
  11.             <f:facet name="first">
  12.                 <meta content='text/html; charset=UTF-8' http-equiv="Content-Type"/>
  13.                 <title>Logowanie</title>
  14.                 <h:outputStylesheet library="css" name="cssFormularz.css"  />    
  15.             </f:facet>
  16.         </h:head>
  17.  
  18.         <h:body style="background: #336699;">
  19.             <section class="contenedorLogin">
  20.                 <h:form class="formulario">
  21.                     <h2>MyTask</h2>
  22.                     <p>Zaloguj się</p>
  23.                     <p:messages />
  24.                     <p><p:inputText placeholder="Login" value="#{accountLoginBean.login}" /></p>
  25.                     <p><p:password placeholder="Hasło" value="#{accountLoginBean.password}" /></p>
  26.                    
  27.                     <section class="seccionBotones">
  28.                         <b><h:link value="Zarejestruj się  " outcome="register" /></b>
  29.                         <h:commandButton id="loginSubmit" value="Zaloguj" action="#{accountBean.loginAction()}" />
  30.                     </section>  
  31.                 </h:form>
  32.             </section>  
  33.         </h:body>
  34.     </f:view>
  35. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement