Subversion Repositories WebE

Rev

Rev 20 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
31 PointedEar 1
<%@ taglib uri="http://www.opensymphony.com/sitemesh/decorator"
2
  prefix="decorator"
3
%>
4
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
5
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
15 moos 6
 
20 moos 7
<c:set var="contextPath" value="${pageContext.request.contextPath}" />
8
<c:set var="requestURI" value="${pageContext.request.requestURI}" />
9
<c:set var="isUser" value="${fn:contains(requestURI, '/user/')}" />
10
<c:set var="isAdmin" value="${fn:contains(requestURI, '/admin/')}" />
11
 
31 PointedEar 12
<%@ page pageEncoding="UTF-8"%>
20 moos 13
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
14
 
15
<html xmlns="http://www.w3.org/1999/xhtml">
16
<head>
31 PointedEar 17
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
18
<title>Ontologie - <decorator:title />
19
</title>
20
<link rel="stylesheet" type="text/css"
21
  href="${contextPath}/resources/css/main.css"
22
/>
20 moos 23
</head>
24
<body>
25
 
31 PointedEar 26
  <%--  Only serves as a container for the different site elements!
27
	Do not write any text directly into the page-container div! --%>
28
  <div id="page-container">
29
    <div id="header">
30
      <table width="100%" border="0" cellspacing="0" cellpadding="0"
31
        class="header"
32
      >
33
        <tr>
34
          <td>&nbsp;</td>
35
          <td
36
            style="vertical-align: top; font-size: 12pt; text-align: right;"
37
          >
38
            <div>
39
              <strong>Semantic Web Project</strong><br /> by Michael
40
              Moos<br /> Thomas Lahn
41
            </div></td>
42
          <td width="56" class="no_padding"><img
43
            src="${contextPath}/resources/images/ontology_logo.jpg"
44
            width="56" height="56" alt="logo"
45
          />
46
          </td>
47
        </tr>
48
      </table>
15 moos 49
    </div>
31 PointedEar 50
 
51
    <!-- Load nav bars depending on the location -->
52
    <c:if test="${isUser}">
53
      <div id="navbar">
54
        <%@ include file="/user/nav.jsp"%>
55
      </div>
56
    </c:if>
57
    <c:if test="${isAdmin}">
58
      <div id="navbar">
59
        <%@ include file="/admin/nav.jsp"%>
60
      </div>
61
    </c:if>
62
 
63
    <!-- Content DIV loaded via decorator -->
64
    <div id="content">
65
      <decorator:body />
66
    </div>
67
 
68
  </div>
15 moos 69
</body>
20 moos 70
</html>