<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://xmlns.jcp.org/jsf/html"
      xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
      xmlns:f="http://xmlns.jcp.org/jsf/core">
<f:view contentType="text/html">
    <h:head>
        <meta charset="UTF-8"/>
        <title>RotanaReg Skolan #{pageTitel} </title>
        <h:outputStylesheet library="skolan" name="/css/style.css"/>
        <h:outputStylesheet library="skolan" name="/theme/blueheven.css"/>
    </h:head>

    <h:body>
      <ui:include src="header_template.xhtml"/>
        <nav>
            <h:link styleClass="menuItem" value="Home" outcome="index"/>
        <span class="text_grey"> | </span>
        <h:link styleClass="menuItem" value="Admin" outcome="admin"/>
        <span class="text_grey"> | </span>
        <h:link styleClass="menuItem" value="Student" outcome="student"/>
        <span class="text_grey"> | </span>
        <h:link styleClass="menuItem" value="Teacher" outcome="teacher"/>
        </nav>
        <ui:insert name="panel-top">
            <section>
               <p>Hej<h:outputLink value="signIn.xhtml"></h:outputLink></p>
            </section>
        </ui:insert>

        <ui:insert name="panel-main">
            <section>
                <h1>Main Panel</h1>
                <p>Placeholder text.</p> <!--används bara en content för panel main inte är specifierad i relevant page-->
            </section>
        </ui:insert>
        <ui:include src="footer_template.xhtml"/>
    </h:body>
</f:view>
</html>
