view src/main/webapp/public/dynamicPage.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="title">ISMI - simple search</ui:define>

		<ui:define name="publicContent">
		
			<h:outputStylesheet name="/css/ismi-db/display.css" />
			<div id="simpleSearch">
				<div id="pageTitle">
					<h:outputText value="#{Session.dynamicPage.page.label}" />
				</div>
			</div>
			
			<div class="dynamicAttTable">
				
				
				<rich:dataTable
					value="#{Session.dynamicPage.labels}"
					var="attLabel">
					
					<rich:column>
						<h:outputText 
						value="#{attLabel}"/>						
					</rich:column>
					
					<rich:column>
						<rich:dataTable
							value="#{Session.dynamicPage.attMap[attLabel]}"
							var="value">
							<rich:column style="text-align:#{Session.dynamicPage.attMapTextAlign[attLabel]};">
								<h:outputText 
									value="#{value}"/>						
							</rich:column>
						</rich:dataTable>			
					</rich:column>
					
				</rich:dataTable>
				
				
				

			</div>


		</ui:define>
    </ui:composition>
</body>
</html>