map.xhtml 2.5 KB
Newer Older
piotr.gawron's avatar
piotr.gawron committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<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:c="http://java.sun.com/jsp/jstl/core"
	xmlns:p="http://primefaces.org/ui">

  <h:outputStylesheet library="css" name="map.css"/>

 	<h:form id="_gmapForm">
		 	<p:galleria id="legend" styleClass="legendBox" panelWidth="600" panelHeight="480">
   			<h:panelGroup layout="block" rendered ="#{not empty configurationMB.legendFile1}">
          <img src="#{configurationMB.legendFile1}" alt="legend 1/4"/>
  			</h:panelGroup>
  			<h:panelGroup layout="block" rendered ="#{not empty configurationMB.legendFile2}">
          <img src="#{configurationMB.legendFile2}" alt="legend 2/4"/>
  			</h:panelGroup>
  			<h:panelGroup layout="block" rendered ="#{not empty configurationMB.legendFile3}">
          <img src="#{configurationMB.legendFile3}" alt="legend 3/4"/>
  			</h:panelGroup>
  			<h:panelGroup layout="block" rendered ="#{not empty configurationMB.legendFile4}">
          <img src="#{configurationMB.legendFile4}" alt="legend 4/4"/>
  			</h:panelGroup>
			</p:galleria>
			
26
27
			<p:contextMenu id="contextMenu" model="#{exportMB.contextMenu}" />	
			<p:contextMenu id="selectionContextMenu" model="#{exportMB.imageExportMenu}" />	
piotr.gawron's avatar
piotr.gawron committed
28
29
30
31
32
33
34
35
36
37

			<p:dialog header="Overview" id="overviewDialog" widgetVar="overviewDialog" width="70%" height="100%" resizable="false">
				<div id="overviewContainer" class="overviewContainerClass"> 
					<div id="overviewDiv" class="overviewDivClass"></div>
					<canvas id="canvasDebug" class="canvasDebugClass"/>
				</div> 
			</p:dialog> 

	</h:form>

38
39
40
41
42
	<h:form id="overlayConfigForm">
		<h:inputHidden id="userMinColor" value="#{userMB.loggedUser.minColor}"/>
		<h:inputHidden id="userMaxColor" value="#{userMB.loggedUser.maxColor}"/>
		<h:inputHidden id="systemMinColor" value="#{configurationMB.minColor}"/>
		<h:inputHidden id="systemMaxColor" value="#{configurationMB.maxColor}"/>
piotr.gawron's avatar
piotr.gawron committed
43
44
45
46
47
48
49
50
51
52
53
54
55
56
	</h:form>

	<h:form id="accessReferenceGenomeForm">
		<p:remoteCommand name="_sendReferenceGenomeDetailRequest" actionListener="#{referenceGenomeMB.requestJavasciptGenomeDetails}" />
	</h:form>

  <!-- loading dialog used for informing user that data is being loaded -->  
  <p:dialog header="Loading" widgetVar="loadingDlg" resizable="false" id="loadingDlg"	
								showEffect="fade" modal="true" closable="false">	
		<p:graphicImage library="images" name="icons/ajax-loader.gif"/>
	</p:dialog>	
	
</html>