choosePreference page (pas tester qd il y a pas d'article)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -8,32 +8,51 @@
|
||||
|
||||
<h4 class="title"><fmt:message key="preference.title" /></h4>
|
||||
|
||||
<p class="formHelp">
|
||||
<fmt:message key="preference.help"/>
|
||||
|
||||
</p>
|
||||
<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>
|
||||
|
||||
<form:form method="post" commandName="choosePreference">
|
||||
<c:if test="${not empty articleList}">
|
||||
<table>
|
||||
<c:forEach items="${articleList}" var="article" varStatus="i">
|
||||
|
||||
<p class="formHelp">
|
||||
<fmt:message key="preference.help"/>
|
||||
</p>
|
||||
<form:form method="post" commandName="choosePreference">
|
||||
<table width="100%">
|
||||
<tr>
|
||||
<td><a href="<c:url value='detailArticle.htm?id=${article.id}'/>">${article.title}</a></td>
|
||||
<td width="40%"> </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>
|
||||
<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>
|
||||
<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">
|
||||
@@ -42,9 +61,5 @@
|
||||
</p>
|
||||
</c:if>
|
||||
|
||||
<br />
|
||||
<a href="<c:url value="main.htm"/>">Home</a>
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -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>
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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"/>*
|
||||
|
||||
BIN
YACOSWeb/WebContent/images/403error.jpg
Normal file
BIN
YACOSWeb/WebContent/images/403error.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 125 KiB |
BIN
YACOSWeb/WebContent/images/smiley_dislike.png
Normal file
BIN
YACOSWeb/WebContent/images/smiley_dislike.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.5 KiB |
BIN
YACOSWeb/WebContent/images/smiley_indifferent.png
Normal file
BIN
YACOSWeb/WebContent/images/smiley_indifferent.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.2 KiB |
BIN
YACOSWeb/WebContent/images/smiley_like.png
Normal file
BIN
YACOSWeb/WebContent/images/smiley_like.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.4 KiB |
Reference in New Issue
Block a user