view src/main/webapp/search/biographies.xhtml @ 199:8af530c5b4cd

new find-lost-alias function in clean menu to delete aliases without relations.
author Robert Casties <casties@mpiwg-berlin.mpg.de>
date Wed, 23 Jan 2019 20:28:00 +0100
parents 764f47286679
children
line wrap: on
line source

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:a4j="http://richfaces.org/a4j"
	xmlns:rich="http://richfaces.org/rich">

<body>
	<ui:composition template="/templates/publicTemplate.xhtml">

		<ui:define name="publicContent">

			<h:outputStylesheet name="/css/ismi-db/display.css" />
			
			<div id="pageTitle">
				<h:outputText value="Biographies" />
			</div>
			
			
			<h:panelGrid columns="1" styleClass="mainPanel">
				
				<a name="#top"/>
				<a4j:repeat 
					value="#{ApplicationBean1.biographyBean.indexList}" 
					var="menuItem">
					<rich:panel style="float:left; width:25px; padding:0px;">
						<a href="##{menuItem}">#{menuItem}</a>
					</rich:panel>	
				</a4j:repeat>
				
				<h:dataTable 
					value="#{ApplicationBean1.biographyBean.indexList}" 
					var="index"
					styleClass="resultSetBiography">
					<h:column>
						<h:panelGrid columns="1" style="width:100%;text-align: left;">
							<a name="#{index}"></a>
							<h:outputText value="#{index}"/>
							<h:dataTable 
								value="#{ApplicationBean1.biographyBean.biographyMap[index]}" 
								var="bio"
								styleClass="resultSetContentBiography">
								<h:column>
								
									<h:outputText value="#{bio.label}"/>
									
									<h:outputLink
										target="_blank" 
										value="#{bio.biographyUrl}" title="Biography"
										styleClass="displayButton">
										<h:graphicImage 
											value="#{ApplicationBean1.imgPerson32}"
											width="18" height="18"/>
									</h:outputLink>	
									
									<h:outputLink
										target="_blank" 
										value="#{ApplicationBean1.root}/search/displayAuthor.xhtml?personId=#{bio.personId}" title="Person viewer"
										styleClass="displayButton">
										<h:graphicImage 
											value="#{ApplicationBean1.displayImage}"
											width="18" height="18"/>
									</h:outputLink>	
									
									<h:outputLink
										target="_blank" 
										value="#{ApplicationBean1.root}/browse/entityDetails.xhtml?eid=#{bio.personId}" title="Metadata of the entity"
										styleClass="displayButton">
										<h:graphicImage 
											value="#{ApplicationBean1.imgNetwork32}"
											width="18" height="18"/>
									</h:outputLink>	
									
									<h:outputLink
										value="#{ApplicationBean1.root}/entry/createEntity.xhtml?eid=#{bio.personId}" 
										title="Edit this person"
										styleClass="displayButton"
										rendered="#{Session.canCreate}">
										<h:graphicImage 
											value="#{ApplicationBean1.imgEdit32}"
											width="18" height="18"/>
									</h:outputLink>										
	
								</h:column>
							</h:dataTable>
							<p style="width:100%;" align="right">
								<a href="#top">return to top</a>
							</p>
						</h:panelGrid>
					</h:column>
						
				</h:dataTable>
				
			</h:panelGrid>
			
		</ui:define>
	</ui:composition>
</body>

</html>