Ajout de la page about

Modification du droit pr modifier une conf.
Ajout de la liste des articles pr le chairman, il peut voir les évaluations à partir de ca.
This commit is contained in:
Frederic Debuire
2008-02-23 21:28:14 +00:00
parent 7ab701fc42
commit e94fdffded
14 changed files with 111 additions and 36 deletions

View File

@@ -102,14 +102,14 @@ http://www.springframework.org/schema/beans http://www.springframework.org/schem
PATTERN_TYPE_APACHE_ANT
/secure/**=ROLE_ADMIN,ROLE_AUTHOR,ROLE_PCMEMBER
/secure/**=IS_AUTHENTICATED_REMEMBERED
/listarticle.htm=ROLE_USER
/listarticle.htm=ROLE_CHAIRMAN
/managearticle.htm=ROLE_USER
/registeruser.htm=ROLE_ANONYMOUS,ROLE_USER
/submissionarticle.htm=ROLE_USER
/choosepreference.htm=ROLE_PCMEMBER
/dispatcharticlelist.htm=ROLE_PCMEMBER
/dispatcharticle.htm=ROLE_PCMEMBER
/addconference.htm=ROLE_CONFERENCE_CREATOR
/addconference.htm=ROLE_CHAIRMAN,ROLE_CONFERENCE_CREATOR
/evaluation.htm=ROLE_PCMEMBER,ROLE_REFEREE
/createreport.htm=ROLE_PCMEMBER,ROLE_REFEREE
/listconference.htm=ROLE_USER

View File

@@ -63,6 +63,7 @@ user.information.followconference={0,choice, 0#You don''t have any conference |
menu.chairman.title=Chairman
menu.chairman.conference.create=Create new conference
menu.chairman.conference.modify=Modify this conference
menu.chairman.article.list=Article's list
menu.chairman.article.dispatch=Dispatch articles
menu.chairman.article.validate=Validate articles
menu.chairman.article.conflict=Manage the conflict list

View File

@@ -8,7 +8,7 @@
<!-- Footer with credits -->
<div id="globalfooter">
<hr />
<fmt:message key="disclaimer.text" /> - <a href="#"><fmt:message key="disclaimer.link.about" /></a>
<fmt:message key="disclaimer.text" /> - <a href="about.htm"><fmt:message key="disclaimer.link.about" /></a>
</div>
</body>

View File

@@ -21,6 +21,7 @@
<li><a href="<c:url value="addConference.htm"/>"><fmt:message key="menu.chairman.conference.create" /></a></li>
</authz:authorize>
<li><a href="<c:url value="addConference.htm?action=modify"/>"><fmt:message key="menu.chairman.conference.modify" /></a></li>
<li><a href="<c:url value="listArticle.htm"/>"><fmt:message key="menu.chairman.article.list" /></a></li>
<li><a href="<c:url value="dispatchArticle.htm"/>"><fmt:message key="menu.chairman.article.dispatch" /></a></li>
<li><a href="<c:url value="validateArticle.htm"/>"><fmt:message key="menu.chairman.article.validate" /></a></li>
<li><a href="<c:url value="conflictList.htm"/>"><fmt:message key="menu.chairman.article.conflict" /></a></li>
@@ -36,8 +37,7 @@
<ul>
<li><a href="<c:url value="choosePreference.htm"/>"><fmt:message key="menu.pcmember.article.preference" /></a></li>
<li><a href="<c:url value="delegateArticle.htm"/>"><fmt:message key="menu.pcmember.article.delegate" /></a></li>
<li><a href="<c:url value="listEvaluation.htm?role=pcmember"/>"><fmt:message key="menu.pcmember.article.evaluation" /></a></li>
<li><a href="<c:url value="#"/>"><fmt:message key="menu.pcmember.article.evaluation.modify" /></a></li>
<li><a href="<c:url value="listEvaluation.htm?role=pcmember"/>"><fmt:message key="menu.pcmember.article.evaluation.modify" /></a></li>
<li><a href="<c:url value="#"/>"><fmt:message key="menu.pcmember.article.discussion" /></a></li>
</ul>
<div id="footer"></div>
@@ -49,8 +49,7 @@
<div id="mainmenubloc">
<h4><fmt:message key="menu.referee.title" /></h4>
<ul>
<li><a href="<c:url value="listEvaluation.htm?role=referee"/>"><fmt:message key="menu.referee.article.evaluation" /></a></li>
<li><a href="<c:url value="#"/>"><fmt:message key="menu.referee.article.evaluation.modify" /></a></li>
<li><a href="<c:url value="listEvaluation.htm?role=referee"/>"><fmt:message key="menu.referee.article.evaluation.modify" /></a></li>
</ul>
<div id="footer"></div>
</div>

View File

@@ -0,0 +1,26 @@
<%@ include file="/WEB-INF/decorators/include.jsp"%>
<html>
<head>
</head>
<body>
<!-- About page for Yacos.com -->
<h4 class="title"><fmt:message key="title" /> : <fmt:message
key="title.detail" /></h4>
<center>
<h1 class="maintitle"><fmt:message key="title" /></h1>
<h3 class="subtitle"><fmt:message key="title.detail" /></h3>
</center>
<h3 class="subtitle"><fmt:message key="home.whatis" /></h3>
<p><fmt:message key="home.whatis.txt" /></p>
<h3 class="subtitle"><fmt:message key="home.author" /></h3>
<p><fmt:message key="home.author.txt" /></p>
<h3 class="subtitle"><fmt:message key="home.referee" /></h3>
<p><fmt:message key="home.referee.txt" /></p>
</body>
</html>

View File

@@ -35,9 +35,10 @@
</tr>
<tr>
<td class="formLabel">Authorized file types</td>
<td><form:checkbox path="typePDF" /> Tex/Latec <form:checkbox
path="typeLatec" /> Word <form:checkbox path="typeWord" />
OpenOffice <form:checkbox path="typeODT" /></td>
<td>PDF <form:checkbox path="typePDF" />
Tex/Latec <form:checkbox path="typeLatec" />
Word <form:checkbox path="typeWord" />
OpenOffice <form:checkbox path="typeODT" /></td>
</tr>
</tbody>
<thead>

View File

@@ -1,30 +1,33 @@
<%@ include file="/WEB-INF/decorators/include.jsp"%>
<html>
<head></head>
<body>
<h4 class="title">NO NAME</h4>
<head>
</head>
<body>
<h4 class="title">Article's list</h4>
<c:forEach items="${listArticle}" var="article">
<div class="article cbb">
<h2>${article.title}</h2>
<p class="author">Author: <b>${article.mainAuthor.firstName} ${article.mainAuthor.lastName}</b></p>
<p class="secondaryAuthors">
<p>Author: <b>${article.mainAuthor.firstName} ${article.mainAuthor.lastName}</b></p>
<p>
<c:if test="${not empty article.secondaryAuthors}">
Secondary Authors:
<ul>
<c:forEach items="${article.secondaryAuthors}" var="sAuthor">
<li>${sAuthor}</li>
</c:forEach>
</ul>
<p class="topic">Topic: <b>${article.topic}</b></p>
<p class="article_url"><a href="
<c:url value="/download.htm">
<c:param name="articleId" value="${article.id}"/>
</c:url>">Download the article</a>
</c:if>
<p>Topic: <b>${article.topic}</b></p>
<p>State: <b>${article.state}</b></p>
<p><a href="<c:url value="/download.htm"><c:param name="articleId" value="${article.id}"/></c:url>">Download</a>
</p>
</div>
<br />
<hr />
<br />
<c:if test="${article.state == 'EVALUATED' or article.state == 'REJECTED' or article.state == 'ACCEPTED'}">
<p><a href="<c:url value="listReport.htm?id=${article.id}"/>"><fmt:message key="validate.report" /></a></p>
</c:if>
</div>
</c:forEach>

View File

@@ -6,6 +6,14 @@
<h4 class="title"><fmt:message key="report.headPage" /></h4>
<c:choose>
<c:when test="${empty listReport}">
<div class="warningBox">
There is no report for this article at the moment.
</div>
</c:when>
<c:otherwise>
<c:forEach items="${listReport}" var="report">
<table>
<tr>
@@ -36,7 +44,12 @@
</table>
<hr>
</c:forEach>
</c:otherwise>
</c:choose>
<br />
<a class="back_link" href="<c:url value="${whereIcome}"/>"><fmt:message key="form.link.back" /></a>
<a href="<c:url value="main.htm"/>">Home</a>
</body>
</html>

View File

@@ -22,6 +22,7 @@
<property name="mappings">
<props>
<prop key="/main.htm">MainController</prop>
<prop key="/about.htm">AboutController</prop>
<prop key="/listArticle.htm">ListArticleController</prop>
<prop key="/manageArticle.htm">ManageArticleController</prop>
<prop key="/registerUser.htm">SUserRegistrationController</prop>
@@ -54,6 +55,9 @@
<bean id="MainController"
class="org.yacos.web.author.controller.MainController" />
<bean id="AboutController"
class="org.yacos.web.system.controller.AboutController" />
<bean id="ListArticleController"
class="org.yacos.web.PCmember.controller.ListArticleController">