This commit is contained in:
@@ -22,8 +22,8 @@
|
||||
if(selectedArticleId != null){
|
||||
removeAll(selectedArticleId);
|
||||
$('title'+selectedArticleId).removeClassName('selected');
|
||||
//new Effect.SlideUp('dispatcher'+selectedArticleId);
|
||||
$('dispatcher'+selectedArticleId).hide();
|
||||
new Effect.SlideUp('dispatcher'+selectedArticleId);
|
||||
//$('dispatcher'+selectedArticleId).hide();
|
||||
}
|
||||
selectedArticleId = articleId;
|
||||
$(divTitle).addClassName('selected');
|
||||
@@ -32,8 +32,8 @@
|
||||
}else{
|
||||
removeAll(articleId);
|
||||
//$('dispatcher'+articleId).remove();
|
||||
//new Effect.SlideUp('dispatcher'+articleId);
|
||||
$('dispatcher'+articleId).hide();
|
||||
new Effect.SlideUp('dispatcher'+articleId);
|
||||
//$('dispatcher'+articleId).hide();
|
||||
$(divTitle).removeClassName('selected');
|
||||
selectedArticleId = null;
|
||||
//, {afterFinish:function(){$('dispatcher').remove();}});
|
||||
@@ -58,18 +58,14 @@
|
||||
DispatchArticlesJS.getMembersWithTheArticle(articleId,fillListArticleMembers);
|
||||
|
||||
|
||||
//new Effect.SlideDown('dispatcher'+articleId);
|
||||
$('dispatcher'+articleId).show();
|
||||
new Effect.SlideDown('dispatcher'+articleId);
|
||||
//$('dispatcher'+articleId).show();
|
||||
//buttons
|
||||
//$('addButton').observe("click",addRemote());
|
||||
//$('removeButton').observe("click",removeRemote());
|
||||
//$('dispatcherPattern').innerHTML = pattern;
|
||||
}
|
||||
|
||||
function retour(data){
|
||||
alert(data);
|
||||
}
|
||||
|
||||
function fillListArticleMembers(data){
|
||||
|
||||
for (var i = 0; i < data.length; i++) {
|
||||
@@ -166,25 +162,34 @@
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<div>
|
||||
|
||||
<h4 class="title"><fmt:message key="delegateArticles.choose" /></h4>
|
||||
<p class="formHelp">
|
||||
<fmt:message key="disptachArticle.help" />
|
||||
</p>
|
||||
<c:forEach var="article" items="${articles}">
|
||||
<div class=" conferenceBloc cbb">
|
||||
<div style="border:1px solid orange;">
|
||||
<div id="article${article.id}">
|
||||
<div id="title${article.id}" onclick="showDetail(${article.id})">
|
||||
<h2>
|
||||
|
||||
title : ${article.title}
|
||||
<br/>theme: ${article.topic}
|
||||
<br/>main author: ${article.mainAuthor.firstName}{article.mainAuthor.lastName}
|
||||
<a href="${article.URL_article}">download the article</a>
|
||||
|
||||
</h2>
|
||||
<table style="width:100%;text-align:center;">
|
||||
<tr>
|
||||
<td><img src="./images/cc-wp-64x64.png"></td>
|
||||
<td>title : ${article.title}
|
||||
<br/>theme: ${article.topic}
|
||||
<br/>main author: ${article.mainAuthor.firstName}${article.mainAuthor.lastName}
|
||||
|
||||
<c:if test="${!empty article.secondaryAuthors}">
|
||||
<br/>secondaries authors:
|
||||
<c:forEach var="author" items="${article.secondaryAuthors}">
|
||||
<br/>${author}
|
||||
</c:forEach>
|
||||
</c:if>
|
||||
</td>
|
||||
<td><a href="${article.URL_article}">download the article</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div id='dispatcher${article.id}' style="display:none;">
|
||||
<div id='dispatcher${article.id}' class="textBox" style="display:none;">
|
||||
<table style="width:100%;">
|
||||
<tr><td>
|
||||
<h1><fmt:message key="members.list1"/></h1>
|
||||
@@ -205,7 +210,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</c:forEach>
|
||||
<div>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user