view src/main/webapp/public/publicCodices.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/privateTemplate.xhtml">

		<ui:define name="privateContent">

			<h:outputStylesheet name="/css/ismi-db/display.css" />

			<div id="pageTitle">
				<h:outputText value="Public Codices" />
			</div>
			
			<h:panelGrid columns="1" styleClass="publicCodices">
					
					<h:panelGroup>
						<h:inputText 
							value="#{Session.publicCodexBean.term}"
							style="width: 200px;"/> 
						<h:commandButton
							value="Submit"
							actionListener="#{Session.publicCodexBean.listenerSearch}"/>
						<h:commandButton
							value="Reset"
							actionListener="#{Session.publicCodexBean.listenerReset}"/>							
					</h:panelGroup>
					
					<rich:dataTable
						value="#{Session.publicCodexBean.currentCodexList}"
						var="codex">
						
						<rich:column style="border:none;">
							<h:outputLink value="#{ApplicationBean1.root}/public/publicCodexOverview.xhtml?eid=#{codex.id}">
								<h:outputText value="#{codex.ownValue}"/>
							</h:outputLink>
							
						</rich:column>
						
					</rich:dataTable>	
				
				
			</h:panelGrid>
		</ui:define>
	</ui:composition>
</body>
</html>