rafaelvicio

Untitled

Jun 30th, 2016
162
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.15 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml"
  4. xmlns:h="http://xmlns.jcp.org/jsf/html"
  5. xmlns:f="http://xmlns.jcp.org/jsf/core"
  6. xmlns:p="http://primefaces.org/ui"
  7. xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
  8.  
  9. <h:head />
  10. <h:body>
  11. <div id="cabecalho">
  12. <h:graphicImage library="img" name="logo.png" />
  13.  
  14. <p:growl id="messages" showDetail="true" autoUpdate="true" />
  15.  
  16. <h:form rendered="#{usuarioLogado != null}">
  17. <p:menuButton value="Menu">
  18. <p:menuitem value="Home" action="index?faces-redirect=true" icon="fa fa-fw fa-edit" />
  19. <p:menuitem value="Criar Time" action="cadastrarTime?faces-redirect=true" icon="fa fa-fw fa-edit" />
  20. <p:separator />
  21. <p:menuitem value="Logout" action="#{loginBean.deslogar}" icon="fa fa-fw fa-sign-out" />
  22. </p:menuButton>
  23. </h:form>
  24.  
  25. <h1>
  26. <ui:insert name="titulo"></ui:insert>
  27. </h1>
  28. </div>
  29.  
  30. <div id="conteudo">
  31. <ui:insert name="conteudo">
  32. </ui:insert>
  33. </div>
  34. </h:body>
  35.  
  36. </html>
Advertisement
Add Comment
Please, Sign In to add comment