1 | <%@ page contentType="text/html" %> |
---|
2 | <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %> |
---|
3 | <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %> |
---|
4 | <%@ taglib uri="http://java.sun.com/jstl/core" prefix="jstl" %> |
---|
5 | |
---|
6 | |
---|
7 | <f:view> |
---|
8 | <script language="JavaScript" src="../JavaScript/global.js"> </script> |
---|
9 | <script language="JavaScript" src="../JavaScript/selectSouris.js"> </script> |
---|
10 | |
---|
11 | <head> |
---|
12 | <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1"> |
---|
13 | <title>Eccad</title> |
---|
14 | <link rel="stylesheet" href="../css/Eccad.css" type="text/css" media="all"/> |
---|
15 | <link rel="stylesheet" href="../css/carte.css" type="text/css" media="all"/> |
---|
16 | <link rel="stylesheet" href="../css/panel.css" type="text/css" media="all"/> |
---|
17 | <script type="text/javascript"> |
---|
18 | function colorNbrGrille() { |
---|
19 | nbrGrill = document.getElementById("form_carte:nbrGrille").value; |
---|
20 | spanGrill = document.getElementById("span_nbrgr"); |
---|
21 | |
---|
22 | if (spanGrill == null) |
---|
23 | return; |
---|
24 | |
---|
25 | if (nbrGrill <= 15) |
---|
26 | spanGrill.style.color= "#009900"; |
---|
27 | if (nbrGrill > 15 && nbrGrill <= 150) |
---|
28 | spanGrill.style.color= "#999900"; |
---|
29 | if (nbrGrill > 150 || nbrGrill == 0) |
---|
30 | spanGrill.style.color = "#990000"; |
---|
31 | } |
---|
32 | </script> |
---|
33 | </head> |
---|
34 | |
---|
35 | |
---|
36 | <body onload="javascript:initCoordonneeCarte();initTabs('tab1');"> |
---|
37 | <h:form id="form_carte"> |
---|
38 | <div id="page"> |
---|
39 | <jstl:import url="./commun/bandeauhaut.jsp"/> |
---|
40 | |
---|
41 | <!-- <div id="page"> --> |
---|
42 | <div id="centre"> |
---|
43 | <table border="0" cellpadding="0" cellspacing="0" width="100%" height="100%" align="left" style="border: none; border-width: 0px"><tr valign="top" ><td width="150px"> |
---|
44 | <div class="navigV"> |
---|
45 | <div style="width: 100%; margin-top: 10px" align="center"> |
---|
46 | <h:graphicImage value="/images/ECCAD_small.gif" width="100px"></h:graphicImage> |
---|
47 | </div> |
---|
48 | <div class="nom" style="width: 100%;"> |
---|
49 | <h:outputLink value="./page_emission.jsf"><f:verbatim>Emission Factor</f:verbatim></h:outputLink> |
---|
50 | </div> |
---|
51 | <div class="valeur"> |
---|
52 | Product Name : <h:commandLink styleClass="valeur" onclick="javascript:window.open('./page_metadata.jsf?produit=#{emissionBean.facteur.produit.id_item}', 'Metadata', 'menubar=yes,status=yes,location=no,scrollbars=yes,resizable=yes,width=600')" value="#{emissionBean.facteur.produit.name_item}"/> |
---|
53 | </div> |
---|
54 | <div class="valeur"> |
---|
55 | Emission : <h:outputText value="#{emissionBean.facteur.gaz.name_item}"></h:outputText> |
---|
56 | </div> |
---|
57 | <div class="nom" style="width: 100%;"> |
---|
58 | <h:outputLink value="./page_em_landcover.jsf"><f:verbatim>Land Cover</f:verbatim></h:outputLink> |
---|
59 | </div> |
---|
60 | <div class="valeur"> |
---|
61 | <h:commandLink styleClass="valeur" onclick="javascript:window.open('./page_metadata.jsf?produit=#{emissionBean.landcover.landproduit.id_item}', 'Metadata', 'menubar=yes,status=yes,location=no,scrollbars=yes,resizable=yes,width=600')" value="#{emissionBean.landcover.landproduit.name_item}"/> |
---|
62 | </div> |
---|
63 | <div class="valeur"> |
---|
64 | <h:dataTable var="classSelection" value="#{emissionBean.landcover.selectedClass}" styleClass="recap" rowClasses="recap"> |
---|
65 | <h:column> |
---|
66 | <h:outputText escape="false" value="- "/><h:outputText value="#{classSelection}" /> |
---|
67 | </h:column> |
---|
68 | </h:dataTable> |
---|
69 | </div> |
---|
70 | <div class="nom" style="width: 100%;"> |
---|
71 | Burnt Area |
---|
72 | </div> |
---|
73 | <div class="valeur"> |
---|
74 | <h:commandLink styleClass="valeur" onclick="javascript:window.open('./page_metadata.jsf?produit=#{emissionBean.burnt.burnt.id_item}', 'Metadata', 'menubar=yes,status=yes,location=no,scrollbars=yes,resizable=yes,width=600')" value="#{emissionBean.burnt.burnt.name_item}"/> |
---|
75 | </div> |
---|
76 | </div><!-- ferme navigV --> |
---|
77 | </td><td width="100%"> |
---|
78 | <h:inputHidden id="clicX" value="#{emissionBean.resultat.clicX}"/> |
---|
79 | <h:inputHidden id="clicY" value="#{emissionBean.resultat.clicY}"/> |
---|
80 | <h:inputHidden id="latitude_max" value="#{emissionBean.resultat.zone_affichee.northbc}"/> |
---|
81 | <h:inputHidden id="latitude_min" value="#{emissionBean.resultat.zone_affichee.southbc}"/> |
---|
82 | <h:inputHidden id="longitude_max" value="#{emissionBean.resultat.zone_affichee.eastbc}"/> |
---|
83 | <h:inputHidden id="longitude_min" value="#{emissionBean.resultat.zone_affichee.westbc}"/> |
---|
84 | |
---|
85 | <div class="contenu"> |
---|
86 | <!--<jstl:import url="./commun/tabs.jsp"/>--> |
---|
87 | <div class="mainBody" style="margin-top: 5px;"> |
---|
88 | <div class="pageEccad" id="import_visu"> |
---|
89 | <div class="selection" style="position: relative; width: 720px; height: 225px;"> |
---|
90 | <div style="width: 350px; float: left;"> |
---|
91 | <div id="DateStudy" class="bloc" style="width: 100%;"> |
---|
92 | <div class="legendbloc">Grid Selection</div> |
---|
93 | <table width="100%"><tr><td width="30%" align="left" class="valeur"> |
---|
94 | |
---|
95 | <h:outputText value="Date"/> |
---|
96 | |
---|
97 | </td><td width="70%"> |
---|
98 | |
---|
99 | <h:selectOneMenu style="width: 100%;" value="#{emissionBean.resultat.grille_id}" binding="#{emissionBean.resultat.grilleUI}" onchange="javascript:clicDefault();submit();" valueChangeListener="#{emissionBean.resultat.majGrille}"> |
---|
100 | <f:selectItems value="#{emissionBean.resultat.liste_grille}"/> |
---|
101 | </h:selectOneMenu> |
---|
102 | |
---|
103 | </td></tr> |
---|
104 | </table> |
---|
105 | </div> <!-- ferme study grid --> |
---|
106 | |
---|
107 | </div><div style="width: 100px; height: 1px; background-color: transparent; position: relative;"></div> |
---|
108 | |
---|
109 | <div class="bloc" style="width: 250px; float: right;"> <!-- Visualized area --> |
---|
110 | <div class="legendbloc">Visualized area</div> |
---|
111 | |
---|
112 | <table class="valeur"> |
---|
113 | <tr> |
---|
114 | <td class="valeur"></td> |
---|
115 | <td class="valeur">Upper Left Corner</td> |
---|
116 | <td class="valeur" style="border-left: solid; border-width: 1px">Lower Right Corner</td> |
---|
117 | </tr> |
---|
118 | <tr> |
---|
119 | <td class="valeur" style="border-top: solid; border-width: 1px">Latitude</td> |
---|
120 | <td class="valeur" style="border-top: solid; border-width: 1px" > |
---|
121 | |
---|
122 | <h:outputText id="UpLeftLat" value="#{emissionBean.resultat.zone_affichee.northbcN}" binding="#{emissionBean.resultat.northbc}"/> |
---|
123 | |
---|
124 | </td> |
---|
125 | <td class="valeur" style="border-top: solid; border-left: solid; border-width: 1px"> |
---|
126 | |
---|
127 | <h:outputText id="LowRightLat" value="#{emissionBean.resultat.zone_affichee.southbcN}" binding="#{emissionBean.resultat.southbc}"/> |
---|
128 | |
---|
129 | </td> |
---|
130 | </tr> |
---|
131 | <tr> |
---|
132 | <td class="valeur" style="border-top: solid; border-width: 1px">Longitude</td> |
---|
133 | <td class="valeur" style="border-top: solid; border-width: 1px"> |
---|
134 | |
---|
135 | <h:outputText id="UpLeftLon" value="#{emissionBean.resultat.zone_affichee.westbcN}" binding="#{emissionBean.resultat.westbc}"/> |
---|
136 | |
---|
137 | </td> |
---|
138 | <td class="valeur" style="border-top: solid; border-left: solid; border-width: 1px"> |
---|
139 | |
---|
140 | <h:outputText id="LowRightLon" value="#{emissionBean.resultat.zone_affichee.eastbcN}" binding="#{emissionBean.resultat.eastbc}"/> |
---|
141 | |
---|
142 | </td></tr></table> |
---|
143 | </div> <!-- ferme zone study --> |
---|
144 | </div> |
---|
145 | </div> |
---|
146 | <table width="100%" cellpadding="0" cellspacing="0" border="0"> |
---|
147 | <tr><td width="730px"> |
---|
148 | <div class="pageEccad" align="center" style="height: 370px; width: 730px"> |
---|
149 | |
---|
150 | |
---|
151 | |
---|
152 | <div class="image"> |
---|
153 | <h:commandButton id="carte" image="#{emissionBean.resultat.url}" |
---|
154 | onclick="javascript:onClicCarte(event)" |
---|
155 | actionListener="#{emissionBean.resultat.clicOnCarte}" |
---|
156 | onmouseover="javascript:montrerPositionSouris(event)" |
---|
157 | onmousemove="javascript:positionSouris(event)" |
---|
158 | onmouseout="javascript:cacherPositionSouris()" |
---|
159 | /> |
---|
160 | <div class="position" id="position1" align="left" |
---|
161 | onmouseover="javascript:deplacerPositionSouris(event)" |
---|
162 | >lat/lon</div> |
---|
163 | <div style="position: absolute; width: 750px; height: 390px; top:-10px; left:-10px;border-style: solid; border-width: 2px; display: none;" id="calque_chargement" align="center" |
---|
164 | ><div style="position: relative;top: 150px; font-size: x-large; background-color: #000099; color: white;" align="center">map loading please wait</div></div> |
---|
165 | </div> |
---|
166 | |
---|
167 | <div id="resizediv" style="position: absolute; bottom: -40px; right: 5px; z-index: 10; visibility: visible;"> |
---|
168 | <h:commandButton id="resize" actionListener="#{emissionBean.resultat.resetCarte}" value="default" styleClass="commandbouton" onclick="javascript:clicDefault();"/> |
---|
169 | <br/>Click on map to zoom |
---|
170 | </div><!-- ferme le div du bouton --> |
---|
171 | <div></div> |
---|
172 | </div><!-- ferme pageEccad --> |
---|
173 | </td><td align="left"> |
---|
174 | <div class="pageEccad" style="width:200px ;height: 365px; overflow: auto;"> |
---|
175 | <h:graphicImage value="#{emissionBean.resultat.url_legend}"/> |
---|
176 | </div> |
---|
177 | </td></tr> |
---|
178 | </table> |
---|
179 | <div class="bloc" style="position: relative; margin-left: 5px; width: 720px; height: 50px; margin-top: 40px; border-style: none; background-color: transparent;"> |
---|
180 | |
---|
181 | <div style="position: absolute; top: 30px; right: 10px"> |
---|
182 | <h:commandButton action="page_emission" value="new request" styleClass="commandbouton"/> |
---|
183 | </div> |
---|
184 | </div><!-- ferme conteneur bouton --> |
---|
185 | </div> |
---|
186 | </div><!-- ferme contenu --> |
---|
187 | </td></tr></table> |
---|
188 | </div> <!-- ferme centre --> |
---|
189 | <!-- </div><!-- ferme page --> |
---|
190 | <div style="position: relative; width: 1100px; height: 1px; background-color: transparent;"></div> |
---|
191 | </div><!-- ferme page --> |
---|
192 | <div id="loupe" style="position: absolute; visibility: hidden;"> |
---|
193 | <img src="../images/loupe.gif"/> |
---|
194 | </div> |
---|
195 | </h:form> |
---|
196 | </body> |
---|
197 | </f:view> |
---|