10,60 → 10,61 |
<c:set var="isAdmin" value="${fn:contains(requestURI, '/admin/')}" /> |
|
<%@ page pageEncoding="UTF-8"%> |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" |
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
|
<html xmlns="http://www.w3.org/1999/xhtml"> |
<head> |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
<title><decorator:title /> – Ontologie-Editor</title> |
<link rel="stylesheet" type="text/css" |
href="${contextPath}/resources/css/main.css" |
/> |
</head> |
<body> |
<%-- Only serves as a container for the different site elements! |
Do not write any text directly into the page-container div! --%> |
<div id="page-container"> |
<div id="header"> |
<table width="100%" border="0" cellspacing="0" cellpadding="0" |
class="header" |
> |
<tr> |
<td> </td> |
<td |
style="vertical-align: top; font-size: 12pt; text-align: right;" |
> |
<div> |
<strong>Ontologie-Editor</strong><br /> von |
Michael Moos<br /> & Thomas Lahn |
</div></td> |
<td width="56" class="no_padding"><img |
src="${contextPath}/resources/images/ontology_logo.jpg" |
width="56" height="56" alt="logo" |
/> |
</td> |
</tr> |
</table> |
<head> |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
<title>Ontologie - <decorator:title /> |
</title> |
<link rel="stylesheet" type="text/css" |
href="${contextPath}/resources/css/main.css" |
/> |
</head> |
<body> |
|
<%-- Only serves as a container for the different site elements! |
Do not write any text directly into the page-container div! --%> |
<div id="page-container"> |
<div id="header"> |
<table width="100%" border="0" cellspacing="0" cellpadding="0" |
class="header" |
> |
<tr> |
<td> </td> |
<td |
style="vertical-align: top; font-size: 12pt; text-align: right;" |
> |
<div> |
<strong>Semantic Web Project</strong><br /> by Michael |
Moos<br /> Thomas Lahn |
</div></td> |
<td width="56" class="no_padding"><img |
src="${contextPath}/resources/images/ontology_logo.jpg" |
width="56" height="56" alt="logo" |
/> |
</td> |
</tr> |
</table> |
</div> |
|
<!-- Load nav bars depending on the location --> |
<c:if test="${isUser}"> |
<div id="navbar"> |
<%@ include file="/user/nav.jsp"%> |
</div> |
|
<!-- Load nav bars depending on the location --> |
<c:if test="${isUser}"> |
<div id="navbar"> |
<%@ include file="/user/nav.jsp"%> |
</div> |
</c:if> |
<c:if test="${isAdmin}"> |
<div id="navbar"> |
<%@ include file="/admin/nav.jsp"%> |
</div> |
</c:if> |
|
<!-- Content DIV loaded via decorator --> |
<div id="content"> |
<decorator:body /> |
</c:if> |
<c:if test="${isAdmin}"> |
<div id="navbar"> |
<%@ include file="/admin/nav.jsp"%> |
</div> |
|
</c:if> |
|
<!-- Content DIV loaded via decorator --> |
<div id="content"> |
<decorator:body /> |
</div> |
</body> |
|
</div> |
</body> |
</html> |