Rev 31 | 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"%> |
37 | PointedEar | 13 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" |
14 | "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
||
20 | moos | 15 | |
16 | <html xmlns="http://www.w3.org/1999/xhtml"> |
||
37 | PointedEar | 17 | <head> |
18 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
||
19 | <title><decorator:title /> – Ontologie-Editor</title> |
||
20 | <link rel="stylesheet" type="text/css" |
||
21 | href="${contextPath}/resources/css/main.css" |
||
22 | /> |
||
23 | </head> |
||
24 | <body> |
||
25 | <%-- Only serves as a container for the different site elements! |
||
26 | Do not write any text directly into the page-container div! --%> |
||
27 | <div id="page-container"> |
||
28 | <div id="header"> |
||
29 | <table width="100%" border="0" cellspacing="0" cellpadding="0" |
||
30 | class="header" |
||
31 | > |
||
32 | <tr> |
||
33 | <td> </td> |
||
34 | <td |
||
35 | style="vertical-align: top; font-size: 12pt; text-align: right;" |
||
36 | > |
||
37 | <div> |
||
38 | <strong>Ontologie-Editor</strong><br /> von |
||
39 | Michael Moos<br /> & Thomas Lahn |
||
40 | </div></td> |
||
41 | <td width="56" class="no_padding"><img |
||
42 | src="${contextPath}/resources/images/ontology_logo.jpg" |
||
43 | width="56" height="56" alt="logo" |
||
44 | /> |
||
45 | </td> |
||
46 | </tr> |
||
47 | </table> |
||
31 | PointedEar | 48 | </div> |
37 | PointedEar | 49 | |
50 | <!-- Load nav bars depending on the location --> |
||
51 | <c:if test="${isUser}"> |
||
52 | <div id="navbar"> |
||
53 | <%@ include file="/user/nav.jsp"%> |
||
54 | </div> |
||
55 | </c:if> |
||
56 | <c:if test="${isAdmin}"> |
||
57 | <div id="navbar"> |
||
58 | <%@ include file="/admin/nav.jsp"%> |
||
59 | </div> |
||
60 | </c:if> |
||
61 | |||
62 | <!-- Content DIV loaded via decorator --> |
||
63 | <div id="content"> |
||
64 | <decorator:body /> |
||
31 | PointedEar | 65 | </div> |
37 | PointedEar | 66 | |
31 | PointedEar | 67 | </div> |
37 | PointedEar | 68 | </body> |
20 | moos | 69 | </html> |