report list

list article
This commit is contained in:
Nicolas Michard
2008-02-25 15:04:25 +00:00
parent d8a31c0219
commit 812f7f7c06
5 changed files with 122 additions and 84 deletions

View File

@@ -11,38 +11,39 @@
You can modify your evaluation immediately or later.<br/>
</p>
<table>
<tr>
<td><fmt:message key="evaluation.titleArticle" /></td>
<td>${report.article.title}</td>
</tr>
<div id="account_data">
<p class="legend">Article</p>
<fieldset>
<div>
<label><fmt:message key="evaluation.titleArticle" /></label>
<span class="content">${report.article.title}</span>
</div>
</fieldset>
<c:forEach items="${report.ratings}" var="rating">
<tr>
<td><fmt:message key="evaluation.note" /></td>
<td>${rating.criterion.name} is:</td>
<td>${rating.value}</td>
</tr>
</c:forEach>
<p class="legend">Notes</p>
<fieldset>
<c:forEach items="${report.ratings}" var="rating">
<label><fmt:message key="evaluation.note" /> <b>${rating.criterion.name}</b> is : </label>
<span class="content">${rating.value}</span><br />
</c:forEach>
</fieldset>
<tr>
<td><fmt:message key="evaluation.commentPCMember" /></td>
<td>${report.commentPCMember}</td>
</tr>
<tr>
<td><fmt:message key="evaluation.commentAuthor" /></td>
<td>${report.commentAuthor}</td>
</tr>
<tr>
<td colspan="2">
<a class="back_link" href="<c:url value="${whereIcome}"/>">Modify the evaluation</a>
</td>
</tr>
</table>
<p class="legend">Comments</p>
<fieldset>
<div>
<label><fmt:message key="evaluation.commentPCMember" /></label>
<span class="content">${report.commentPCMember}</span>
</div>
<div>
<label><fmt:message key="evaluation.commentAuthor" /></label>
<span class="content">${report.commentAuthor}</span>
</div>
</fieldset>
</div>
<a class="back_link" href="<c:url value="${whereIcome}"/>">Modify the evaluation</a>
</body>
</html>

View File

@@ -7,27 +7,48 @@
<h4 class="title">Article's details</h4>
<div class="article cbb">
<h2>${article.title}</h2>
<p class="author">Author: <b>${article.mainAuthor.firstName}
${article.mainAuthor.lastName}</b></p>
<c:if test="${article.secondaryAuthors!=null}">
<p class="secondaryAuthors">Secondary Authors:
<ul>
<c:forEach items="${article.secondaryAuthors}" var="sAuthor">
<li>${sAuthor}</li>
</c:forEach>
</ul>
</c:if>
<p class="topic">Topic: <b>${article.topic}</b></p>
<p class="topic">State of article: <b>${article.state}</b></p>
<p class="article_url"><a
href="
<div id="account_data">
<h2>${article.title}</h2>
<p class="legend">Authors</p>
<fieldset>
<div>
<label>Principal Author :</label>
<span class="content"><b>${article.mainAuthor.firstName}&nbsp;${article.mainAuthor.lastName}</b></span>
</div>
<c:if test="${article.secondaryAuthors!=null}">
<div>
<label>Secondary Authors : </label>
<ul>
<c:forEach items="${article.secondaryAuthors}" var="sAuthor">
<li>${sAuthor}</li>
</c:forEach>
</ul>
</div>
</c:if>
</fieldset>
<p class="legend">Topic</p>
<fieldset>
<label>Topic : </label>
<span class="content"><b>${article.topic}</b></span>
</fieldset>
<p class="legend">State</p>
<fieldset>
<div>
<label>State of article : </label>
<span class="content"><b>${article.state}</b></span>
</div>
</fieldset>
</div>
<br />
<a class="download" href="
<c:url value="/download.htm">
<c:param name="articleId" value="${article.id}"/>
</c:url>">Download</a></p>
</div>
</c:url>">Download</a>
</body>
</html>

View File

@@ -18,35 +18,31 @@
<c:when test="${not empty listReport }">
<c:forEach items="${listReport}" var="report" varStatus="current">
<table>
<tr>
<td><fmt:message key="report.referee" />: ${report.referee.firstName} ${report.referee.lastName}</td>
</tr>
<tr>
<td><fmt:message key="evaluation.titleArticle" /></td>
<td>${report.article.title}</td>
</tr>
<div id="account_data">
<p class="legend"><fmt:message key="report.referee" />: ${report.referee.firstName} ${report.referee.lastName}</p>
<fieldset>
<div>
<label><fmt:message key="evaluation.titleArticle" /></label>
<span class="content">${report.article.title}</span>
</div>
<br />
<c:forEach items="${container[current.index]}" var="rating">
<tr>
<td><fmt:message key="evaluation.note" /></td>
<td>${rating.criterion.name} is:</td>
<td>${rating.value}</td>
</tr>
<label><fmt:message key="evaluation.note" /> <b>${rating.criterion.name}</b> is : </label>
<span class="content">${rating.value}</span><br />
</c:forEach>
<tr>
<td><fmt:message key="evaluation.commentPCMember" /></td>
<td>${report.commentPCMember}</td>
</tr>
<tr>
<td><fmt:message key="evaluation.commentAuthor" /></td>
<td>${report.commentAuthor}</td>
</tr>
</table>
<hr>
<div>
<label><fmt:message key="evaluation.commentPCMember" /></label>
<span class="content">${report.commentPCMember}</span>
</div>
<div>
<label><fmt:message key="evaluation.commentAuthor" /></label>
<span class="content">${report.commentAuthor}</span>
</div>
</fieldset>
</div>
</c:forEach>
</c:when>
<c:otherwise>

View File

@@ -14,7 +14,12 @@
</p>
<center><h2 class="maintitle">${conferenceReport.title}</h2></center>
<center><h2 class="maintitle" title="${conferenceReport.title}">
${fn:substring(conferenceReport.title, 0, 40)}
<c:if test="${fn:length(conferenceReport.title) > 41}">
...
</c:if>
</h2></center>
<h3 class="descriptionTitle"><fmt:message key="conference.detail.description" /></h3>
<div class="textBox">
${conferenceReport.description }

View File

@@ -503,6 +503,12 @@ a.manage_link:hover {
color: #f00;
}
#account_data fieldset div span.content{
font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
color:#847d6e;
font-size:11px;
}
a.back_link {
text-decoration: none;
padding-left: 50px;
@@ -512,6 +518,15 @@ a.back_link {
color: #008281;
font-weight: bold;
}
a.download {
text-decoration: none;
padding-left: 50px;
background: url(../images/cc-download_manager-32x32.png) no-repeat left top;
padding-top: 10px;
padding-bottom: 10px;
color: #008281;
font-weight: bold;
}
a.back_link:hover{
color: #003e82;