layout-template.xhtml 2.1 KB
Newer Older
michael.simon's avatar
michael.simon committed
1
<?xml version="1.0" encoding="UTF-8"?>
2
<!DOCTYPE html>
michael.simon's avatar
michael.simon committed
3
4
5
<html xmlns="http://www.w3.org/1999/xhtml"
		xmlns:f="http://java.sun.com/jsf/core"
		xmlns:h="http://java.sun.com/jsf/html"
6
7
		xmlns:ui="http://java.sun.com/jsf/facelets"
		class="no-js" lang="de-de">
michael.simon's avatar
michael.simon committed
8
9
10
11
12
13

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

<h:head>
  
  <ui:insert name="metadata"/>
14
  
michael.simon's avatar
michael.simon committed
15
  <f:facet name="first">
16
17
18
19
20
    <meta charset="utf-8" />
	<meta http-equiv="X-UA-Compatible" content="IE=edge" />
	<meta name="viewport" content="width=device-width, initial-scale=1.0" />
	<meta name="theme-color" content="#009682" />
	<meta http-equiv="cleartype" content="on" />
21
    <title>#{headBarBean.headerTitle}</title>
michael.simon's avatar
michael.simon committed
22
23
  </f:facet>

24
  <link rel="stylesheet" href="/resources/static/jquery.fancybox.min.css" />
25
26
27
  
	<h:outputStylesheet library="webjars" name="font-awesome/5.12.0/css/all.min-jsf.css" />
	<h:outputStylesheet library="webjars" name="font-awesome/5.12.0/css/v4-shims.min-jsf.css" />
28
  
29
30
  <link rel="stylesheet" href="#{headBarBean.overrideStdStylesheet}"/>
  <link rel="stylesheet" href="#{headBarBean.stylesheetExtended}"/>
31
  <h:panelGroup rendered="#{not empty headBarBean.stylesheet}">
32
    <link rel="stylesheet" href="#{headBarBean.stylesheet}"/>
33
34
  </h:panelGroup>
  
michael.simon's avatar
michael.simon committed
35
36
  <h:outputScript library="javax.faces" name="jsf.js" target="head"/>
  
37
38
  <script src="/resources/static/main.js"></script>
  
michael.simon's avatar
michael.simon committed
39
</h:head>
40
41
42
43
44
<h:body class="oe-page" vocab="http://schema.org/" typeof="WebPage">

	<ui:insert name="header">Default header</ui:insert>
	
    <main>
45
	    <section class="stage stage-small"><img src="#{headBarBean.appImage}" alt="#{headBarBean.appTitle}" loading="lazy"/>
46
47
48
49
50
51
    	    <div class="content-wrap"><a href="#{headBarBean.appLink}">#{headBarBean.appTitle}</a></div>
        </section>
    
        <section class="content-wrap">
    	    <div class="content">
					<ui:insert name="content">Default content</ui:insert>
michael.simon's avatar
michael.simon committed
52
			</div>
53
54
		</section>
	</main>
michael.simon's avatar
michael.simon committed
55
    <button class="to-top-button" aria-label="scroll back to top"></button>   
michael.simon's avatar
michael.simon committed
56
57
58
59
</h:body>

</f:view>
</html>