added CSS support and pattern file in jsp section for future view.

This commit is contained in:
Nicolas Michard
2007-12-16 22:00:47 +00:00
parent e423fbf22f
commit f99039918d
21 changed files with 228 additions and 89 deletions

View File

@@ -1,13 +1,6 @@
<%@ include file="/WEB-INF/jsp/include.jsp"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<html>
<head>
<title><fmt:message key="title" /></title>
</head>
<body>
<%@ include file="/WEB-INF/jsp/include.jsp"%>
<jsp:include page="/WEB-INF/jsp/header.jsp" />
<jsp:include page="/WEB-INF/jsp/menu.jsp" />
<h2 align="center"><fmt:message key="submission.title" /></h2>
@@ -31,7 +24,6 @@
</table>
</c:if>
</form:form>
<a href="<c:url value="main.htm"/>">Home</a>
</body>
<a href="<c:url value="main.htm"/>">Home</a>
</html>
<jsp:include page="/WEB-INF/jsp/footer.jsp" />

View File

@@ -1,15 +1,7 @@
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<%@ include file="/WEB-INF/jsp/include.jsp"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
<%@ include file="/WEB-INF/jsp/include.jsp"%>
<%@ page session="false" %>
<jsp:include page="/WEB-INF/jsp/header.jsp" />
<jsp:include page="/WEB-INF/jsp/menu.jsp" />
<fmt:message key="preference.ok"/>
</body>
</html>
<jsp:include page="/WEB-INF/jsp/footer.jsp" />

View File

@@ -1,12 +1,7 @@
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>dispatchArticles</title>
</head>
<body>
</body>
</html>
<%@ include file="/WEB-INF/jsp/include.jsp"%>
<%@ page session="false" %>
<jsp:include page="/WEB-INF/jsp/header.jsp" />
<jsp:include page="/WEB-INF/jsp/menu.jsp" />
DispathArticles
<jsp:include page="/WEB-INF/jsp/footer.jsp" />

View File

@@ -0,0 +1,7 @@
</div>
</div>
<div class="footer">&nbsp;</div>
</div>
</body>
</html>

View File

@@ -0,0 +1,19 @@
<%@ include file="/WEB-INF/jsp/include.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<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>
<div class="headerBloc">
<div class="content">
<img src="./images/yacos.logo.blancLQ.png" width="40%"/>
</div>
<div class="footer">&nbsp;</div>
</div>
<div class="mainBloc">
<div class="header">&nbsp;</div>
<div class="content">

View File

@@ -1,3 +1,5 @@
<%@ page session="false"%>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>

View File

@@ -1,15 +1,9 @@
<%@ include file="/WEB-INF/jsp/include.jsp"%>
<%@ page session="false" %>
<html>
<jsp:include page="/WEB-INF/jsp/header.jsp" />
<jsp:include page="/WEB-INF/jsp/menu.jsp" />
<head>
<title><fmt:message key="title"/></title>
</head>
<body>
<a href="<c:url value="submissionArticle.htm"/>"><fmt:message key="submission.title" /></a><br />
<a href="<c:url value="choosePreference.htm"/>"><fmt:message key="preference.title" /></a><br />
<a href="<c:url value="dispatchArticle.htm"/>"><fmt:message key="dispatch.title" /></a><br />
</body>
</html>
Main Page
<jsp:include page="/WEB-INF/jsp/footer.jsp" />

View File

@@ -0,0 +1,22 @@
<%@ include file="/WEB-INF/jsp/include.jsp"%>
<div id="menu">
<div class="miniBloc">
<div class="header">Connexion</div>
<div class="content">
<ul>
<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>
</ul>
</div>
<div class="footer">&nbsp;</div>
</div>
<div class="miniBloc">
<div class="header">Status</div>
<div class="content">
Affichage status de connexion
</div>
<div class="footer">&nbsp;</div>
</div>
</div>
<div id="main_content">

View File

@@ -0,0 +1,10 @@
<%@ include file="/WEB-INF/jsp/include.jsp"%>
<!--
<%@ page session="false" %> spring -> true par defaut
-->
<jsp:include page="/WEB-INF/jsp/header.jsp" />
<jsp:include page="/WEB-INF/jsp/menu.jsp" />
VOTRE CONTENU ICI
<jsp:include page="/WEB-INF/jsp/footer.jsp" />

View File

@@ -1,10 +1,10 @@
<%@ include file="/WEB-INF/jsp/include.jsp"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@ include file="/WEB-INF/jsp/include.jsp"%>
<%@ page session="false" %>
<jsp:include page="/WEB-INF/jsp/header.jsp" />
<jsp:include page="/WEB-INF/jsp/menu.jsp" />
<html>
<head>
<title><fmt:message key="title" /></title>
<SCRIPT LANGUAGE="JavaScript">
function Ajouter(form) {
@@ -17,9 +17,7 @@ function Supprimer(form) {
}
</SCRIPT>
</head>
<body>
<h2 align="center"><fmt:message key="submission.title" /></h2>
@@ -55,6 +53,4 @@ function Supprimer(form) {
<a href="<c:url value="main.htm"/>">Home</a>
</body>
</html>
<jsp:include page="/WEB-INF/jsp/footer.jsp" />

View File

@@ -1,15 +1,7 @@
<%@ 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"%>
<%@ page session="true" %>
<html>
<head>
<title><fmt:message key="title" /></title>
</head>
<body>
<%@ include file="/WEB-INF/jsp/include.jsp"%>
<%@ page session="false" %>
<jsp:include page="/WEB-INF/jsp/header.jsp" />
<jsp:include page="/WEB-INF/jsp/menu.jsp" />
Soumission OK
@@ -22,6 +14,4 @@ Soumission OK
<a href="<c:url value="main.htm"/>">Home</a>
</body>
</html>
<jsp:include page="/WEB-INF/jsp/footer.jsp" />