view src/main/webapp/public/publicCodexOverview.xhtml @ 34:9087a4623a08

Temporary Fix: Minor layout issues with info box on left of codex pages. Previously: - Choosing "view more" under Witness Information would make the information spill out over the rest of the page (outside the info box on the left). Fixed: - Now when "view more" is selected the overflow for Witness Information is contained within the page division. Suitable for laptop use but likely a little more difficult with a keyboard and mouse. - Also made slight adjustment to let diva viewer and info box have similar heights. - Vertically scrolling through info box now works well. To-Do: *The data under "view more" in Witness Info is being taken in an odd way from the database (tables within tables forming, etc)* Signed-off-by: Alistair-Russell <russell.alistair@gmail.com>
author arussell
date Thu, 21 May 2015 22:27:14 +0000
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="Codex Overview" />
			</div>
			
			<h:panelGrid columns="1" styleClass="codexOverview">
				
				<h:panelGrid columns="2" columnClasses="codexOverviewTableColumn01,codexOverviewTableColumn02">
					<h:panelGroup>
						<h:outputLink value="#{ApplicationBean1.root}/public/publicCodex.jsp?eid=#{Session.publicCodexView.codex.id}">
							<h:outputLabel value="#{Session.publicCodexView.codex.ownValue}"/>
						</h:outputLink>
					</h:panelGroup>
					
					<h:panelGrid columns="1">
						<rich:dataTable value="#{Session.publicCodexView.witnessList}" var="witness"  rendered="#{!empty Session.publicCodexView.witnessList}">
							<rich:column >
				                <f:facet name="header">
				                    <h:outputText value="Titles" />
				                </f:facet>							
								<h:outputLink value="#{ApplicationBean1.root}/public/publicWitness.jsp?eid=#{witness.id}">
									<h:outputText value="#{witness.label}" />
								</h:outputLink>
							</rich:column>			
						</rich:dataTable>						
					</h:panelGrid>
					
				</h:panelGrid>	
			</h:panelGrid>
		</ui:define>
	</ui:composition>
</body>
</html>