Sitemesh : layout des vues integré

pour faire une nouvelle page : creer jsp ds jsp / mettre balise include/html/head/body et le contenu dans body.
Sitemesh decorera la page automatiquement suivant le layout main.jsp dans decorators pour tte les url (du moins pour l'instant)
This commit is contained in:
Nicolas Michard
2008-01-20 15:37:53 +00:00
parent 74314c8d56
commit e8cccaf588
24 changed files with 290 additions and 431 deletions

View File

@@ -1,4 +1,3 @@
<%@ taglib uri="http://www.opensymphony.com/sitemesh/decorator" prefix="decorator" %> <%@ taglib uri="http://www.opensymphony.com/sitemesh/decorator" prefix="decorator" %>
<%@ taglib uri="http://www.opensymphony.com/sitemesh/page" prefix="page" %>
<decorator:body /> <decorator:body />

View File

@@ -1 +1,11 @@
<h1>C'est le footer</h1> <html>
<head></head>
<body>
<!-- Footer with credits -->
<div id="globalfooter">
Copyright Yacos Team 2008
</div>
</body>
</html>

View File

@@ -0,0 +1,30 @@
<%@ include file="/WEB-INF/decorators/include.jsp"%>
<html>
<head></head>
<body>
<!-- containerheader -->
<div id="containerheader">
<div id="leftdescription">
<p>Application pour g<>rer les conf<6E>rences. Outil libre dans le programme universitaire</p>
</div>
<div id="rightchoice">
<c:choose>
<c:when test="${idCurrentConference!=null}">
La conf<6E>rence courante est : ${idCurrentConference}.<br />
<a href="<c:url value="listConference.htm"/>"><fmt:message key="conference.linkMenu.change" /></a>
</c:when>
<c:otherwise>
Il n'y a pas de conf<6E>rence courante.<br />
<a href="<c:url value="listConference.htm"/>"><fmt:message key="conference.linkMenu.choose" /></a>
</c:otherwise>
</c:choose>
</div>
</div><!--containerheader-->
</body>
</html>

View File

@@ -0,0 +1,15 @@
<html>
<head></head>
<body>
<!-- Globar bar navigation -->
<div id="globalheader">
<ul id="globalnav">
<li><a href="#">HOME</a></li>
<li><a href="#">INFOS</a></li>
<li><a href="#">POST</a></li>
</ul>
</div>
</body>
</html>

View File

@@ -0,0 +1,3 @@
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>

View File

@@ -1,20 +1,44 @@
<!-- Include --> <!-- Include -->
<%@ taglib uri="http://www.opensymphony.com/sitemesh/decorator" prefix="decorator" %> <%@ taglib prefix="decorator" uri="http://www.opensymphony.com/sitemesh/decorator" %>
<%@ taglib uri="http://www.opensymphony.com/sitemesh/page" prefix="page" %> <%@ taglib prefix="page" uri="http://www.opensymphony.com/sitemesh/page" %>
<%@ include file="/WEB-INF/decorators/include.jsp"%>
<!-- Doctype --> <!-- Doctype -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html> <html>
<head> <head>
<title><decorator:title default="YACOS" /></title> <title><fmt:message key="title" /></title>
<link rel="stylesheet" href="./stylesheets/base.css" type="text/css" />
<decorator:head /> <decorator:head />
</head> </head>
<body>
BODY de la page d<>cor<6F>e :
<decorator:body />
/BODY de la page d<>cor<6F>e
<body>
<!-- headermenu -->
<div><page:applyDecorator name="empty" page="/WEB-INF/decorators/headermenu.jsp" /></div>
<!-- Main bloc -->
<div id="container">
<!-- main header with choice conference -->
<page:applyDecorator name="empty" page="/WEB-INF/decorators/headermainchoice.jsp" />
<div id="main">
<!-- dynamic menu with session -->
<page:applyDecorator name="empty" page="/WEB-INF/decorators/usermenu.jsp" />
<div id="maincontent">
<!-- Contents of decorated page -->
<decorator:body />
</div><!--maincontent-->
</div><!--main-->
</div><!--container-->
<!-- footer -->
<div><page:applyDecorator name="empty" page="/WEB-INF/decorators/footer.jsp" /></div> <div><page:applyDecorator name="empty" page="/WEB-INF/decorators/footer.jsp" /></div>
</body> </body>

View File

@@ -0,0 +1,30 @@
<%@ include file="/WEB-INF/decorators/include.jsp"%>
<html>
<head></head>
<body>
<div id="mainmenu">
<div id="mainmenubloc">
<h4>Bloc 1</h4>
<ul>
<li><a href="<c:url value="listArticle.htm"/>"><fmt:message key="listarticle.title" /></a></li>
<li><a href="<c:url value="submissionArticle.htm"/>"><fmt:message key="submission.title" /></a></li>
<li><a href="<c:url value="choosePreference.htm"/>"><fmt:message key="preference.title" /></a></li>
<li><a href="<c:url value="dispatchArticle.htm"/>"><fmt:message key="dispatch.title" /></a></li>
<li><a href="<c:url value="addConference.htm"/>"><fmt:message key="conference.titleMenu" /></a></li>
</ul>
</div>
<div id="mainmenubloc">
<h4>Bloc 2</h4>
<ul>
<li><a href="#">Lien 1</a></li>
<li><a href="#">Lien 2</a></li>
<li><a href="#">Lien 3</a></li>
</ul>
</div>
</div><!--mainmenu-->
</body>
</html>

View File

@@ -1,25 +1,9 @@
<%@ include file="/WEB-INF/jsp/include.jsp"%> <%@ include file="/WEB-INF/decorators/include.jsp"%>
<%@ page session="false"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html> <html>
<head> <head></head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title><fmt:message key="title" /></title>
<link rel="stylesheet" href="./stylesheets/base.css" type="text/css" />
</head>
<body> <body>
<jsp:include page="/WEB-INF/jsp/header.jsp" />
<div class="mainBloc">
<div class="header">&nbsp;</div>
<div class="content"><jsp:include page="/WEB-INF/jsp/menu.jsp" />
<div id="main_content">
<h2 align="center"><fmt:message key="conference.titleMenu" /></h2> <h2 align="center"><fmt:message key="conference.titleMenu" /></h2>
<form:form commandName="formConference" name="monForm"> <form:form commandName="formConference" name="monForm">
@@ -28,15 +12,12 @@
<fmt:message key="conference.description" /> <textarea name="description"></textarea> <br/><br /> <fmt:message key="conference.description" /> <textarea name="description"></textarea> <br/><br />
<fmt:message key="conference.otherInformations" /> <textarea name="otherInformations"></textarea> <br/><br /> <fmt:message key="conference.otherInformations" /> <textarea name="otherInformations"></textarea> <br/><br />
<input type="submit" alignment="center" name="_target1" value="Next" /> <input type="submit" align="middle" name="_target1" value="Next" />
</form:form> </form:form>
<br /> <br />
<a href="<c:url value="main.htm"/>">Home</a></div> <a href="<c:url value="main.htm"/>">Home</a>
</div>
<div class="footer">&nbsp;</div>
</div>
</body> </body>
</html> </html>

View File

@@ -1,26 +1,12 @@
<%@ include file="/WEB-INF/jsp/include.jsp"%> <%@ include file="/WEB-INF/decorators/include.jsp"%>
<%@ page session="false"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html> <html>
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title><fmt:message key="title" /></title>
<link rel="stylesheet" href="./stylesheets/base.css" type="text/css" />
<link rel="stylesheet" href="./stylesheets/calendar.css" type="text/css" /> <link rel="stylesheet" href="./stylesheets/calendar.css" type="text/css" />
<script src="./stylesheets/calendar.js"></script> <script src="./stylesheets/calendar.js"></script>
</head> </head>
<body> <body>
<jsp:include page="/WEB-INF/jsp/header.jsp" />
<div class="mainBloc">
<div class="header">&nbsp;</div>
<div class="content"><jsp:include page="/WEB-INF/jsp/menu.jsp" />
<div id="main_content">
<h2 align="center"><fmt:message key="conference.titleMenu" /></h2> <h2 align="center"><fmt:message key="conference.titleMenu" /></h2>
@@ -40,10 +26,7 @@
</form:form> </form:form>
<br /> <br />
<a href="<c:url value="main.htm"/>">Home</a></div> <a href="<c:url value="main.htm"/>">Home</a>
</div>
<div class="footer">&nbsp;</div>
</div>
</body> </body>
</html> </html>

View File

@@ -1,24 +1,9 @@
<%@ include file="/WEB-INF/jsp/include.jsp"%> <%@ include file="/WEB-INF/decorators/include.jsp"%>
<%@ page session="false"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html> <html>
<head> <head></head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title><fmt:message key="title" /></title>
<link rel="stylesheet" href="./stylesheets/base.css" type="text/css" />
</head>
<body> <body>
<jsp:include page="/WEB-INF/jsp/header.jsp" />
<div class="mainBloc">
<div class="header">&nbsp;</div>
<div class="content"><jsp:include page="/WEB-INF/jsp/menu.jsp" />
<div id="main_content">
<h2 align="center"><fmt:message key="conference.titleMenu" /></h2> <h2 align="center"><fmt:message key="conference.titleMenu" /></h2>
@@ -42,14 +27,11 @@
<br /> <br />
<br /> <br />
<input type="submit" alignment="center" name="_target1" value="Back"> <input type="submit" align="middle" name="_target1" value="Back">
<input type="submit" alignment="center" name="_target3" value="Next" /> <input type="submit" align="middle" name="_target3" value="Next" />
</form:form> <br /> </form:form> <br />
<a href="<c:url value="main.htm"/>">Home</a></div> <a href="<c:url value="main.htm"/>">Home</a>
</div>
<div class="footer">&nbsp;</div>
</div>
</body> </body>
</html> </html>

View File

@@ -1,22 +1,9 @@
<%@ include file="/WEB-INF/jsp/include.jsp"%> <%@ include file="/WEB-INF/decorators/include.jsp"%>
<%@ page session="false"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html> <html>
<head> <head></head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title><fmt:message key="title" /></title>
<link rel="stylesheet" href="./stylesheets/base.css" type="text/css" />
</head>
<body> <body>
<jsp:include page="/WEB-INF/jsp/header.jsp" />
<div class="mainBloc">
<div class="header">&nbsp;</div>
<div class="content"><jsp:include page="/WEB-INF/jsp/menu.jsp" />
<div id="main_content">
<h2 align="center"><fmt:message key="conference.titleMenu" /></h2> <h2 align="center"><fmt:message key="conference.titleMenu" /></h2>
@@ -30,15 +17,12 @@
<br /><br /> <br /><br />
<input type="submit" alignment="center" name="_target2" value="Back"> <input type="submit" align="middle" name="_target2" value="Back">
<input type="submit" alignment="center" name="_target4" value="Next" /> <input type="submit" align="middle" name="_target4" value="Next" />
</form:form> <br /> </form:form> <br />
<a href="<c:url value="main.htm"/>">Home</a></div> <a href="<c:url value="main.htm"/>">Home</a>
</div>
<div class="footer">&nbsp;</div>
</div>
</body> </body>
</html> </html>

View File

@@ -1,22 +1,9 @@
<%@ include file="/WEB-INF/jsp/include.jsp"%> <%@ include file="/WEB-INF/decorators/include.jsp"%>
<%@ page session="false"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html> <html>
<head> <head></head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title><fmt:message key="title" /></title>
<link rel="stylesheet" href="./stylesheets/base.css" type="text/css" />
</head>
<body> <body>
<jsp:include page="/WEB-INF/jsp/header.jsp" />
<div class="mainBloc">
<div class="header">&nbsp;</div>
<div class="content"><jsp:include page="/WEB-INF/jsp/menu.jsp" />
<div id="main_content">
<h2 align="center"><fmt:message key="conference.titleMenu" /></h2> <h2 align="center"><fmt:message key="conference.titleMenu" /></h2>
@@ -24,16 +11,13 @@
<br /> Page 5 <br /> Page 5
<input type="submit" alignment="center" name="_finish" value="Next" /> <input type="submit" align="middle" name="_finish" value="Next" />
<input type="submit" alignment="center" name="_target3" value="Back"> <input type="submit" align="middle" name="_target3" value="Back">
</form:form> </form:form>
<br /> <br />
<a href="<c:url value="main.htm"/>">Home</a></div> <a href="<c:url value="main.htm"/>">Home</a>
</div>
<div class="footer">&nbsp;</div>
</div>
</body> </body>
</html> </html>

View File

@@ -1,24 +1,9 @@
<%@ include file="/WEB-INF/jsp/include.jsp"%> <%@ include file="/WEB-INF/decorators/include.jsp"%>
<!--
<%@ page session="false" %> spring -> true par defaut
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html> <html>
<head> <head></head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title><fmt:message key="title"/></title>
<link rel="stylesheet" href="./stylesheets/base.css" type="text/css" />
</head>
<body> <body>
<jsp:include page="/WEB-INF/jsp/header.jsp" />
<div class="mainBloc">
<div class="header">&nbsp;</div>
<div class="content">
<jsp:include page="/WEB-INF/jsp/menu.jsp" />
<div id="main_content">
<h2 align="center"><fmt:message key="preference.title" /></h2> <h2 align="center"><fmt:message key="preference.title" /></h2>
@@ -51,10 +36,5 @@
<a href="<c:url value="main.htm"/>">Home</a> <a href="<c:url value="main.htm"/>">Home</a>
</div>
</div>
<div class="footer">&nbsp;</div>
</div>
</body> </body>
</html> </html>

View File

@@ -1,31 +1,15 @@
<%@ include file="/WEB-INF/jsp/include.jsp"%> <%@ include file="/WEB-INF/decorators/include.jsp"%>
<%@ page session="false" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html> <html>
<head> <head></head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title><fmt:message key="title"/></title>
<link rel="stylesheet" href="./stylesheets/base.css" type="text/css" />
</head>
<body> <body>
<jsp:include page="/WEB-INF/jsp/header.jsp" />
<div class="mainBloc">
<div class="header">&nbsp;</div>
<div class="content">
<jsp:include page="/WEB-INF/jsp/menu.jsp" />
<div id="main_content">
<fmt:message key="preference.ok"/> <fmt:message key="preference.ok"/>
</div>
</div>
<div class="footer">&nbsp;</div>
</div>
</body> </body>
</html> </html>

View File

@@ -1,23 +1,9 @@
<%@ include file="/WEB-INF/jsp/include.jsp"%> <%@ include file="/WEB-INF/decorators/include.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html> <html>
<head> <head></head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title><fmt:message key="title"/></title>
<link rel="stylesheet" href="./stylesheets/base.css" type="text/css" />
</head>
<body> <body>
<jsp:include page="/WEB-INF/jsp/header.jsp" />
<div class="mainBloc">
<div class="header">&nbsp;</div>
<div class="content">
<jsp:include page="/WEB-INF/jsp/menu.jsp" />
<div id="main_content">
<table> <table>
<tr> <tr>
<th>articles to dispatch</th><th>members</th><th>members associate to the article</th> <th>articles to dispatch</th><th>members</th><th>members associate to the article</th>
@@ -62,11 +48,6 @@
</table> </table>
</div>
</div>
<div class="footer">&nbsp;</div>
</div>
</body> </body>
</html> </html>

View File

@@ -1,20 +1,9 @@
<%@ include file="/WEB-INF/jsp/include.jsp"%> <%@ include file="/WEB-INF/decorators/include.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html>
<html xmlns="http://www.w3.org/1999/xhtml"> <head></head>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title><fmt:message key="title" /></title>
<link rel="stylesheet" href="./stylesheets/base.css" type="text/css" />
</head>
<body> <body>
<jsp:include page="/WEB-INF/jsp/header.jsp" />
<div class="mainBloc">
<div class="header">&nbsp;</div>
<div class="content"><jsp:include page="/WEB-INF/jsp/menu.jsp" />
<div id="main_content">
<c:forEach items="${listArticle}" var="article"> <c:forEach items="${listArticle}" var="article">
<ul class="article"> <ul class="article">
<li class="title">${article.title}</li> <li class="title">${article.title}</li>
@@ -23,10 +12,7 @@
<li class="article_url"><a href="<c:url value="${article.URL_article}"/>">Download the article</a></li> <li class="article_url"><a href="<c:url value="${article.URL_article}"/>">Download the article</a></li>
</ul> </ul>
</c:forEach> </c:forEach>
</div>
</div>
<div class="footer">&nbsp;</div>
</div>
</body> </body>
</html> </html>

View File

@@ -1,24 +1,9 @@
<%@ include file="/WEB-INF/jsp/include.jsp"%> <%@ include file="/WEB-INF/decorators/include.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html> <html>
<head> <head></head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title><fmt:message key="title" /></title>
<link rel="stylesheet" href="./stylesheets/base.css" type="text/css" />
</head>
<body> <body>
<jsp:include page="/WEB-INF/jsp/header.jsp" />
<div class="mainBloc">
<div class="header">&nbsp;</div>
<div class="content"><jsp:include page="/WEB-INF/jsp/menu.jsp" />
<div id="main_content">
<h2 align="center">Choose a conference</h2> <h2 align="center">Choose a conference</h2>
Choix de la conference <br /><br /> Choix de la conference <br /><br />
@@ -53,10 +38,7 @@
<br /> <br />
<a href="<c:url value="main"/>">Home</a></div> <a href="<c:url value="main"/>">Home</a>
</div>
<div class="footer">&nbsp;</div>
</div>
</body> </body>
</html> </html>

View File

@@ -1,31 +1,13 @@
<%@ include file="/WEB-INF/jsp/include.jsp"%> <%@ include file="/WEB-INF/decorators/include.jsp"%>
<%@ page session="false" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html> <html>
<head> <head></head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title><fmt:message key="title"/></title>
<link rel="stylesheet" href="./stylesheets/base.css" type="text/css" />
</head>
<body> <body>
<jsp:include page="/WEB-INF/jsp/header.jsp" /> Page d'accueil <20> changer de place (controller dans system et non dans author)
Si conf active : page d'intro de la conf
si pas de conf active : page d'intro du site (visiteur)
<div class="mainBloc">
<div class="header">&nbsp;</div>
<div class="content">
<jsp:include page="/WEB-INF/jsp/menu.jsp" />
<div id="main_content">
Main Page
</div>
</div>
<div class="footer">&nbsp;</div>
</div>
</body> </body>
</html> </html>

View File

@@ -1,27 +1,9 @@
<%@ include file="/WEB-INF/jsp/include.jsp"%> <%@ include file="/WEB-INF/decorators/include.jsp"%>
<%@ page session="false" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html> <html>
<head> <head></head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title><fmt:message key="title"/></title>
<link rel="stylesheet" href="./stylesheets/base.css" type="text/css" />
</head>
<body> <body>
<jsp:include page="/WEB-INF/jsp/header.jsp" />
<div class="mainBloc">
<div class="header">&nbsp;</div>
<div class="content">
<jsp:include page="/WEB-INF/jsp/menu.jsp" />
<div id="main_content">
<h2><fmt:message key="register.title" /></h2> <h2><fmt:message key="register.title" /></h2>
<form:form method="post" commandName="registerUser"> <form:form method="post" commandName="registerUser">
@@ -46,10 +28,5 @@
<a href="<c:url value="main.htm"/>">Home</a> <a href="<c:url value="main.htm"/>">Home</a>
</div>
</div>
<div class="footer">&nbsp;</div>
</div>
</body> </body>
</html> </html>

View File

@@ -1,12 +1,7 @@
<%@ include file="/WEB-INF/jsp/include.jsp"%> <%@ include file="/WEB-INF/decorators/include.jsp"%>
<%@ page session="false" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html> <html>
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title><fmt:message key="title"/></title>
<link rel="stylesheet" href="./stylesheets/base.css" type="text/css" />
<script language="JavaScript"> <script language="JavaScript">
function Ajouter(form) { function Ajouter(form) {
var o=new Option(form.secondaryauthor.value); var o=new Option(form.secondaryauthor.value);
@@ -20,16 +15,6 @@ function Supprimer(form) {
</head> </head>
<body> <body>
<jsp:include page="/WEB-INF/jsp/header.jsp" />
<div class="mainBloc">
<div class="header">&nbsp;</div>
<div class="content">
<jsp:include page="/WEB-INF/jsp/menu.jsp" />
<div id="main_content">
<h2 align="center"><fmt:message key="submission.title" /></h2> <h2 align="center"><fmt:message key="submission.title" /></h2>
<form:form method="post" enctype="multipart/form-data" commandName="submissionArticle"> <form:form method="post" enctype="multipart/form-data" commandName="submissionArticle">
@@ -69,10 +54,5 @@ function Supprimer(form) {
<a href="<c:url value="main.htm"/>">Home</a> <a href="<c:url value="main.htm"/>">Home</a>
</div>
</div>
<div class="footer">&nbsp;</div>
</div>
</body> </body>
</html> </html>

View File

@@ -1,35 +1,14 @@
<%@ include file="/WEB-INF/jsp/include.jsp"%> <%@ include file="/WEB-INF/decorators/include.jsp"%>
<%@ page session="false" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html> <html>
<head> <head></head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title><fmt:message key="title"/></title>
<link rel="stylesheet" href="./stylesheets/base.css" type="text/css" />
</head>
<body> <body>
<jsp:include page="/WEB-INF/jsp/header.jsp" />
<div class="mainBloc">
<div class="header">&nbsp;</div>
<div class="content">
<jsp:include page="/WEB-INF/jsp/menu.jsp" />
<div id="main_content">
Soumission OK Soumission OK
<br /> <br />
<a href="<c:url value="main.htm"/>">Home</a> <a href="<c:url value="main.htm"/>">Home</a>
</div>
</div>
<div class="footer">&nbsp;</div>
</div>
</body> </body>
</html> </html>

Binary file not shown.

After

Width:  |  Height:  |  Size: 294 B

View File

@@ -1,4 +1,4 @@
<%@ include file="/WEB-INF/jsp/include.jsp" %> <%@ include file="/WEB-INF/decorators/include.jsp" %>
<%-- Redirected because we can't set the welcome page to a virtual URL. --%> <%-- Redirected because we can't set the welcome page to a virtual URL. --%>
<c:redirect url="/main.htm"/> <c:redirect url="/main.htm"/>

View File

@@ -1,156 +1,159 @@
/* @group RESET */
html,body,div,ul,ol,li,dl,dt,dd,h1,h2,h3,h4,h5,h6,pre,form,p,blockquote,fieldset,input { margin: 0; padding: 0; }
h1,h2,h3,h4,h5,h6,pre,code,address,caption,cite,code,em,strong,th { font-size: 1em; font-weight: normal; font-style: normal; }
ul,ol { list-style: none; }
fieldset,img { border: none; }
caption,th { text-align: left; }
table { border-collapse: collapse; border-spacing: 0; }
/* @end */
body { body {
background: url(../images/background.png) repeat-x fixed; color:#333;
font: 11px 'Lucida Grande', Geneva, Arial, Verdana, sans-serif; font: 12px/18px "Ludida Grande", Geneva, Arial, Verdana, sans-serif;
padding-top: 0px; background: #fff url(images/background-repeat.png) repeat-x scroll left top;
margin-top: 0px;
} }
/* @group headerBloc */ /* @group globalHeader */
.headerBloc {
width: 818px; #globalheader {
margin-left: auto; width: 980px;
margin-right: auto; height: 38px;
margin: 18px auto;
position: relative;
z-index: 9998;
background-color: #ceffeb;
}
#globalheader #globalnav {
margin: 0;
padding: 0;
}
#globalheader #globalnav li {
display: inline;
}
#globalheader #globalnav li a {
float: left;
width: 117px;
height: 0;
padding-top:10px;
padding-right: 0px;
background-color: #40ff8f;
text-decoration: none;
color: #3800ff;
font-size: 16px;
}
/* @end */
#container {
width: 980px;
margin: 0 auto;
position: relative;
background-color: #f7fbff;
}
/* @group containerheader */
#containerheader {
background-color: #ff9b9b;
padding: 8px;
position: relative;
height: 70px; height: 70px;
margin-bottom: 30px; margin-bottom: 15px;
} }
.headerBloc div.content { #containerheader #leftdescription {
background: url(../images/box-content.png) repeat-y left center; width: 280px;
padding-right: 25px; background-color: #ff4e47;
padding-left: 25px; float: left;
height: inherit;
display: block;
} }
.headerBloc div.footer { #containerheader #leftdescription p {
background: url(../images/box-footer.png) no-repeat left bottom; font-size: x-small;
height: 22px;
} }
#containerheader #rightchoice {
/* @end */ background-color: #da1107;
margin-left: 300px;
/* @group mainBloc */
.mainBloc {
width: 818px;
margin-left: auto;
margin-right: auto;
top: 10px;
height: 500px;
}
.mainBloc div.header {
background: url(../images/box-header.png) no-repeat left top;
height: 22px;
}
.mainBloc div.content {
background: url(../images/box-content.png) repeat-y left center;
padding-right: 25px;
padding-left: 25px;
}
.mainBloc div.footer {
background: url(../images/box-footer.png) left top;
height: 22px;
} }
/* @end */ /* @end */
/* @group MiniBloc */ #main {
#menu {
position: relative;
background-color: #8bff74;
padding: 15px 0 0;
width: 100%;
display: table;
}
#maincontent {
padding: 18px 20px;
position: relative;
color: #333;
}
/* @group mainmenu */
#main #mainmenu {
background-color: #edffe2;
width: 150px; width: 150px;
padding: 5px 15px 0px 0px; float: left;
display: table-cell;
} }
.miniBloc { #main #mainmenu #mainmenubloc {
color: #a1642d; width: 120px;
margin-bottom: 10px; background-color: #ffef9e;
margin: 10px auto;
} }
.miniBloc div.header { #main #mainmenu #mainmenubloc h4 {
background: url(../images/minibox-header.png) no-repeat left top; color: #ff0e00;
font-weight: bold; font-weight: bold;
font-size: medium;
font-variant: small-caps;
text-align: center;
} }
.miniBloc div.content { #main #mainmenu #mainmenubloc ul {
background: url(../images/minibox-content.png) repeat-y left;
padding: 5px;
} }
.miniBloc ul { #main #mainmenu #mainmenubloc ul li {
margin: 0;
list-style: none;
padding: 0 0 0 5px;
} }
.miniBloc li { #main #mainmenu #mainmenubloc ul li a {
margin: 0;
padding: 0 0 2px;
}
.miniBloc a {
text-transform: capitalize;
color: #893d00;
text-decoration: none; text-decoration: none;
color: #007d1b;
} }
.miniBloc a:hover { #main #mainmenu #mainmenubloc ul li a:hover {
text-transform: capitalize; color: #80ff3a;
color: #ff7a00;
text-decoration: none;
}
.miniBloc div.footer {
background: url(../images/minibox-footer.png) no-repeat left top;
} }
/* @end */ /* @end */
#main_content { /* @group maincontent */
display: table-cell;
width: 640px; #main #maincontent {
background-color: #f5e5ff;
margin-left: 160px;
} }
.article a { /* @end */
text-decoration: none;
color: #002bb8; /* @group globalfooter */
background: none;
} #globalfooter {
.article a:hover { width: 980px;
text-decoration: underline; height: 38px;
margin: 18px auto;
position: relative;
z-index: 9998;
background-color: #ff7eff;
} }
ul.article { /* @end */
border-bottom : thin solid #666;
padding-bottom: 5px;
}
ul.article li {
list-style: none;
}
ul.article .title {
font-size: large;
}
ul.article .author {
font-size: small;
}
ul.article .topic {
font-size: small;
}
ul.article .article_url {
font-size: small;
}
.conferenceBloc {
background-color: #FFE591;
padding: 5px;
}