choosePreference page (pas tester qd il y a pas d'article)

This commit is contained in:
Nicolas Michard
2008-02-21 11:08:58 +00:00
parent 880149bae9
commit fa6af53d60
9 changed files with 76 additions and 33 deletions

View File

@@ -181,6 +181,9 @@ button.browse=Browse
button.reset=Reset button.reset=Reset
button.OK=OK button.OK=OK
###################
# WARNING MESSAGE
warning.articleList.empty=Sorry, but there are no articles for this conference yet.
listarticle.title=Article's list listarticle.title=Article's list
manageArticle.title=Manage your article manageArticle.title=Manage your article
@@ -191,7 +194,7 @@ preference.like=Like
preference.indifferent=Indifferent preference.indifferent=Indifferent
preference.dislike=Dislike preference.dislike=Dislike
preference.ok=You have successfully chosen all your preferences about each article preference.ok=You have successfully chosen all your preferences about each article
evaluation.help=Choose the preference you have for each article. preference.help=Choose the preference you have for each article.
dispatch.title=Dispatch the articles to the members dispatch.title=Dispatch the articles to the members
# Conference Form # Conference Form

View File

@@ -7,33 +7,52 @@
<h4 class="title"><fmt:message key="preference.title" /></h4> <h4 class="title"><fmt:message key="preference.title" /></h4>
<c:if test="${empty articleList }">
<div class="warningBox">
<fmt:message key="warning.articleList.empty" />
<a href="<c:url value="listConference.htm"/>"><fmt:message key="home.link.choose" /></a>
</div>
</c:if>
<p class="formHelp"> <c:if test="${not empty articleList}">
<fmt:message key="preference.help"/> <p class="formHelp">
<fmt:message key="preference.help"/>
</p> </p>
<form:form method="post" commandName="choosePreference">
<form:form method="post" commandName="choosePreference"> <table width="100%">
<c:if test="${not empty articleList}"> <tr>
<table> <td width="40%">&nbsp;</td>
<td width="20%" align="center"><img src="./images/smiley_dislike.png" alt="dislike "title="<fmt:message key="preference.dislike"/>"/></td>
<td width="20%" align="center"><img src="./images/smiley_indifferent.png" alt="indifferent "title="<fmt:message key="preference.indifferent"/>"/></td>
<td width="20%" align="center"><img src="./images/smiley_like.png" alt="like "title="<fmt:message key="preference.like"/>"/></td>
</tr>
<tr><td colspan="4" height="2"></td></tr>
<c:forEach items="${articleList}" var="article" varStatus="i"> <c:forEach items="${articleList}" var="article" varStatus="i">
<tr> <tr>
<td><a href="<c:url value='detailArticle.htm?id=${article.id}'/>">${article.title}</a></td> <td>
<a href="<c:url value='detailArticle.htm?id=${article.id}'/>">${article.title}</a>
</td>
<form:hidden path="preferences[${i.index}].article.id" /> <form:hidden path="preferences[${i.index}].article.id" />
<form:hidden path="preferences[${i.index}].pcMember.login" /> <form:hidden path="preferences[${i.index}].pcMember.login" />
<td><fmt:message key="preference.like"/></td> <td align="center">
<td><form:radiobutton path="preferences[${i.index}].preferenceType" value="LIKE"/></td> <form:radiobutton path="preferences[${i.index}].preferenceType" value="DISLIKE"/>
<td><fmt:message key="preference.indifferent"/></td> </td>
<td><form:radiobutton path="preferences[${i.index}].preferenceType" value="INDIFFERENT"/></td> <td align="center">
<td><fmt:message key="preference.dislike"/></td> <form:radiobutton path="preferences[${i.index}].preferenceType" value="INDIFFERENT"/>
<td><form:radiobutton path="preferences[${i.index}].preferenceType" value="DISLIKE"/></td> </td>
</tr> <td align="center">
<form:radiobutton path="preferences[${i.index}].preferenceType" value="LIKE"/>
</td>
</tr>
</c:forEach> </c:forEach>
</table> </table>
<input type="submit" name="submit" value="<fmt:message key="button.OK"/>"/> <br />
<center><input type="submit" name="submit" value="<fmt:message key="button.OK"/>"/></center>
</form:form>
</c:if> </c:if>
</form:form>
<c:if test="${param['message'] eq 'done'}"> <c:if test="${param['message'] eq 'done'}">
<p class="formOk"> <p class="formOk">
@@ -41,10 +60,6 @@
You can modify your choices immediately or later.<br/> You can modify your choices immediately or later.<br/>
</p> </p>
</c:if> </c:if>
<br />
<a href="<c:url value="main.htm"/>">Home</a>
</body> </body>
</html> </html>

View File

@@ -1,16 +1,37 @@
<%@ include file="/WEB-INF/decorators/include.jsp"%>
<html> <html>
<head> <head>
<style type="text/css">
h1 a{
color: #FF4747;
text-decoration: none;
}
h1 a:hover{
color: #FF0000;
}
</style>
</head> </head>
<body> <body>
<center>
<br/><br/><br/>
<h1><a href="main.htm">
<img src="./images/403error.jpg" alt="403" /><br/>
<h4 class="title">Access denied</h4>
403 Error - Access Denied
<div class="errorBox">
${message} </a></h1>
</div>
</center>
</body> </body>
</html> </html>

View File

@@ -22,9 +22,12 @@
<center> <center>
<br/><br/><br/> <br/><br/><br/>
<h1>
<a href="main.htm">
<img src="./images/404.jpg" alt="404" /><br/> <img src="./images/404.jpg" alt="404" /><br/>
<h1> <a href="main.htm">
404 Error - Page not found 404 Error - Page not found

View File

@@ -35,6 +35,7 @@
<p class="legend"><fmt:message key="form.article.information" /></p> <p class="legend"><fmt:message key="form.article.information" /></p>
<fieldset> <fieldset>
<span class="info"><fmt:message key="form.field.necessary" /></span>
<div> <div>
<form:label path="title"><fmt:message key="form.submission.article.title" /></form:label> <form:label path="title"><fmt:message key="form.submission.article.title" /></form:label>
<form:input path="title"/>* <form:input path="title"/>*

Binary file not shown.

After

Width:  |  Height:  |  Size: 125 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB