diff src/main/webapp/pages/home.jsp @ 35:89a5ca7d44f7

new: rename branch to task, add fields in task table, add scroll bar
author Zoe Hong <zhong@mpiwg-berlin.mpg.de>
date Thu, 19 Nov 2015 17:14:06 +0100
parents 2e1662afc81c
children eab47936591a
line wrap: on
line diff
--- a/src/main/webapp/pages/home.jsp	Mon Nov 02 16:05:21 2015 +0100
+++ b/src/main/webapp/pages/home.jsp	Thu Nov 19 17:14:06 2015 +0100
@@ -9,12 +9,25 @@
 
 <head>
 	<jsp:include page="../componentes/headContent.jsp"/>	
+	<script type="text/javascript"
+		src="<%=sessionBean.getApplicationBean().getRootServer()%>/resources/js/proxyMethods.js"></script>
+	<script type="text/javascript"
+		src="<%=sessionBean.getApplicationBean().getRootServer()%>/resources/js/jquery.doubleScroll.js"></script>
+	
 </head>
 
 <body>
 
 	<jsp:include page="../componentes/template.jsp"/>
+	
+	<script type="text/javascript">
+		$(document).ready(function() {
+			$('.double-scroll').doubleScroll();
+		});
 
+		
+	</script>
+	
 	<div id="page">
 		
 		<% if(sessionBean.getUser() == null) { %>
@@ -42,305 +55,454 @@
 				action="<%=sessionBean.getApplicationBean().getRootServer()%>/proxy.jsp" >
 				<input name="bean" type="hidden" value="homeBean" /> 
 				
-				<div class="subTitel">Your Branch List
+				<div class="subTitel">Your Task
 					<input type="image"
 						onclick="setAction('forceReloadBranches', 'homeForm');"
 						src="<%=sessionBean.getApplicationBean().getRefreshImage()%>" width="20" height="20"/>
 			
-					<p class="label">You have <%= sessionBean.getHomePage().getBranchNumber() %> branches.</p>
+					<p class="label">You have <%= sessionBean.getHomePage().getBranchNumber() %> tasks.</p>
 					<p class="label"><%= (StringUtils.isNotEmpty(sessionBean.getHomePage().getFilteringMessage())) ? sessionBean.getHomePage().getFilteringMessage() : ""%> </p>
 				</div>
 				<jsp:include page="../componentes/paginator.jsp">
 					<jsp:param name="formName" value="homeForm"/>
 				</jsp:include> 
+		
+				<div class="tableDiv double-scroll">
+					<table class="pageTable" >
+						<tr>
+							<td>
+								<table class="sortTable">
+									<tr>
+										<td><label class="tableTitle">Branch ID</label></td>
+										<td>
+											<table>
+												<tr><td>
+													<input type="image" 
+														onclick="setAction('sortByBranchIdUp', 'homeForm');"
+														src="<%=sessionBean.getApplicationBean().getUpImage()%>"/>										
+												</td></tr>
+												<tr><td>
+													<input type="image"
+														onclick="setAction('sortByBranchIdDown', 'homeForm');"
+														src="<%=sessionBean.getApplicationBean().getDownImage()%>"/>																				
+												</td></tr>
+											</table>
+										</td>
+									</tr>
+								</table>
+							</td>
+							
+							<td>
+								<table class="sortTable">
+									<tr>
+										<td><label class="tableTitle">Book ID</label></td>
+										<td>
+											<table>
+												<tr><td>
+													<input type="image" 
+														onclick="setAction('sortByBookIdUp', 'homeForm');"
+														src="<%=sessionBean.getApplicationBean().getUpImage()%>"/>										
+												</td></tr>
+												<tr><td>
+													<input type="image"
+														onclick="setAction('sortByBookIdDown', 'homeForm');"
+														src="<%=sessionBean.getApplicationBean().getDownImage()%>"/>																				
+												</td></tr>
+											</table>
+										</td>
+									</tr>
+									<tr>
+										<td>
+											<input type="text" name="bookIdFilter" value="<%= sessionBean.getHomePage().getBookIdFilter()%>" size="10"/>
+										</td>									
+										<td>
+											<input type="image"
+												onclick="setAction('filter', 'homeForm');"
+												src="<%=sessionBean.getApplicationBean().getFilterImage()%>"/>
+										</td>							
+									</tr>
+								</table>
+							</td>
+							<td>
+								<table class="sortTable">
+									<tr>
+										<td><label class="tableTitle">Book Name</label></td>
+										<td>
+											<table>
+												<tr><td>
+													<input type="image" 
+														onclick="setAction('sortByBookNameUp', 'homeForm');"
+														src="<%=sessionBean.getApplicationBean().getUpImage()%>"/>										
+												</td></tr>
+												<tr><td>
+													<input type="image"
+														onclick="setAction('sortByBookNameDown', 'homeForm');"
+														src="<%=sessionBean.getApplicationBean().getDownImage()%>"/>																				
+												</td></tr>
+											</table>
+										</td>
+									</tr>
+									<tr>
+										<td>
+											<input type="text" name="bookNameFilter" value="<%= sessionBean.getHomePage().getBookNameFilter()%>" size="10"/>
+										</td>									
+										<td>
+											<input type="image"
+												onclick="setAction('filter', 'homeForm');"
+												src="<%=sessionBean.getApplicationBean().getFilterImage()%>"/>
+										</td>							
+									</tr>
+								</table>
+							</td>
+							
+							<td>
+								<table class="sortTable">
+									<tr>
+										<td><label class="tableTitle">Level 1</label></td>
+										<td>
+											<table>
+												<tr><td>
+													<input type="image" 
+														onclick="setAction('sortByLevel1Up', 'homeForm');"
+														src="<%=sessionBean.getApplicationBean().getUpImage()%>"/>										
+												</td></tr>
+												<tr><td>
+													<input type="image"
+														onclick="setAction('sortByLevel1Down', 'homeForm');"
+														src="<%=sessionBean.getApplicationBean().getDownImage()%>"/>																				
+												</td></tr>
+											</table>
+										</td>
+									</tr>
+									<tr>
+										<td>
+											<input type="text" name="level1Filter" value="<%= sessionBean.getHomePage().getLevel1Filter()%>" size="10"/>
+										</td>									
+										<td>
+											<input type="image"
+												onclick="setAction('filter', 'homeForm');"
+												src="<%=sessionBean.getApplicationBean().getFilterImage()%>"/>
+										</td>							
+									</tr>
+								</table>
+							</td>
+							<td>
+								<table class="sortTable">
+									<tr>
+										<td><label class="tableTitle">Level 2</label></td>
+										<td>
+											<table>
+												<tr><td>
+													<input type="image" 
+														onclick="setAction('sortByLevel2Up', 'homeForm');"
+														src="<%=sessionBean.getApplicationBean().getUpImage()%>"/>										
+												</td></tr>
+												<tr><td>
+													<input type="image"
+														onclick="setAction('sortByLevel2Down', 'homeForm');"
+														src="<%=sessionBean.getApplicationBean().getDownImage()%>"/>																				
+												</td></tr>
+											</table>
+										</td>
+									</tr>
+									<tr>
+										<td>
+											<input type="text" name="level2Filter" value="<%= sessionBean.getHomePage().getLevel2Filter()%>" size="10"/>
+										</td>									
+										<td>
+											<input type="image"
+												onclick="setAction('filter', 'homeForm');"
+												src="<%=sessionBean.getApplicationBean().getFilterImage()%>"/>
+										</td>							
+									</tr>
+								</table>
+							</td>
+							<td>
+								<table class="sortTable">
+									<tr>
+										<td><label class="tableTitle">Dynasty</label></td>
+										<td>
+											<table>
+												<tr><td>
+													<input type="image" 
+														onclick="setAction('sortByDynastyUp', 'homeForm');"
+														src="<%=sessionBean.getApplicationBean().getUpImage()%>"/>										
+												</td></tr>
+												<tr><td>
+													<input type="image"
+														onclick="setAction('sortByDynastyDown', 'homeForm');"
+														src="<%=sessionBean.getApplicationBean().getDownImage()%>"/>																				
+												</td></tr>
+											</table>
+										</td>
+									</tr>
+									<tr>
+										<td>
+											<input type="text" name="dynastyFilter" value="<%= sessionBean.getHomePage().getDynastyFilter()%>" size="10"/>
+										</td>									
+										<td>
+											<input type="image"
+												onclick="setAction('filter', 'homeForm');"
+												src="<%=sessionBean.getApplicationBean().getFilterImage()%>"/>
+										</td>							
+									</tr>
+								</table>
+							</td>
+							<td>
+								<table class="sortTable">
+									<tr>
+										<td><label class="tableTitle">Period</label></td>
+										<td>
+											<table>
+												<tr><td>
+													<input type="image" 
+														onclick="setAction('sortByPeriodUp', 'homeForm');"
+														src="<%=sessionBean.getApplicationBean().getUpImage()%>"/>										
+												</td></tr>
+												<tr><td>
+													<input type="image"
+														onclick="setAction('sortByPeriodDown', 'homeForm');"
+														src="<%=sessionBean.getApplicationBean().getDownImage()%>"/>																				
+												</td></tr>
+											</table>
+										</td>
+									</tr>
+									<tr>
+										<td>
+											<input type="text" name="periodFilter" value="<%= sessionBean.getHomePage().getPeriodFilter()%>" size="10"/>
+										</td>									
+										<td>
+											<input type="image"
+												onclick="setAction('filter', 'homeForm');"
+												src="<%=sessionBean.getApplicationBean().getFilterImage()%>"/>
+										</td>							
+									</tr>
+								</table>
+							</td>
+							<td>
+								<table class="sortTable">
+									<tr>
+										<td><label class="tableTitle">Admin Type</label></td>
+										<td>
+											<table>
+												<tr><td>
+													<input type="image" 
+														onclick="setAction('sortByAdminTypeUp', 'homeForm');"
+														src="<%=sessionBean.getApplicationBean().getUpImage()%>"/>										
+												</td></tr>
+												<tr><td>
+													<input type="image"
+														onclick="setAction('sortByAdminTypeDown', 'homeForm');"
+														src="<%=sessionBean.getApplicationBean().getDownImage()%>"/>																				
+												</td></tr>
+											</table>
+										</td>
+									</tr>
+									<tr>
+										<td>
+											<input type="text" name="adminTypeFilter" value="<%= sessionBean.getHomePage().getAdminTypeFilter()%>" size="10"/>
+										</td>									
+										<td>
+											<input type="image"
+												onclick="setAction('filter', 'homeForm');"
+												src="<%=sessionBean.getApplicationBean().getFilterImage()%>"/>
+										</td>							
+									</tr>
+								</table>
+							</td>
+							<td>
+								<table class="sortTable">
+									<tr>
+										<td><label class="tableTitle">Section Name</label></td>
+										<td>
+											<table>
+												<tr><td>
+													<input type="image" 
+														onclick="setAction('sortBySectionNameUp', 'homeForm');"
+														src="<%=sessionBean.getApplicationBean().getUpImage()%>"/>										
+												</td></tr>
+												<tr><td>
+													<input type="image"
+														onclick="setAction('sortBySectionNameDown', 'homeForm');"
+														src="<%=sessionBean.getApplicationBean().getDownImage()%>"/>																				
+												</td></tr>
+											</table>
+										</td>
+									</tr>
+									<tr>
+										<td>
+											<input type="text" name="sectionNameFilter" value="<%= sessionBean.getHomePage().getSectionNameFilter()%>" size="10"/>
+										</td>									
+										<td>
+											<input type="image"
+												onclick="setAction('filter', 'homeForm');"
+												src="<%=sessionBean.getApplicationBean().getFilterImage()%>"/>
+										</td>							
+									</tr>
+								</table>
+							</td>
+							<td>
+								<table class="sortTable">
+									<tr>
+										<td><label class="tableTitle">Pages</label></td>
+										<td>
+											<table>
+												<tr><td>
+													<input type="image" 
+														onclick="setAction('sortBySectionStartPageUp', 'homeForm');"
+														src="<%=sessionBean.getApplicationBean().getUpImage()%>"/>										
+												</td></tr>
+												<tr><td>
+													<input type="image"
+														onclick="setAction('sortBySectionStartPageDown', 'homeForm');"
+														src="<%=sessionBean.getApplicationBean().getDownImage()%>"/>																				
+												</td></tr>
+											</table>
+										</td>
+									</tr>
+								</table>
+							</td>
+							<td>
+								<table class="sortTable">
+									<tr>
+										<td><label class="tableTitle">Label</label></td>
+										<td>
+											<table>
+												<tr><td>
+													<input type="image" 
+														onclick="setAction('sortByLabelUp', 'homeForm');"
+														src="<%=sessionBean.getApplicationBean().getUpImage()%>"/>										
+												</td></tr>
+												<tr><td>
+													<input type="image"
+														onclick="setAction('sortByLabelDown', 'homeForm');"
+														src="<%=sessionBean.getApplicationBean().getDownImage()%>"/>																				
+												</td></tr>
+											</table>
+										</td>
+									</tr>
+									<tr>
+										<td>
+											<input type="text" name="labelFilter" size="20" value="<%= sessionBean.getHomePage().getLabelFilter()%>" size="10"/>
+										</td>									
+										<td>
+											<input type="image"
+												onclick="setAction('filter', 'homeForm');"
+												src="<%=sessionBean.getApplicationBean().getFilterImage()%>"/>
+										</td>							
+									</tr>
+								</table>
+							</td>
+							<td><label class="tableTitle">Contributors</label></td>
+							<td>
+								<table class="sortTable">
+									<tr>
+										<td><label class="tableTitle">Last Modified</label></td>
+										<td>
+											<table>
+												<tr><td>
+													<input type="image" 
+														onclick="setAction('sortByLastModifiedUp', 'homeForm');"
+														src="<%=sessionBean.getApplicationBean().getUpImage()%>"/>										
+												</td></tr>
+												<tr><td>
+													<input type="image"
+														onclick="setAction('sortByLastModifiedDown', 'homeForm');"
+														src="<%=sessionBean.getApplicationBean().getDownImage()%>"/>																				
+												</td></tr>
+											</table>
+										</td>
+									</tr>
+									
+								</table>
+							</td>
+							<td><label class="tableTitle">Extraction Interface</label></td>
+							<td>
+								<table class="sortTable">
+									<tr>
+										<td><label class="tableTitle">Published in Dataverse</label></td>
+										<td>
+											<table>
+												<tr><td>
+													<input type="image" 
+														onclick="setAction('sortByPublishedInDataverseUp', 'homeForm');"
+														src="<%=sessionBean.getApplicationBean().getUpImage()%>"/>										
+												</td></tr>
+												<tr><td>
+													<input type="image"
+														onclick="setAction('sortByPublishedInDataverseDown', 'homeForm');"
+														src="<%=sessionBean.getApplicationBean().getDownImage()%>"/>																				
+												</td></tr>
+											</table>
+										</td>
+									</tr>
+									
+								</table>
+							
+							</td>
+							
+							<td><label class="tableTitle">Manage</label></td>
+							<td><label class="tableTitle">Delete</label></td>
+						</tr>	
+						
+						<% for (LGBranch branch : sessionBean.getHomePage().getDisplayBranchList() ) {
+						%>
+						<tr>
+							<td><%=branch.getId() %></td>
+							<td><%=branch.getBook().getId() %></td>
+							<td><%=branch.getBook().getName() %></td>
+							<td><%=branch.getBook().getLevel1() %></td>	
+							<td><%=branch.getBook().getLevel2() %></td>
+							<td><%=branch.getBook().getDynasty() %></td>
+							<td><%=branch.getBook().getPeriod() %></td>
+							<td><%=branch.getBook().getAdmin_type() %></td>
+							<td><%=branch.getSection().getName() %> 
+								<% if (branch.isDeprecated()) { %>
+								<label style="color:red">*** This is a deprecated section ***</label>
+								<% } %>
+							</td>
+							<td><%=branch.getSection().getPages() %></td>
+							
+							<td><%=branch.getLabel() %></td>
+							<td>
+								<table style="width:120px;">
+								<% for(String contributor : branch.getContributorsNameList()) { %>
+									<tr><td><label><%= contributor %></label></td></tr>
+								<% } %>
+								</table>
+							</td>
+							<td><%=branch.getFomattedLastChange() %></td>
+							<td>
+								<a onclick="branchInExtractionInterface('<%=branch.getId() %>', '<%=branch.getCurrentLastFileId() %>', '<%=branch.getSectionId() %>', '<%=branch.getSection().getName() %>', '<%=branch.getBook().getId() %>', '<%=branch.getBook().getName() %>', '<%=sessionBean.getUser().getId() %>', '<%=sessionBean.getApplicationBean().getExtractionInterfaceUrl()%>');">
+									<img alt="Show Branch in Extraction Interface" src="<%=sessionBean.getApplicationBean().getShowImage()%>"/>
+								</a>
+							</td>
+							<!-- Dataverse -->
+							<td>
+								<%= (branch.isPublished()) ? "V":"" %>	
+							</td>
+							<td>
+								<a href="<%=sessionBean.getApplicationBean().getRootServer() %>/pages/branchPage.jsp?branchId=<%=branch.getId() %>" >
+									<img alt="Manage Branch" src="<%=sessionBean.getApplicationBean().getEditBranchImage()%>"/>
+								</a>
+							</td>
+							<td>
+								<input type="image" 
+									onclick="<%=sessionBean.getApplicationBean().getJSConfirmationDelete() %> deleteBranch('deleteBranch', 'homeForm', '<%=branch.getId() %>');" 
+									src="<%=sessionBean.getApplicationBean().getDeleteImage()%>"/>
+							</td>
+							
+					
+						</tr>
+						
+						<% } %>
+				
+					</table>
+
+				</div>
 				
 				
-				<table style="width: 90%; margin-left: auto;margin-right: auto;"  class="pageTable">
-					<tr>
-						<td>
-							<table class="sortTable">
-								<tr>
-									<td><label class="tableTitle">Branch ID</label></td>
-									<td>
-										<table>
-											<tr><td>
-												<input type="image" 
-													onclick="setAction('sortByBranchIdUp', 'homeForm');"
-													src="<%=sessionBean.getApplicationBean().getUpImage()%>"/>										
-											</td></tr>
-											<tr><td>
-												<input type="image"
-													onclick="setAction('sortByBranchIdDown', 'homeForm');"
-													src="<%=sessionBean.getApplicationBean().getDownImage()%>"/>																				
-											</td></tr>
-										</table>
-									</td>
-								</tr>
-							</table>
-						</td>
-						
-						<td>
-							<table class="sortTable">
-								<tr>
-									<td><label class="tableTitle">Book ID</label></td>
-									<td>
-										<table>
-											<tr><td>
-												<input type="image" 
-													onclick="setAction('sortByBookIdUp', 'homeForm');"
-													src="<%=sessionBean.getApplicationBean().getUpImage()%>"/>										
-											</td></tr>
-											<tr><td>
-												<input type="image"
-													onclick="setAction('sortByBookIdDown', 'homeForm');"
-													src="<%=sessionBean.getApplicationBean().getDownImage()%>"/>																				
-											</td></tr>
-										</table>
-									</td>
-								</tr>
-								<tr>
-									<td>
-										<input type="text" name="bookIdFilter" value="<%= sessionBean.getHomePage().getBookIdFilter()%>" size="10"/>
-									</td>									
-									<td>
-										<input type="image"
-											onclick="setAction('filter', 'homeForm');"
-											src="<%=sessionBean.getApplicationBean().getFilterImage()%>"/>
-									</td>							
-								</tr>
-							</table>
-						</td>
-						<td>
-							<table class="sortTable">
-								<tr>
-									<td><label class="tableTitle">Book Name</label></td>
-									<td>
-										<table>
-											<tr><td>
-												<input type="image" 
-													onclick="setAction('sortByBookNameUp', 'homeForm');"
-													src="<%=sessionBean.getApplicationBean().getUpImage()%>"/>										
-											</td></tr>
-											<tr><td>
-												<input type="image"
-													onclick="setAction('sortByBookNameDown', 'homeForm');"
-													src="<%=sessionBean.getApplicationBean().getDownImage()%>"/>																				
-											</td></tr>
-										</table>
-									</td>
-								</tr>
-								<tr>
-									<td>
-										<input type="text" name="bookNameFilter" value="<%= sessionBean.getHomePage().getBookNameFilter()%>" size="10"/>
-									</td>									
-									<td>
-										<input type="image"
-											onclick="setAction('filter', 'homeForm');"
-											src="<%=sessionBean.getApplicationBean().getFilterImage()%>"/>
-									</td>							
-								</tr>
-							</table>
-						</td>
-						<td>
-							<table class="sortTable">
-								<tr>
-									<td><label class="tableTitle">Period</label></td>
-									<td>
-										<table>
-											<tr><td>
-												<input type="image" 
-													onclick="setAction('sortByPeriodUp', 'homeForm');"
-													src="<%=sessionBean.getApplicationBean().getUpImage()%>"/>										
-											</td></tr>
-											<tr><td>
-												<input type="image"
-													onclick="setAction('sortByPeriodDown', 'homeForm');"
-													src="<%=sessionBean.getApplicationBean().getDownImage()%>"/>																				
-											</td></tr>
-										</table>
-									</td>
-								</tr>
-								<tr>
-									<td>
-										<input type="text" name="periodFilter" value="<%= sessionBean.getHomePage().getPeriodFilter()%>" size="10"/>
-									</td>									
-									<td>
-										<input type="image"
-											onclick="setAction('filter', 'homeForm');"
-											src="<%=sessionBean.getApplicationBean().getFilterImage()%>"/>
-									</td>							
-								</tr>
-							</table>
-						</td>
-						<td>
-							<table class="sortTable">
-								<tr>
-									<td><label class="tableTitle">Section Name</label></td>
-									<td>
-										<table>
-											<tr><td>
-												<input type="image" 
-													onclick="setAction('sortBySectionNameUp', 'homeForm');"
-													src="<%=sessionBean.getApplicationBean().getUpImage()%>"/>										
-											</td></tr>
-											<tr><td>
-												<input type="image"
-													onclick="setAction('sortBySectionNameDown', 'homeForm');"
-													src="<%=sessionBean.getApplicationBean().getDownImage()%>"/>																				
-											</td></tr>
-										</table>
-									</td>
-								</tr>
-								<tr>
-									<td>
-										<input type="text" name="sectionNameFilter" value="<%= sessionBean.getHomePage().getSectionNameFilter()%>" size="10"/>
-									</td>									
-									<td>
-										<input type="image"
-											onclick="setAction('filter', 'homeForm');"
-											src="<%=sessionBean.getApplicationBean().getFilterImage()%>"/>
-									</td>							
-								</tr>
-							</table>
-						</td>
-						<td>
-							<table class="sortTable">
-								<tr>
-									<td><label class="tableTitle">Label</label></td>
-									<td>
-										<table>
-											<tr><td>
-												<input type="image" 
-													onclick="setAction('sortByLabelUp', 'homeForm');"
-													src="<%=sessionBean.getApplicationBean().getUpImage()%>"/>										
-											</td></tr>
-											<tr><td>
-												<input type="image"
-													onclick="setAction('sortByLabelDown', 'homeForm');"
-													src="<%=sessionBean.getApplicationBean().getDownImage()%>"/>																				
-											</td></tr>
-										</table>
-									</td>
-								</tr>
-								<tr>
-									<td>
-										<input type="text" name="labelFilter" size="20" value="<%= sessionBean.getHomePage().getLabelFilter()%>" size="10"/>
-									</td>									
-									<td>
-										<input type="image"
-											onclick="setAction('filter', 'homeForm');"
-											src="<%=sessionBean.getApplicationBean().getFilterImage()%>"/>
-									</td>							
-								</tr>
-							</table>
-						</td>
-						<td><label class="tableTitle">Contributors</label></td>
-						<td>
-							<table class="sortTable">
-								<tr>
-									<td><label class="tableTitle">Last Modified</label></td>
-									<td>
-										<table>
-											<tr><td>
-												<input type="image" 
-													onclick="setAction('sortByLastModifiedUp', 'homeForm');"
-													src="<%=sessionBean.getApplicationBean().getUpImage()%>"/>										
-											</td></tr>
-											<tr><td>
-												<input type="image"
-													onclick="setAction('sortByLastModifiedDown', 'homeForm');"
-													src="<%=sessionBean.getApplicationBean().getDownImage()%>"/>																				
-											</td></tr>
-										</table>
-									</td>
-								</tr>
-								
-							</table>
-						</td>
-						<td><label class="tableTitle">Extraction Interface</label></td>
-						<td>
-							<table class="sortTable">
-								<tr>
-									<td><label class="tableTitle">Published in Dataverse</label></td>
-									<td>
-										<table>
-											<tr><td>
-												<input type="image" 
-													onclick="setAction('sortByPublishedInDataverseUp', 'homeForm');"
-													src="<%=sessionBean.getApplicationBean().getUpImage()%>"/>										
-											</td></tr>
-											<tr><td>
-												<input type="image"
-													onclick="setAction('sortByPublishedInDataverseDown', 'homeForm');"
-													src="<%=sessionBean.getApplicationBean().getDownImage()%>"/>																				
-											</td></tr>
-										</table>
-									</td>
-								</tr>
-								
-							</table>
-						
-						</td>
-						
-						<td><label class="tableTitle">Manage</label></td>
-						<td><label class="tableTitle">Delete</label></td>
-					</tr>	
-					
-					<% for (LGBranch branch : sessionBean.getHomePage().getDisplayBranchList() ) {
-					%>
-					<tr>
-						<td><%=branch.getId() %></td>
-						<td><%=branch.getBook().getId() %></td>
-						<td><%=branch.getBook().getName() %></td>
-						<td><%=branch.getBook().getPeriod() %></td>
-						
-						<td><%=branch.getSection().getName() %> 
-							<% if (branch.isDeprecated()) { %>
-							<label style="color:red">*** This is a deprecated section ***</label>
-							<% } %>
-						</td>
-						
-						<td><%=branch.getLabel() %></td>
-						<td>
-							<table style="width:120px;">
-							<% for(String contributor : branch.getContributorsNameList()) { %>
-								<tr><td><label><%= contributor %></label></td></tr>
-							<% } %>
-							</table>
-						</td>
-						<td><%=branch.getFomattedLastChange() %></td>
-						<td>
-							<a onclick="branchInExtractionInterface('<%=branch.getId() %>', '<%=branch.getCurrentLastFileId() %>', '<%=branch.getSectionId() %>', '<%=branch.getSection().getName() %>', '<%=branch.getBook().getId() %>', '<%=branch.getBook().getName() %>', '<%=sessionBean.getUser().getId() %>', '<%=sessionBean.getApplicationBean().getExtractionInterfaceUrl()%>');">
-								<img alt="Show Branch in Extraction Interface" src="<%=sessionBean.getApplicationBean().getShowImage()%>"/>
-							</a>
-						</td>
-						<!-- Dataverse -->
-						<td>
-							<%= (branch.isPublished()) ? "V":"X" %>	
-						</td>
-						<td>
-							<a href="<%=sessionBean.getApplicationBean().getRootServer() %>/pages/branchPage.jsp?branchId=<%=branch.getId() %>" >
-								<img alt="Manage Branch" src="<%=sessionBean.getApplicationBean().getEditBranchImage()%>"/>
-							</a>
-						</td>
-						<td>
-							<input type="image" 
-								onclick="<%=sessionBean.getApplicationBean().getJSConfirmationDelete() %> deleteBranch('deleteBranch', 'homeForm', '<%=branch.getId() %>');" 
-								src="<%=sessionBean.getApplicationBean().getDeleteImage()%>"/>
-						</td>
-						
-					</tr>
-					
-					<% } %>
-				</table>
-				<!-- 
-				<table>
-					<tr>
-						<td><input type="submit" value="Reload" onclick="setAction('reloadBranches', 'homeForm');"/> </td>
-					</tr>
-				</table>
-				 -->
-				 <jsp:include page="../componentes/paginator.jsp">
+				<jsp:include page="../componentes/paginator.jsp">
 					<jsp:param name="formName" value="homeForm"/>
 				</jsp:include>