added CSS support and pattern file in jsp section for future view.
@@ -1,13 +1,6 @@
|
|||||||
<%@ include file="/WEB-INF/jsp/include.jsp"%>
|
<%@ include file="/WEB-INF/jsp/include.jsp"%>
|
||||||
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
|
<jsp:include page="/WEB-INF/jsp/header.jsp" />
|
||||||
|
<jsp:include page="/WEB-INF/jsp/menu.jsp" />
|
||||||
<html>
|
|
||||||
|
|
||||||
<head>
|
|
||||||
<title><fmt:message key="title" /></title>
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body>
|
|
||||||
|
|
||||||
<h2 align="center"><fmt:message key="submission.title" /></h2>
|
<h2 align="center"><fmt:message key="submission.title" /></h2>
|
||||||
|
|
||||||
@@ -31,7 +24,6 @@
|
|||||||
</table>
|
</table>
|
||||||
</c:if>
|
</c:if>
|
||||||
</form:form>
|
</form:form>
|
||||||
<a href="<c:url value="main.htm"/>">Home</a>
|
<a href="<c:url value="main.htm"/>">Home</a>
|
||||||
</body>
|
|
||||||
|
|
||||||
</html>
|
<jsp:include page="/WEB-INF/jsp/footer.jsp" />
|
||||||
@@ -1,15 +1,7 @@
|
|||||||
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
|
<%@ include file="/WEB-INF/jsp/include.jsp"%>
|
||||||
pageEncoding="ISO-8859-1"%>
|
<%@ page session="false" %>
|
||||||
<%@ include file="/WEB-INF/jsp/include.jsp"%>
|
<jsp:include page="/WEB-INF/jsp/header.jsp" />
|
||||||
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
|
<jsp:include page="/WEB-INF/jsp/menu.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>Insert title here</title>
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<fmt:message key="preference.ok"/>
|
<fmt:message key="preference.ok"/>
|
||||||
</body>
|
<jsp:include page="/WEB-INF/jsp/footer.jsp" />
|
||||||
</html>
|
|
||||||
@@ -1,12 +1,7 @@
|
|||||||
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
|
<%@ include file="/WEB-INF/jsp/include.jsp"%>
|
||||||
pageEncoding="ISO-8859-1"%>
|
<%@ page session="false" %>
|
||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
<jsp:include page="/WEB-INF/jsp/header.jsp" />
|
||||||
<html>
|
<jsp:include page="/WEB-INF/jsp/menu.jsp" />
|
||||||
<head>
|
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
DispathArticles
|
||||||
<title>dispatchArticles</title>
|
<jsp:include page="/WEB-INF/jsp/footer.jsp" />
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
7
YACOSWeb/WebContent/WEB-INF/jsp/footer.jsp
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="footer"> </div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
19
YACOSWeb/WebContent/WEB-INF/jsp/header.jsp
Normal 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"> </div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="mainBloc">
|
||||||
|
<div class="header"> </div>
|
||||||
|
<div class="content">
|
||||||
@@ -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="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"%>
|
||||||
@@ -1,15 +1,9 @@
|
|||||||
<%@ include file="/WEB-INF/jsp/include.jsp"%>
|
<%@ 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>
|
Main Page
|
||||||
<title><fmt:message key="title"/></title>
|
|
||||||
</head>
|
<jsp:include page="/WEB-INF/jsp/footer.jsp" />
|
||||||
|
|
||||||
<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>
|
|
||||||
22
YACOSWeb/WebContent/WEB-INF/jsp/menu.jsp
Normal 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"> </div>
|
||||||
|
</div>
|
||||||
|
<div class="miniBloc">
|
||||||
|
<div class="header">Status</div>
|
||||||
|
<div class="content">
|
||||||
|
Affichage status de connexion
|
||||||
|
</div>
|
||||||
|
<div class="footer"> </div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div id="main_content">
|
||||||
10
YACOSWeb/WebContent/WEB-INF/jsp/patronViewCSS.jsp
Normal 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" />
|
||||||
@@ -1,10 +1,10 @@
|
|||||||
<%@ include file="/WEB-INF/jsp/include.jsp"%>
|
<%@ include file="/WEB-INF/jsp/include.jsp"%>
|
||||||
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
|
<%@ 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">
|
<SCRIPT LANGUAGE="JavaScript">
|
||||||
function Ajouter(form) {
|
function Ajouter(form) {
|
||||||
@@ -17,9 +17,7 @@ function Supprimer(form) {
|
|||||||
}
|
}
|
||||||
</SCRIPT>
|
</SCRIPT>
|
||||||
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body>
|
|
||||||
|
|
||||||
<h2 align="center"><fmt:message key="submission.title" /></h2>
|
<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>
|
<a href="<c:url value="main.htm"/>">Home</a>
|
||||||
</body>
|
<jsp:include page="/WEB-INF/jsp/footer.jsp" />
|
||||||
|
|
||||||
</html>
|
|
||||||
@@ -1,15 +1,7 @@
|
|||||||
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
|
<%@ include file="/WEB-INF/jsp/include.jsp"%>
|
||||||
<%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt" %>
|
<%@ page session="false" %>
|
||||||
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
|
<jsp:include page="/WEB-INF/jsp/header.jsp" />
|
||||||
<%@ page session="true" %>
|
<jsp:include page="/WEB-INF/jsp/menu.jsp" />
|
||||||
|
|
||||||
<html>
|
|
||||||
|
|
||||||
<head>
|
|
||||||
<title><fmt:message key="title" /></title>
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body>
|
|
||||||
|
|
||||||
Soumission OK
|
Soumission OK
|
||||||
|
|
||||||
@@ -22,6 +14,4 @@ Soumission OK
|
|||||||
|
|
||||||
<a href="<c:url value="main.htm"/>">Home</a>
|
<a href="<c:url value="main.htm"/>">Home</a>
|
||||||
|
|
||||||
</body>
|
<jsp:include page="/WEB-INF/jsp/footer.jsp" />
|
||||||
|
|
||||||
</html>
|
|
||||||
@@ -1,12 +1,17 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
|
||||||
<beans xmlns="http://www.springframework.org/schema/beans"
|
<beans xmlns="http://www.springframework.org/schema/beans"
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
xmlns:jee="http://www.springframework.org/schema/jee"
|
xmlns:flow="http://www.springframework.org/schema/webflow-config"
|
||||||
xsi:schemaLocation="http://www.springframework.org/schema/beans
|
xmlns:jee="http://www.springframework.org/schema/jee"
|
||||||
http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
|
xmlns:lang="http://www.springframework.org/schema/lang"
|
||||||
http://www.springframework.org/schema/jee
|
xmlns:util="http://www.springframework.org/schema/util"
|
||||||
http://www.springframework.org/schema/jee/spring-jee-2.5.xsd">
|
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
|
||||||
|
http://www.springframework.org/schema/webflow-config http://www.springframework.org/schema/webflow-config/spring-webflow-config-1.0.xsd
|
||||||
|
http://www.springframework.org/schema/jee http://www.springframework.org/schema/jee/spring-jee-2.0.xsd
|
||||||
|
http://www.springframework.org/schema/lang http://www.springframework.org/schema/lang/spring-lang-2.0.xsd
|
||||||
|
http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-2.0.xsd">
|
||||||
|
|
||||||
|
|
||||||
<!-- the application context definition for the SiteWebSpring DispatcherServlet -->
|
<!-- the application context definition for the SiteWebSpring DispatcherServlet -->
|
||||||
|
|
||||||
@@ -51,7 +56,6 @@
|
|||||||
<property name="basename" value="messages" />
|
<property name="basename" value="messages" />
|
||||||
</bean>
|
</bean>
|
||||||
|
|
||||||
<jee:jndi-lookup id="articleManager" jndi-name="ArticleManagerBean/remote"
|
<jee:jndi-lookup id="articleManager" jndi-name="ArticleManagerBean/remote" cache="true"/>
|
||||||
cache="true" />
|
|
||||||
|
|
||||||
</beans>
|
</beans>
|
||||||
BIN
YACOSWeb/WebContent/images/background.png
Normal file
|
After Width: | Height: | Size: 830 B |
BIN
YACOSWeb/WebContent/images/box-content.png
Normal file
|
After Width: | Height: | Size: 142 B |
BIN
YACOSWeb/WebContent/images/box-footer.png
Normal file
|
After Width: | Height: | Size: 920 B |
BIN
YACOSWeb/WebContent/images/box-header.png
Normal file
|
After Width: | Height: | Size: 939 B |
BIN
YACOSWeb/WebContent/images/minibox-content.png
Normal file
|
After Width: | Height: | Size: 131 B |
BIN
YACOSWeb/WebContent/images/minibox-footer.png
Normal file
|
After Width: | Height: | Size: 353 B |
BIN
YACOSWeb/WebContent/images/minibox-header.png
Normal file
|
After Width: | Height: | Size: 2.0 KiB |
BIN
YACOSWeb/WebContent/images/yacos.logo.blancLQ.png
Normal file
|
After Width: | Height: | Size: 39 KiB |
116
YACOSWeb/WebContent/stylesheets/base.css
Normal file
@@ -0,0 +1,116 @@
|
|||||||
|
body {
|
||||||
|
background: url(../images/background.png) repeat-x fixed;
|
||||||
|
font: 11px 'Lucida Grande', Geneva, Arial, Verdana, sans-serif;
|
||||||
|
padding-top: 0px;
|
||||||
|
margin-top: 0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* @group headerBloc */
|
||||||
|
.headerBloc {
|
||||||
|
width: 818px;
|
||||||
|
margin-left: auto;
|
||||||
|
margin-right: auto;
|
||||||
|
height: 70px;
|
||||||
|
margin-bottom: 30px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.headerBloc div.content {
|
||||||
|
background: url(../images/box-content.png) repeat-y left center;
|
||||||
|
padding-right: 25px;
|
||||||
|
padding-left: 25px;
|
||||||
|
height: inherit;
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
.headerBloc div.footer {
|
||||||
|
background: url(../images/box-footer.png) no-repeat left bottom;
|
||||||
|
height: 22px;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* @end */
|
||||||
|
|
||||||
|
/* @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 */
|
||||||
|
|
||||||
|
/* @group MiniBloc */
|
||||||
|
#menu {
|
||||||
|
width: 150px;
|
||||||
|
padding: 5px 15px 0px 0px;
|
||||||
|
display: table-cell;
|
||||||
|
}
|
||||||
|
|
||||||
|
.miniBloc {
|
||||||
|
color: #a1642d;
|
||||||
|
margin-bottom: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.miniBloc div.header {
|
||||||
|
background: url(../images/minibox-header.png) no-repeat left top;
|
||||||
|
font-weight: bold;
|
||||||
|
font-size: medium;
|
||||||
|
font-variant: small-caps;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.miniBloc div.content {
|
||||||
|
background: url(../images/minibox-content.png) repeat-y left;
|
||||||
|
padding: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.miniBloc ul {
|
||||||
|
margin: 0;
|
||||||
|
list-style: none;
|
||||||
|
padding: 0 0 0 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.miniBloc li {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0 0 2px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.miniBloc a {
|
||||||
|
text-transform: capitalize;
|
||||||
|
color: #893d00;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.miniBloc a:hover {
|
||||||
|
text-transform: capitalize;
|
||||||
|
color: #ff7a00;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.miniBloc div.footer {
|
||||||
|
background: url(../images/minibox-footer.png) no-repeat left top;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* @end */
|
||||||
|
|
||||||
|
#main_content {
|
||||||
|
display: table-cell;
|
||||||
|
}
|
||||||