Commit d0d9c6f9 authored by michael.simon's avatar michael.simon
Browse files

fix relative paths, to get it working with templates

Templates don't seem to work with relative paths.
parent 02805fd3
...@@ -8,18 +8,18 @@ ...@@ -8,18 +8,18 @@
<title>Default page</title> <title>Default page</title>
</head> </head>
<body> <body>
<ui:composition template="layout-template-admin.xhtml"> <ui:composition template="/template/layout-template-admin.xhtml">
<ui:define name="header"> <ui:define name="header">
<ui:include src="head-bar-admin.xhtml"/> <ui:include src="/template/head-bar-admin.xhtml"/>
</ui:define> </ui:define>
<ui:define name="left_sidebar"> <ui:define name="left_sidebar">
<ui:include src="left-side-bar-admin.xhtml"/> <ui:include src="/template/left-side-bar-admin.xhtml"/>
</ui:define> </ui:define>
<ui:define name="footer"> <ui:define name="footer">
<ui:include src="footer-admin.xhtml"/> <ui:include src="/template/footer-admin.xhtml"/>
</ui:define> </ui:define>
</ui:composition> </ui:composition>
......
...@@ -9,18 +9,18 @@ ...@@ -9,18 +9,18 @@
<title>Default page</title> <title>Default page</title>
</head> </head>
<body> <body>
<ui:composition template="layout-template.xhtml"> <ui:composition template="/template/layout-template.xhtml">
<ui:define name="header"> <ui:define name="header">
<ui:include src="head-bar.xhtml"/> <ui:include src="/template/head-bar.xhtml"/>
</ui:define> </ui:define>
<ui:define name="left_sidebar"> <ui:define name="left_sidebar">
<ui:include src="left-side-bar.xhtml"/> <ui:include src="/template/left-side-bar.xhtml"/>
</ui:define> </ui:define>
<ui:define name="footer"> <ui:define name="footer">
<ui:include src="footer.xhtml"/> <ui:include src="/template/footer.xhtml"/>
</ui:define> </ui:define>
</ui:composition> </ui:composition>
</body> </body>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment