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.OK=OK
###################
# WARNING MESSAGE
warning.articleList.empty=Sorry, but there are no articles for this conference yet.
listarticle.title=Article's list
manageArticle.title=Manage your article
@@ -191,7 +194,7 @@ preference.like=Like
preference.indifferent=Indifferent
preference.dislike=Dislike
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
# Conference Form

View File

@@ -7,33 +7,52 @@
<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">
<fmt:message key="preference.help"/>
</p>
<form:form method="post" commandName="choosePreference">
<c:if test="${not empty articleList}">
<table>
<c:if test="${not empty articleList}">
<p class="formHelp">
<fmt:message key="preference.help"/>
</p>
<form:form method="post" commandName="choosePreference">
<table width="100%">
<tr>
<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">
<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}].pcMember.login" />
<td><fmt:message key="preference.like"/></td>
<td><form:radiobutton path="preferences[${i.index}].preferenceType" value="LIKE"/></td>
<td><fmt:message key="preference.indifferent"/></td>
<td><form:radiobutton path="preferences[${i.index}].preferenceType" value="INDIFFERENT"/></td>
<td><fmt:message key="preference.dislike"/></td>
<td><form:radiobutton path="preferences[${i.index}].preferenceType" value="DISLIKE"/></td>
</tr>
<td align="center">
<form:radiobutton path="preferences[${i.index}].preferenceType" value="DISLIKE"/>
</td>
<td align="center">
<form:radiobutton path="preferences[${i.index}].preferenceType" value="INDIFFERENT"/>
</td>
<td align="center">
<form:radiobutton path="preferences[${i.index}].preferenceType" value="LIKE"/>
</td>
</tr>
</c:forEach>
</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>
</form:form>
<c:if test="${param['message'] eq 'done'}">
<p class="formOk">
@@ -41,10 +60,6 @@
You can modify your choices immediately or later.<br/>
</p>
</c:if>
<br />
<a href="<c:url value="main.htm"/>">Home</a>
</body>
</html>

View File

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

View File

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

View File

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