Skip to content
Snippets Groups Projects
Unverified Commit f72b8c91 authored by Wilson de Farias's avatar Wilson de Farias
Browse files

Adicionados arquivos de layout

parent e2634caf
No related branches found
No related tags found
No related merge requests found
<ui:composition
xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://xmlns.jcp.org/jsf/html"
xmlns:ui="http://java.sun.com/jsf/facelets">
<h:form>
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse"
data-target=".navbar-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<h:commandLink action="/index" value="CRUD JSF Web 2"
styleClass="navbar-brand"/>
</div>
<div class="navbar-collapse collapse">
<ul class="nav navbar-nav navbar-right">
<li>
<h:commandLink action="/funcionario/index" value="Funcionario"/>
</li>
</ul>
</div>
</div>
</div>
</h:form>
</ui:composition>
\ No newline at end of file
<!DOCTYPE html>
<html lang="pt-br"
xmlns:a ="http://xmlns.jcp.org/jsf/passthrough"
xmlns:c ="http://xmlns.jcp.org/jsp/jstl/core"
xmlns:f ="http://xmlns.jcp.org/jsf/core"
xmlns:h ="http://xmlns.jcp.org/jsf/html"
xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
xmlns="http://www.w3.org/1999/xhtml">
<h:head>
<meta charset="UTF-8"/>
<title><ui:insert name="title">Encryption Bean</ui:insert></title>
<link rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"/>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
</h:head>
<h:body>
<!-- Barra de navegação-->
<ui:include src="header.xhtml"/>
<div class="container"
style="margin-top:60px;"><ui:insert name="content">Conteúdo padrão</ui:insert></div>
<!--<ui:include src="footer.xhtml"/>-->
</h:body>
</html>
\ No newline at end of file
<ui:composition template="/WEB-INF/template/layout.xhtml"
xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets">
<ui:define name="title">Encryption Bean - Página inicial</ui:define>
<ui:define name="content">
<h1>Bem-vindo, use o menu superior para navegar.</h1>
</ui:define>
</ui:composition>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment