]> git.mxchange.org Git - addressbook-war.git/blob - web/WEB-INF/templates/base.tpl
fixed copyright and added stuff for localization support (unfinished)
[addressbook-war.git] / web / WEB-INF / templates / base.tpl
1 <?xml version="1.0" encoding="UTF-8" ?>
2 <html
3         lang="#{localization.locale.language}" xml:lang="#{localization.locale.language}"
4         xmlns="http://www.w3.org/1999/xhtml"
5         xmlns:h="http://java.sun.com/jsf/html"
6         xmlns:ui="http://java.sun.com/jsf/facelets"
7         xmlns:f="http://xmlns.jcp.org/jsf/core">
8
9         <h:head>
10                 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
11
12                 <f:loadBundle var="msg" basename="org.mxchange.localization.bundle" />
13                 <f:view locale="#{localization.locale}" />
14
15                 <h:outputStylesheet name="/css/default.css" />
16                 <h:outputStylesheet name="/css/cssLayout.css" />
17
18                 <title>Addressbook - <ui:insert name="title">Default title</ui:insert></title>
19         </h:head>
20
21         <h:body>
22                 <div id="top">
23                         <div id="header">
24                                 <div id="title">
25                                         <h1>Addressbook - <ui:insert name="title">Default title</ui:insert></h1>
26                                 </div>
27                         </div>
28                 </div>
29
30                 <div id="menu_content">
31                         <div id="left">
32                                 <ui:insert name="menu">Default menu</ui:insert>
33                         </div>
34
35                         <div id="content_outer" class="left_content">
36                                 <div id="content_header">
37                                         <ui:insert name="content_header">Default content header</ui:insert>
38                                 </div>
39
40                                 <div id="content">
41                                         <ui:insert name="content">Default content</ui:insert>
42                                 </div>
43                         </div>
44
45                         <div class="clear"></div>
46                 </div>
47
48                 <div id="footer">
49                         <ui:insert name="footer">Default footer</ui:insert>
50                 </div>
51         </h:body>
52 </html>