Initial import.
[simdecs_seam.git] / SimDeCS / WebContent / layout / template.xhtml
diff --git a/SimDeCS/WebContent/layout/template.xhtml b/SimDeCS/WebContent/layout/template.xhtml
new file mode 100644 (file)
index 0000000..23c3caa
--- /dev/null
@@ -0,0 +1,39 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<f:view xmlns="http://www.w3.org/1999/xhtml"
+   xmlns:ui="http://java.sun.com/jsf/facelets"
+   xmlns:f="http://java.sun.com/jsf/core"
+   xmlns:h="http://java.sun.com/jsf/html"
+   xmlns:a="http://richfaces.org/a4j"
+   xmlns:s="http://jboss.com/products/seam/taglib"
+   contentType="text/html">
+<html>
+   <head>
+         <meta http-equiv="Pragma" content="no-cache"/>
+      <meta http-equiv="Expires" content="-1"/>
+      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
+      <title>SimDeCS</title>
+      <link rel="shortcut icon" href="#{request.contextPath}/favicon.ico"/>
+      <a:loadStyle src="/stylesheet/theme.xcss"/>
+      <a:loadStyle src="/stylesheet/theme.css"/>
+      <ui:insert name="head"/>
+   </head>
+   <body>
+      <ui:include src="menu.xhtml">
+         <ui:param name="projectName" value="SimDeCS"/>
+      </ui:include>
+      <div class="body">
+         <h:messages id="messages" globalOnly="true" styleClass="message"
+            errorClass="errormsg" infoClass="infomsg" warnClass="warnmsg"
+            rendered="#{showGlobalMessages != 'false'}"/>
+         <ui:insert name="body"/>
+      </div>
+      <div class="footer">
+         <p>Desenvolvido pela <a href="http://www.ufcspa.edu.br">UFCSPA</a>- Universidade Federal de Ciências da Saúde de Porto Alegre </p>
+         <s:fragment rendered="#{init.debug}">
+         <a:log hotkey="D"/>
+        </s:fragment>
+      </div>
+   </body>
+</html>
+</f:view>