default-template.xhtml 3.5 KB
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	 xmlns:h="http://java.sun.com/jsf/html"
 	xmlns:f="http://java.sun.com/jsf/core"
        xmlns:tools="http://java.sun.com/jsf/composite/tools"
 	xmlns:ui="http://java.sun.com/jsf/facelets">
<f:view locale="#{userView.locale}">
<h:head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title><ui:insert name="title">Default title</ui:insert></title>
  <!-- **** layout stylesheet **** -->
  <link rel="stylesheet" type="text/css" href="#{request.contextPath}/resources/style/style.css" />

  <!-- **** colour scheme stylesheet **** -->
  <link rel="stylesheet" type="text/css" href="#{request.contextPath}/resources/style/green.css" />
</h:head>
<h:body>
  <div id="main">
    <div id="links">
      <!-- **** INSERT LINKS HERE **** -->
        <ui:insert name="somelinks">
          <a href="http://www.insomnia.fi">www.insomnia.fi</a>    <tools:loginLogout />
    	</ui:insert>
    </div>
    <div id="logo"><h1><ui:insert name="globaltitle">Lan Bortal</ui:insert></h1></div>
    <div id="menu">
    		<ui:insert name="toplinks"><ui:include src="/layout/toplinks.xhtml" /></ui:insert>
    
    </div>
    <div id="content">
      <div id="column1">
      <div class="sidebaritem">
          <div class="sbihead">
            <h1>additional links</h1>
          </div>
          <div class="sbilinks">
            <!-- **** INSERT ADDITIONAL LINKS HERE **** -->
           <ui:insert name="sidelinks">
            <ul>
              <li><a href="http://www.openwebdesign.org">open web design</a></li>
              <li><a href="http://www.w3schools.com/xhtml/default.asp">learn XHTML</a></li>
              <li><a href="http://www.w3schools.com/css/default.asp">learn CSS</a></li>
              <li><a href="http://www.mozilla.com/firefox">get firefox</a></li>
            </ul>
            </ui:insert>
          </div>
        </div>
        <div class="sidebaritem">
          <div class="sbihead">
            <h1>latest news</h1>
          </div>
          <div class="sbicontent">
            <!-- **** INSERT NEWS ITEMS HERE **** -->
            <h2>01.09.2006</h2>
            <p>This is where you can put your latest news.</p>
            <p><a href="#">read more ...</a></p>
            <p></p>
            <p></p>
            <h2>01.09.2006</h2>
            <p>This is where you can put your latest news.</p>
            <p><a href="#">read more ...</a></p>
          </div>
        </div>
        
        <div class="sidebaritem">
          <div class="sbihead">
            <h1>other information</h1>
          </div>
          <div class="sbicontent">
            <!-- **** INSERT OTHER INFORMATION HERE **** -->
            <p>
              This space can be used for additional information such as a contact phone number, address
              or maybe even a graphic.
            </p>
          </div>
        </div>
      </div>
      <div id="column2">
    	<h:messages globalOnly="true"/>

    
           <ui:insert name="content">
			Default content..
        </ui:insert>
      </div>
    </div>
    <div id="footer">
      copyright &copy; Insomnia Ry, Stream Ry, Vector Ry | <a href="#">email@emailaddress</a> | <a href="http://validator.w3.org/check?uri=referer">XHTML 1.1</a> | <a href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a> | <a href="http://www.dcarter.co.uk">design by dcarter</a>
    </div>
  </div>
</h:body>
</f:view>
</html>