layout-template.xhtml 2.36 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
25
26
  <link rel="stylesheet" href="https://static.scc.kit.edu/fancybox/dist/jquery.fancybox.min.css" />
  <link rel="stylesheet" href="https://static.scc.kit.edu/kit-2020/fontawesome/css/all.min.css" />
  
27
28
  <link rel="stylesheet" href="#{headBarBean.overrideStdStylesheet}"/>
  <link rel="stylesheet" href="#{headBarBean.stylesheetExtended}"/>
29
  <h:panelGroup rendered="#{not empty headBarBean.stylesheet}">
30
    <link rel="stylesheet" href="#{headBarBean.stylesheet}"/>
31
32
  </h:panelGroup>
  
michael.simon's avatar
michael.simon committed
33
34
35
  <h:outputScript library="javax.faces" name="jsf.js" target="head"/>
  
</h:head>
36
37
38
39
40
<h:body class="oe-page" vocab="http://schema.org/" typeof="WebPage">

	<ui:insert name="header">Default header</ui:insert>
	
    <main>
41
	    <section class="stage stage-small"><img src="#{headBarBean.appImage}" alt="#{headBarBean.appTitle}" loading="lazy"/>
42
43
44
45
46
47
48
49
    	    <div class="content-wrap"><a href="#{headBarBean.appLink}">#{headBarBean.appTitle}</a></div>
        </section>
    
        <section class="content-wrap">
    	    <div class="content">
<!--     	    	<div class="ui-widget text form full fancy"> -->
					<ui:insert name="content">Default content</ui:insert>
<!-- 				</div> -->
michael.simon's avatar
michael.simon committed
50
			</div>
51
52
53
54
55
56
57
58
59
60
61
62
63
64
		</section>
	</main>
    
    <!-- 	    	
	<div id="container">
		<div id="sidebar">
			<ui:insert name="left_sidebar">Default left side bar</ui:insert>
		</div>
		<div id="content" class="ui-widget text form full fancy">
		</div>
		<div class="clear"></div>
		<div id="footer-container">
			<div class="spacer"></div>
			<ui:insert name="footer">Default footer</ui:insert>
michael.simon's avatar
michael.simon committed
65
66
		</div>
	</div>
67
 	-->
michael.simon's avatar
michael.simon committed
68
69
70
71
</h:body>

</f:view>
</html>