]> git.mxchange.org Git - jjobs-war.git/blob - web/WEB-INF/templates/base.tpl
Please cherry-pick:
[jjobs-war.git] / web / WEB-INF / templates / base.tpl
1 <?xml version="1.0" encoding="UTF-8" ?>
2 <ui:composition xmlns="http://www.w3.org/1999/xhtml"
3                                 xmlns:f="http://java.sun.com/jsf/core"
4                                 xmlns:h="http://java.sun.com/jsf/html"
5                                 xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
6
7         <h:doctype rootElement="html" public="-//W3C//DTD XHTML 1.0 Transitional//EN" system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"/>
8         <html lang="#{localizationController.language}" xml:lang="#{localizationController.language}" xmlns="http://www.w3.org/1999/xhtml">
9                 <ui:insert name="metadata" />
10
11                 <h:head>
12                         <meta http-equiv="Content-Type" content="text/htmlcharset=UTF-8" />
13
14                         <f:loadBundle var="msg" basename="org.mxchange.localization.bundle" />
15
16                         <h:outputStylesheet name="/css/default.css" />
17                         <h:outputStylesheet name="/css/cssLayout.css" />
18
19                         <title>
20                                 <h:outputText value="JJobs" />
21                                 <h:outputText value=" - " />
22                                 <ui:insert name="title">
23                                         <h:outputText value="Default title" />
24                                 </ui:insert>
25                         </title>
26                 </h:head>
27
28                 <h:body>
29                         <f:view locale="#{localizationController.locale}" contentType="text/html">
30                                 <div id="top">
31                                         <div id="page_header">
32                                                 <div id="page_title">
33                                                         <h1>
34                                                                 <h:outputText value="JJobs" />
35                                                                 <h:outputText value=" - " />
36                                                                 <ui:insert name="title">
37                                                                         <h:outputText value="Default title" />
38                                                                 </ui:insert>
39                                                         </h1>
40                                                 </div>
41                                         </div>
42                                 </div>
43
44                                 <h:panelGroup id="menu_content" layout="block">
45                                         <div id="left">
46                                                 <ui:insert name="menu">Default menu</ui:insert>
47                                                 <ui:include src="/WEB-INF/templates/generic/locale_selection_box.tpl" />
48                                         </div>
49
50                                         <h:panelGroup id="content_outer" class="left_content" layout="block">
51                                                 <div id="content_header">
52                                                         <ui:insert name="content_header">Default content header</ui:insert>
53                                                 </div>
54
55                                                 <div id="content">
56                                                         <ui:insert name="content">Default content</ui:insert>
57                                                 </div>
58                                         </h:panelGroup>
59
60                                         <div class="clear"></div>
61                                 </h:panelGroup>
62
63                                 <h:panelGroup id="page_footer" layout="block">
64                                         <ui:insert name="footer">Default footer</ui:insert>
65                                 </h:panelGroup>
66
67                                 <h:panelGroup styleClass="error_container" layout="block">
68                                         <h:messages showDetail="true" errorClass="errors" fatalClass="errors" warnClass="errors" />
69                                 </h:panelGroup>
70                         </f:view>
71                 </h:body>
72         </html>
73 </ui:composition>