layout-template-kit.xhtml 1.31 KB
Newer Older
michael.simon's avatar
michael.simon committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
		"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
		xmlns:f="http://java.sun.com/jsf/core"
		xmlns:h="http://java.sun.com/jsf/html"
		xmlns:ui="http://java.sun.com/jsf/facelets">

<f:view contentType="text/html" locale="#{sessionManager.locale != null ? sessionManager.locale : ''}">

<h:head>
  
  <ui:insert name="metadata"/>
  
  <f:facet name="first">
16
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
michael.simon's avatar
michael.simon committed
17
18
19
20
21
22
23
24
25
    <title>#{title}</title>
  </f:facet>

  <h:outputStylesheet name="css/${bwreg.css}"/>
  <h:outputScript library="javax.faces" name="jsf.js" target="head"/>
  
</h:head>
<h:body>
	<div id="wrapper">
michael.simon's avatar
michael.simon committed
26
27

		<ui:insert name="header">Default header</ui:insert>
michael.simon's avatar
michael.simon committed
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
		
		<div class="spacer"></div>
		
		<div id="container">
			<div id="sidebar">
				<ui:insert name="left_sidebar">Default left side bar</ui:insert>
			</div>
			<div id="content" class="ui-widget">
				<ui:insert name="content">Default content</ui:insert>
			</div>
			<div class="clear"></div>
			<div id="footer-container">
				<div class="spacer"></div>
				<ui:insert name="footer">Default footer</ui:insert>
			</div>
		</div>
	</div>
</h:body>

</f:view>
</html>