layout-template.xhtml 2.11 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" />
michael.simon's avatar
michael.simon committed
21
22
23
    <title>#{title}</title>
  </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" />
  
michael.simon's avatar
michael.simon committed
27
28
29
30
  <h:outputStylesheet name="css/${bwreg.css}"/>
  <h:outputScript library="javax.faces" name="jsf.js" target="head"/>
  
</h:head>
31
32
33
34
35
36
37
38
39
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>
	    <section class="stage stage-small"><img src="#{resource['img/regapp.jpg']}" alt="#{headBarBean.appTitle}" loading="lazy"/>
    	    <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
45
			</div>
46
47
48
49
50
51
52
53
54
55
56
57
58
59
		</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
60
61
		</div>
	</div>
62
 	-->
michael.simon's avatar
michael.simon committed
63
64
65
66
</h:body>

</f:view>
</html>