Corrections diverses

This commit is contained in:
2008-02-25 14:23:08 +00:00
parent 7f37bba101
commit d8a31c0219
7 changed files with 64 additions and 52 deletions

View File

@@ -9,17 +9,19 @@
<form:form method="post" commandName="evaluationForm" id="account_data">
<p class="legend">Rating</p>
<fieldset>
<fieldset class="inline">
<c:forEach items="${evaluationForm.simpleRatings}" var="criterion" varStatus="j">
<div>
<form:label path="title">${criterion.name}</form:label>
<form:hidden path="simpleRatings[${j.index}].name"></form:hidden>
<form:label path="simpleRatings[${j.index}].name"><form:select path="simpleRatings[${j.index}].value">
<form:label path="simpleRatings[${j.index}].name">
${criterion.name}
</form:label>
<form:select path="simpleRatings[${j.index}].value">
<c:forEach var="i" begin="${criterion.min_rating}" end="${criterion.max_rating}">
<form:option value="${i}"></form:option>
</c:forEach>
</form:select></form:label>
</form:select>
</div>
</c:forEach>

View File

@@ -4,49 +4,29 @@
<head>
<script type='text/javascript' src='./javascripts/prototype.js'></script>
<script type='text/javascript' src='./javascripts/scriptaculous.js'></script>
<script type="text/javascript">
//<![CDATA[
function ShowRegistered() {
// faux tt ca
var listElem;
if ($('ongoing').checked)
listElem = $$('.isRegistered', 'confPost');
if ($('register').checked)
listElem = $$('.isRegistered').invoke('blindDown');
else
listElem = $$('.isRegistered');
for (var i = 0; i < listElem.length; i++) {
if (listElem[i].visible())
listElem[i].style.display = "none";
else
listElem[i].style.display = "";
}
listElem = $$('.isRegistered').invoke('blindUp');
}
function ShowNotRegistered() {
var listElem;
if ($('ongoing').checked)
listElem = $$('.notRegistered', 'confPost');
if ($('notregister').checked)
listElem = $$('.notRegistered').invoke('blindDown');
else
listElem = $$('.notRegistered');
for (var i = 0; i < listElem.length; i++) {
if (listElem[i].visible())
listElem[i].style.display = "none";
else
listElem[i].style.display = "";
}
listElem = $$('.notRegistered').invoke('blindUp');
}
function ShowOngoing() {
var listElem = $$('.confPast');
for (var i = 0; i < listElem.length; i++) {
if (listElem[i].visible())
listElem[i].style.display = "none";
else
listElem[i].style.display = "";
}
if ($('ongoing').checked)
listElem = $$('.confPast').invoke('blindUp');
else
listElem = $$('.confPast').invoke('blindDown');
}
//]]>
</script>

View File

@@ -21,9 +21,9 @@
<c:when test="${empty listArticle}">
<div class="warningBox">
You have no article at the moment.<br />
You can submit an article in clicking
You can submit an article by clicking
<a href="submissionArticle.htm">here</a>
or using the item menu.<br />
or using the menu item.<br />
</div>
</c:when>
<c:otherwise>
@@ -36,21 +36,26 @@
<table width="100%">
<tbody>
<tr>
<td width="50%" align="center">
<td>
<ul>
<li>Secondary Authors:
<li>
<h2>Secondary Authors:</h2>
<ul>
<c:forEach var="sAuthor" items="${article.secondaryAuthors}">
<li><b>${sAuthor}</b></li>
</c:forEach>
</ul>
</li>
<li>Topic: <b>${article.topic}</b></li>
<li>
<h2>Topic:</h2>
<b>${article.topic}</b>
</li>
<li>
<h2>Abstract :</h2>
${article.abstractText}
</li>
</ul>
</td>
<td width="50%" align="center">
${article.abstractText}
</td>
</tr>
<tr>
<td colspan="2" align="center">

View File

@@ -6,7 +6,7 @@
<h4 class="title">Validate an article</h4>
<p class="formHelp">
Choose whether you want to validate an article (i.e. the article will take part in the conference) or reject it.
Choose whether you want to validate an article (i.e. the article will be featured in the conference) or reject it.
</p>
<c:forEach items="${listArticleValidate}" var="article">
@@ -17,11 +17,27 @@
<td>${article.mainAuthor.firstName} ${article.mainAuthor.lastName}</td>
</tr>
<tr>
<td colspan="2">State: ${article.state}
<a href="<c:url value="validateOrReject.htm?value=valide&id=${article.id}"/>">
<fmt:message key="validate.validate" /><img src="./images/ok.png" alt="Validate" /></a>
<a href="<c:url value="validateOrReject.htm?value=reject&id=${article.id}"/>">
<fmt:message key="validate.reject" /><img src="./images/cancel.png" alt="Reject" /></a></td>
<td colspan="2">
<c:choose>
<c:when test="${article.state != 'REJECTED' and article.state != 'ACCEPTED'}">
<a href="<c:url value="validateOrReject.htm?value=valide&id=${article.id}"/>"
onclick="return confirm('You are about to validate this article. This operation cannot be undone. Do you want to continue ?')">
<fmt:message key="validate.validate" /><img src="./images/ok.png" alt="Validate" /></a>
<a href="<c:url value="validateOrReject.htm?value=reject&id=${article.id}"/>"
onclick="return confirm('You are about to reject this article. This operation cannot be undone. Do you want to continue ?')">
<fmt:message key="validate.reject" /><img src="./images/cancel.png" alt="Reject" /></a>
</c:when>
<c:otherwise>
<c:if test="${article.state == 'REJECTED'}">
<img src="./images/cancel.png" alt="Rejected" />
</c:if>
<c:if test="${article.state == 'ACCEPTED'}">
<img src="./images/ok.png" alt="Validated" />
</c:if>
State: ${article.state}
</c:otherwise>
</c:choose>
</td>
</tr>
<tr>
<td><a title="Download" href="<c:url value="/download.htm"><c:param name="articleId" value="${article.id}"/></c:url>">Download<img