]> git.mxchange.org Git - pizzaservice-war.git/blob - web/WEB-INF/templates/base.tpl
It must be a writable property and the class Locale doesn't have it (language)
[pizzaservice-war.git] / web / WEB-INF / templates / base.tpl
1 <?xml version="1.0" encoding="UTF-8" ?>
2 <html
3         lang="#{localization.language}" xml:lang="#{localization.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>Pizza-Service - <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>Pizza-Service - <ui:insert name="title">Default title</ui:insert></h1>
26                                 </div>
27                         </div>
28                 </div>
29
30                 <!--
31                 Mini basket on left side
32                 //-->
33                 <div id="mini_basket">
34                         <ui:insert name="basket" />
35                 </div>
36
37                 <div id="menu_content">
38                         <div id="left">
39                                 <ui:insert name="menu">Default menu</ui:insert>
40                                 <ui:include src="/WEB-INF/templates/generic/locale_selection_box.tpl" />
41                         </div>
42
43                         <div id="content_outer" class="left_content">
44                                 <div id="content_header">
45                                         <ui:insert name="content_header">Default content header</ui:insert>
46                                 </div>
47
48                                 <div id="content">
49                                         <ui:insert name="content">Default content</ui:insert>
50                                 </div>
51                         </div>
52
53                         <div class="clear"></div>
54                 </div>
55
56                 <div id="footer">
57                         <ui:insert name="footer">Default footer</ui:insert>
58                 </div>
59         </h:body>
60 </html>