annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
jurzua
parents:
diff changeset
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
jurzua
parents:
diff changeset
2 <html xmlns="http://www.w3.org/1999/xhtml"
jurzua
parents:
diff changeset
3 xmlns:h="http://java.sun.com/jsf/html"
jurzua
parents:
diff changeset
4 xmlns:f="http://java.sun.com/jsf/core"
jurzua
parents:
diff changeset
5 xmlns:ui="http://java.sun.com/jsf/facelets"
jurzua
parents:
diff changeset
6 xmlns:a4j="http://richfaces.org/a4j"
jurzua
parents:
diff changeset
7 xmlns:rich="http://richfaces.org/rich">
jurzua
parents:
diff changeset
8
jurzua
parents:
diff changeset
9 <body>
jurzua
parents:
diff changeset
10 <ui:composition template="/templates/publicTemplate.xhtml">
jurzua
parents:
diff changeset
11
jurzua
parents:
diff changeset
12 <ui:define name="publicContent">
jurzua
parents:
diff changeset
13
jurzua
parents:
diff changeset
14 <h:outputStylesheet name="/css/ismi-db/display.css" />
jurzua
parents:
diff changeset
15
jurzua
parents:
diff changeset
16 <div id="pageTitle">
jurzua
parents:
diff changeset
17 <h:outputText value="Codex Overview" />
jurzua
parents:
diff changeset
18 </div>
jurzua
parents:
diff changeset
19
jurzua
parents:
diff changeset
20 <h:panelGrid columns="1" styleClass="codexOverview">
jurzua
parents:
diff changeset
21
jurzua
parents:
diff changeset
22 <h:panelGrid columns="2" columnClasses="codexOverviewTableColumn01,codexOverviewTableColumn02">
jurzua
parents:
diff changeset
23 <h:panelGroup>
jurzua
parents:
diff changeset
24 <h:outputLink value="#{ApplicationBean1.root}/public/publicCodex.jsp?eid=#{Session.publicCodexView.codex.id}">
jurzua
parents:
diff changeset
25 <h:outputLabel value="#{Session.publicCodexView.codex.ownValue}"/>
jurzua
parents:
diff changeset
26 </h:outputLink>
jurzua
parents:
diff changeset
27 </h:panelGroup>
jurzua
parents:
diff changeset
28
jurzua
parents:
diff changeset
29 <h:panelGrid columns="1">
jurzua
parents:
diff changeset
30 <rich:dataTable value="#{Session.publicCodexView.witnessList}" var="witness" rendered="#{!empty Session.publicCodexView.witnessList}">
jurzua
parents:
diff changeset
31 <rich:column >
jurzua
parents:
diff changeset
32 <f:facet name="header">
jurzua
parents:
diff changeset
33 <h:outputText value="Titles" />
jurzua
parents:
diff changeset
34 </f:facet>
jurzua
parents:
diff changeset
35 <h:outputLink value="#{ApplicationBean1.root}/public/publicWitness.jsp?eid=#{witness.id}">
jurzua
parents:
diff changeset
36 <h:outputText value="#{witness.label}" />
jurzua
parents:
diff changeset
37 </h:outputLink>
jurzua
parents:
diff changeset
38 </rich:column>
jurzua
parents:
diff changeset
39 </rich:dataTable>
jurzua
parents:
diff changeset
40 </h:panelGrid>
jurzua
parents:
diff changeset
41
jurzua
parents:
diff changeset
42 </h:panelGrid>
jurzua
parents:
diff changeset
43 </h:panelGrid>
jurzua
parents:
diff changeset
44 </ui:define>
jurzua
parents:
diff changeset
45 </ui:composition>
jurzua
parents:
diff changeset
46 </body>
jurzua
parents:
diff changeset
47 </html>