Rev 31 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 31 | Rev 37 | ||
---|---|---|---|
Line 8... | Line 8... | ||
8 | <c:set var="requestURI" value="${pageContext.request.requestURI}" /> |
8 | <c:set var="requestURI" value="${pageContext.request.requestURI}" /> |
9 | <c:set var="isUser" value="${fn:contains(requestURI, '/user/')}" /> |
9 | <c:set var="isUser" value="${fn:contains(requestURI, '/user/')}" /> |
10 | <c:set var="isAdmin" value="${fn:contains(requestURI, '/admin/')}" /> |
10 | <c:set var="isAdmin" value="${fn:contains(requestURI, '/admin/')}" /> |
11 | 11 | ||
12 | <%@ page pageEncoding="UTF-8"%> |
12 | <%@ page pageEncoding="UTF-8"%> |
13 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
13 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" |
- | 14 | "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
|
14 | 15 | ||
15 | <html xmlns="http://www.w3.org/1999/xhtml"> |
16 | <html xmlns="http://www.w3.org/1999/xhtml"> |
16 | <head> |
17 | <head> |
17 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
18 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
18 | <title>Ontologie - <decorator:title /> |
19 | <title><decorator:title /> – Ontologie-Editor</title> |
19 | </title> |
- | |
20 | <link rel="stylesheet" type="text/css" |
20 | <link rel="stylesheet" type="text/css" |
21 | href="${contextPath}/resources/css/main.css" |
21 | href="${contextPath}/resources/css/main.css" |
22 | /> |
22 | /> |
23 | </head> |
23 | </head> |
24 | <body> |
24 | <body> |
25 | - | ||
26 | <%-- Only serves as a container for the different site elements! |
25 | <%-- Only serves as a container for the different site elements! |
27 | Do not write any text directly into the page-container div! --%> |
26 | Do not write any text directly into the page-container div! --%> |
28 | <div id="page-container"> |
27 | <div id="page-container"> |
29 | <div id="header"> |
28 | <div id="header"> |
30 | <table width="100%" border="0" cellspacing="0" cellpadding="0" |
29 | <table width="100%" border="0" cellspacing="0" cellpadding="0" |
31 | class="header" |
30 | class="header" |
32 | > |
31 | > |
33 | <tr> |
32 | <tr> |
34 | <td> </td> |
33 | <td> </td> |
35 | <td |
34 | <td |
36 | style="vertical-align: top; font-size: 12pt; text-align: right;" |
35 | style="vertical-align: top; font-size: 12pt; text-align: right;" |
37 | > |
36 | > |
38 | <div> |
37 | <div> |
39 | <strong>Semantic Web Project</strong><br /> by Michael |
38 | <strong>Ontologie-Editor</strong><br /> von |
40 | Moos<br /> Thomas Lahn |
39 | Michael Moos<br /> & Thomas Lahn |
41 | </div></td> |
40 | </div></td> |
42 | <td width="56" class="no_padding"><img |
41 | <td width="56" class="no_padding"><img |
43 | src="${contextPath}/resources/images/ontology_logo.jpg" |
42 | src="${contextPath}/resources/images/ontology_logo.jpg" |
44 | width="56" height="56" alt="logo" |
43 | width="56" height="56" alt="logo" |
45 | /> |
44 | /> |
46 | </td> |
45 | </td> |
47 | </tr> |
46 | </tr> |
48 | </table> |
47 | </table> |
49 | </div> |
- | |
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> |
48 | </div> |
- | 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> |
|
56 | </c:if> |
55 | </c:if> |
57 | <c:if test="${isAdmin}"> |
56 | <c:if test="${isAdmin}"> |
58 | <div id="navbar"> |
57 | <div id="navbar"> |
59 | <%@ include file="/admin/nav.jsp"%> |
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 /> |
|
60 | </div> |
65 | </div> |
61 | </c:if> |
- | |
62 | 66 | ||
63 | <!-- Content DIV loaded via decorator --> |
- | |
64 | <div id="content"> |
- | |
65 | <decorator:body /> |
- | |
66 | </div> |
67 | </div> |
67 | - | ||
68 | </div> |
- | |
69 | </body> |
68 | </body> |
70 | </html> |
69 | </html> |
71 | 70 |