Changeset 170 for ether_megapoli/trunk/web/resources/templates/template.jsp
- Timestamp:
- 08/26/11 20:24:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ether_megapoli/trunk/web/resources/templates/template.jsp
r155 r170 1 <%@ page language="java" import="com.medias. *" %>2 <%@ taglib uri="/WEB-INF/tlds/struts-tiles.tld" prefix="tiles" %>3 <%@ taglib uri="/WEB-INF/tlds/struts-html.tld" prefix="html" %>4 <%@ taglib uri="/WEB-INF/tlds/struts-bean.tld" prefix="bean" %>5 <%@ taglib uri="/WEB-INF/tlds/struts-logic.tld" prefix="logic" %>6 <%@ taglib uri="/WEB-INF/tlds/struts-nested.tld" prefix="nested" %>1 <%@ page language="java" import="com.medias.Context" %> 2 <%@ taglib uri="/WEB-INF/tlds/struts-tiles.tld" prefix="tiles" %> 3 <%@ taglib uri="/WEB-INF/tlds/struts-html.tld" prefix="html" %> 4 <%@ taglib uri="/WEB-INF/tlds/struts-bean.tld" prefix="bean" %> 5 <%@ taglib uri="/WEB-INF/tlds/struts-logic.tld" prefix="logic" %> 6 <%@ taglib uri="/WEB-INF/tlds/struts-nested.tld" prefix="nested" %> 7 7 8 8 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> … … 11 11 <html> 12 12 <head> 13 14 15 16 17 18 19 20 13 <title><tiles:getAsString name="title"/></title> 14 <meta http-equiv="content-type" content="text/html; charset=UTF-8"> 15 <META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE"> 16 <link rel="stylesheet" type="text/css" href="<html:rewrite page='/resources/css/medias_new.css'/>"> 17 <link rel="stylesheet" type="text/css" href="<html:rewrite page='/resources/css/megapoli.css'/>"> 18 <link rel="shortcut icon" href="<html:rewrite page='/resources/images/megapoli/favicon.ico'/>"> 19 <script src="<html:rewrite page='/resources/js/maj.js'/>"></script> 20 <script src="<html:rewrite page='/resources/js/medias/ajax.js'/>"></script> 21 21 <script src="<html:rewrite page='/resources/js/medias/scw.js'/>"></script> 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 22 <script type="text/javascript"> 23 <!-- 24 var popup; 25 26 function popupWindow (url, name, configuration) 27 { 28 popup = window.open (url, name, configuration); 29 } 30 31 function closePopupWindow () 32 { 33 popup.close (); 34 } 35 --> 36 </script> 37 37 </head> 38 38 39 39 <body> 40 40 <a name="top"></a> 41 41 42 42 <%-- VARIABLES A NE PAS TOUCHER !!! --%> 43 44 45 46 47 48 49 50 43 <bean:define type="java.lang.String" id="today" value="<%=Context.getSimpleDate()%>"/> 44 <bean:define type="java.lang.String" id="lastModified" value="<%=Context.getLastModified(request, application)%>"/> 45 <bean:define type="java.lang.String" id="racine" value="<%=Context.getWebroot(request)%>"/> 46 <bean:define type="java.lang.String" id="relativePageUri" value="<%=Context.getRelativePageURI(request)%>"/> 47 <bean:define type="java.lang.String" id="lang" value="<%=Context.getLangue(request)%>"/> 48 <bean:define type="java.lang.String" id="webmaster" value="<%=Context.getWebmaster(request)%>"/> 49 <bean:define type="java.lang.String" id="chemin" value="<%=request.getContextPath()%>"/> 50 51 51 <div id="container"> 52 53 54 55 56 57 58 59 60 61 62 <div id="pageMiddle"> 63 64 65 52 <div id="pageHeader"> 53 <%-- le logo --%> 54 55 <%-- Le titre général du site --%> 56 <h2><%--<u>M</u>egacities: <u>E</u>missions, urban, regional and <u>G</u>lobal <u>A</u>tmospheric <u>POL</u>lution and climate effects, and <u>I</u>ntegrated tools for assessment and mitigation--%> 57 <bean:message key="app.fulltitle"/> 58 </h2> 59 </div> 60 61 62 <div id="pageMiddle"> 63 <div id="pageMenu"> 64 <div id="util"> 65 66 66 <html:link page="/index.jsp"> 67 68 69 67 <html:img page="/resources/images/utils/home.jpg" titleKey="app.home" altKey="app.home"/> 68 </html:link> 69 70 70 <html:link href="mailto:${webmaster}?subject=[MEGAPOLI]"> 71 72 71 <html:img page="/resources/images/utils/enveloppe.jpg" titleKey="app.webmaster" altKey="app.webmaster"/> 72 </html:link> 73 73 74 74 <%--html:link page="/sitemap/sitemap.jsp"> 75 <html:img page="/images/utils/sitemap.png" titleKey="app.sitemap" altKey="app.sitemap"/>76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 <html:img page="/resources/images/utils/logout.gif" titleKey="app.disconnect" altKey="app.disconnect" onmouseover="this.src='${chemin}/images/utils/logout2.gif'" onmouseout="this.src='${chemin}/images/utils/logout.gif'"/>93 94 95 96 97 75 <html:img page="/resources/images/utils/sitemap.png" titleKey="app.sitemap" altKey="app.sitemap"/> 76 </html:link--%> 77 <%-- Internationalisation --%> 78 <logic:notEqual name="lang" value="en"> 79 <html:link page="/English.do" paramName="relativePageUri" paramId="requestUri" titleKey="app.en"> 80 <html:img page="/resources/images/utils/gb.png" alt="gb"/> 81 </html:link> 82 </logic:notEqual> 83 <logic:equal name="lang" value="en"> 84 <html:link page="/French.do" paramName="relativePageUri" paramId="requestUri" titleKey="app.fr"> 85 <html:img page="/resources/images/utils/fr.png" alt="fr"/> 86 </html:link> 87 </logic:equal> 88 89 <%-- le lien pour se déconnecter de l'application --%> 90 <%--logic:present name="SES_USER" scope="session"> 91 <html:link page="/Disconnect.do"> 92 <html:img page="/resources/images/utils/logout.gif" titleKey="app.disconnect" altKey="app.disconnect" onmouseover="this.src='${chemin}/resources/images/utils/logout2.gif'" onmouseout="this.src='${chemin}/resources/images/utils/logout.gif'"/> 93 </html:link> 94 </logic:present--%> 95 </div> 96 97 <div id="plan"> 98 98 <%-- le menu --%> 99 <%--div id="menuItem"> 100 <html:link page="/projet/projet.jsp"> 101 <h3> <bean:message key="projet"/></h3> 102 </html:link> 103 <ul> 104 <li><html:link page="/projet/introduction.jsp"> 105 <bean:message key="projet.intro"/> 106 </html:link></li> 107 <li><html:link page="/projet/objectifs.jsp"> 108 <bean:message key="projet.objectifs"/> 109 </html:link></li> 110 <li><html:link page="/projet/mesures.jsp"> 111 <bean:message key="projet.mesures"/> 112 </html:link></li> 113 </ul> 114 </div--%> 115 116 <%--div id="menuItem"> 117 <html:link page="/projet/projet.jsp"> 118 <h3> <bean:message key="projet"/></h3> 119 </html:link> 120 <ul> 121 <li> <html:link page="/index.jsp"> 122 <bean:message key="app.home"/> 123 </html:link></li> 124 <li><html:link href="mailto:${webmaster}?subject=[MEGAPOLI]"> 125 <html:img page="/images/utils/mailto.png" titleKey="app.webmaster" altKey="app.webmaster"/> 126 </html:link></li> 127 <logic:present name="SES_USER" scope="session"> 128 <li> 129 <html:link page="/Disconnect.do"> 130 <bean:message key="app.disconnect"/> 131 </html:link> 132 </li> 133 </logic:present> 134 </ul> 135 </div--%> 136 137 <div id="menuItem"> 138 <%--html:link page="/data/data.jsp"> 139 <h3> <bean:message key="data"/></h3> 140 </html:link--%> 141 <bean:define id="upload" value="upload"/> 142 <bean:define id="access" value="access"/> 143 <ul> 144 <li><html:link page="/data/access/access.jsp" paramName="access" paramId="source"> 145 <bean:message key="data.access"/> 146 </html:link> 147 </li> 148 <li> > 149 <%--html:link page="/data/access/jeux.jsp" paramName="access" paramId="source"--%> 150 <html:link page="/JeuxAccess.do"> 151 <bean:message key="data.access.jeux"/> 152 </html:link> 153 </li> 154 <li> > 155 <html:link page="/ParametresAccess.do"> 156 <bean:message key="data.access.param"/> 157 </html:link> 158 </li> 159 <li> > 160 <html:link page="/CapteursAccess.do"> 161 <bean:message key="data.access.capt"/> 162 </html:link> 163 </li> 164 <li> > 165 <html:link page="/PlateformesAccess.do"> 166 <bean:message key="data.access.plat"/> 167 </html:link> 168 </li> 169 <li><br/> 170 <logic:notPresent name="SES_USER" scope="session"> 171 <html:link page="/InitLogonAccess.do" paramName="access" paramId="source"> 172 <bean:message key="data.access.extract"/> 173 </html:link> 174 </logic:notPresent> 175 <logic:present name="SES_USER" scope="session"> 176 <html:link page="/DataAccess.do"> 177 <bean:message key="data.access.extract"/> 178 </html:link> 179 </logic:present> 180 </li> 181 <li><br/> 182 <logic:notPresent name="SES_USER" scope="session"> 183 <html:link page="/InitLogon.do" paramName="upload" paramId="source"> 184 <bean:message key="data.upload"/> 185 </html:link> 186 </logic:notPresent> 187 <logic:present name="SES_USER" scope="session"> 188 <html:link page="/PrepareTree.do"> 189 <bean:message key="data.upload"/> 190 </html:link> 191 </logic:present> 192 </li> 193 </ul> 194 </div> 195 <table width="100%"> 196 <tr><td align="center"> 197 <html:link href="http://megapoli.dmi.dk/" target="help" titleKey="app.linkmegapoli"> 198 <html:img page="/resources/images/megapoli/megapoli_small.jpg" altKey="app.home"/> 199 </html:link> 200 </td></tr> 201 </table> 202 <%--div id="menuItem"> 203 <html:link page="/partenaires/partenaires.jsp"> 204 <h3> <bean:message key="partenaires"/></h3> 205 </html:link> 206 <ul> 207 <li><html:link page="/partenaires/scientifiques.jsp"> 208 <bean:message key="partenaires.scientifiques"/> 209 </html:link></li> 210 <li><html:link page="/partenaires/institutionnels.jsp"> 211 <bean:message key="partenaires.institutionnels"/> 212 </html:link></li> 213 </ul> 214 </div> 215 216 <div id="menuItem"> 217 <html:link page="/finance/finance.jsp"> 218 <h3> <bean:message key="finance"/></h3> 219 </html:link> 220 </div--%> 221 222 223 <%-- 224 <div id="menuItem> 225 <html:link page="/actualites/actualites.jsp"> 226 <h3> <bean:message key="app.actualites"/></h3> 227 </html:link> 228 </div> 229 --%> 230 </div> 231 <%-- Recherche : solution mnogosearch --%> 232 233 </div> 99 <%--div id="menuItem"> 100 <html:link page="/projet/projet.jsp"> 101 <h3> <bean:message key="projet"/></h3> 102 </html:link> 103 <ul> 104 <li><html:link page="/projet/introduction.jsp"> 105 <bean:message key="projet.intro"/> 106 </html:link></li> 107 <li><html:link page="/projet/objectifs.jsp"> 108 <bean:message key="projet.objectifs"/> 109 </html:link></li> 110 <li><html:link page="/projet/mesures.jsp"> 111 <bean:message key="projet.mesures"/> 112 </html:link></li> 113 </ul> 114 </div--%> 115 116 <%--div id="menuItem"> 117 <html:link page="/projet/projet.jsp"> 118 <h3> <bean:message key="projet"/></h3> 119 </html:link> 120 <ul> 121 <li> <html:link page="/index.jsp"> 122 <bean:message key="app.home"/> 123 </html:link></li> 124 <li><html:link href="mailto:${webmaster}?subject=[MEGAPOLI]"> 125 <html:img page="/resources/images/utils/mailto.png" titleKey="app.webmaster" altKey="app.webmaster"/> 126 </html:link></li> 127 <logic:present name="SES_USER" scope="session"> 128 <li> 129 <html:link page="/Disconnect.do"> 130 <bean:message key="app.disconnect"/> 131 </html:link> 132 </li> 133 </logic:present> 134 </ul> 135 </div--%> 136 137 <div id="menuItem"> 138 <%--html:link page="/data/data.jsp"> 139 <h3> <bean:message key="data"/></h3> 140 </html:link--%> 141 <bean:define id="upload" value="upload"/> 142 <bean:define id="access" value="access"/> 143 <ul> 144 <li><html:link page="/data/access/access.jsp" paramName="access" paramId="source"> 145 <bean:message key="data.access"/> 146 </html:link> 147 </li> 148 <li> > 149 <%--html:link page="/data/access/jeux.jsp" paramName="access" paramId="source"--%> 150 <html:link page="/JeuxAccess.do"> 151 <bean:message key="data.access.jeux"/> 152 </html:link> 153 </li> 154 <li> > 155 <html:link page="/ParametresAccess.do"> 156 <bean:message key="data.access.param"/> 157 </html:link> 158 </li> 159 <li> > 160 <html:link page="/CapteursAccess.do"> 161 <bean:message key="data.access.capt"/> 162 </html:link> 163 </li> 164 <li> > 165 <html:link page="/PlateformesAccess.do"> 166 <bean:message key="data.access.plat"/> 167 </html:link> 168 </li> 169 <li><br/> 170 <logic:notPresent name="SES_USER" scope="session"> 171 <html:link page="/InitLogonAccess.do" paramName="access" paramId="source"> 172 <bean:message key="data.access.extract"/> 173 </html:link> 174 </logic:notPresent> 175 <logic:present name="SES_USER" scope="session"> 176 <html:link page="/DataAccess.do"> 177 <bean:message key="data.access.extract"/> 178 </html:link> 179 </logic:present> 180 </li> 181 <li> 182 <logic:notPresent name="SES_USER" scope="session"> 183 <html:link page="/InitLogon.do" paramName="upload" paramId="source"> 184 <bean:message key="data.upload"/> 185 </html:link> 186 </logic:notPresent> 187 <logic:present name="SES_USER" scope="session"> 188 <html:link page="/PrepareTree.do"> 189 <bean:message key="data.upload"/> 190 </html:link> 191 </logic:present> 192 </li> 193 194 <!-- ****************************************************************** --> 195 <!-- ************************ VISUALIZATION *************************** --> 196 <!-- ****************************************************************** --> 197 <li><br/> 198 <html:link page="/visualization?methodName=view"> 199 <bean:message key="all.visualization"/> 200 </html:link> 201 </li> 202 <li> > 203 <html:link page="/visualization?methodName=viewParametersByPlateform"> 204 <bean:message key="data.visualization"/> 205 </html:link> 206 </li> 207 <li> > 208 <html:link page="/visualization/inWork.jsp"> 209 <bean:message key="simulation.visualization"/> 210 </html:link> 211 </li> 212 <!-- ****************************************************************** --> 213 214 </ul> 215 </div> 216 <table width="100%"> 217 <tr> 218 <td align="center"> 219 <html:link href="http://megapoli.dmi.dk/" target="help" titleKey="app.linkmegapoli"> 220 <html:img page="/resources/images/megapoli/megapoli_small.jpg" height="100px" width="100px" altKey="app.home"/> 221 </html:link> 222 </td> 223 </tr> 224 </table> 225 <%--div id="menuItem"> 226 <html:link page="/partenaires/partenaires.jsp"> 227 <h3> <bean:message key="partenaires"/></h3> 228 </html:link> 229 <ul> 230 <li><html:link page="/partenaires/scientifiques.jsp"> 231 <bean:message key="partenaires.scientifiques"/> 232 </html:link></li> 233 <li><html:link page="/partenaires/institutionnels.jsp"> 234 <bean:message key="partenaires.institutionnels"/> 235 </html:link></li> 236 </ul> 237 </div> 238 239 <div id="menuItem"> 240 <html:link page="/finance/finance.jsp"> 241 <h3> <bean:message key="finance"/></h3> 242 </html:link> 243 </div--%> 244 245 246 <%-- 247 <div id="menuItem> 248 <html:link page="/actualites/actualites.jsp"> 249 <h3> <bean:message key="app.actualites"/></h3> 250 </html:link> 251 </div> 252 --%> 253 </div> 254 <%-- Recherche : solution mnogosearch --%> 255 256 </div> 234 257 <%-- 235 258 <div id="recherche"> … … 239 262 </div> 240 263 --%> 241 242 264 <div id="pageContent"> 265 <div id="nav"> 243 266 <%-- la barre de navigation --%> 244 267 <div class="texte" style="float: left;"> 245 268 <tiles:insert attribute="nav"/> 246 269 </div> 247 270 <div style="float: right; font-size: 13px"> 248 <logic:present name="SES_USER" scope="session"> 249 <table> 250 <tr><td height="40px" valign="middle" style="font-size: 13px; color: white"> 251 <bean:write name="SES_USER" property="prenom"/> <bean:write name="SES_USER" property="nom"/> 252 <logic:equal name="SES_USER" property="roles" value="coordinateur"> 253 (<bean:message key="app.admin"/>) 254 </logic:equal> 255 </td> 256 <td valign="top" width="40px"> 257 <html:link page="/Disconnect.do"> 258 <html:img page="/resources/images/utils/logout.gif" titleKey="app.disconnect" altKey="app.disconnect" onmouseover="this.src='${chemin}/images/utils/logout2.gif'" onmouseout="this.src='${chemin}/images/utils/logout.gif'" width="20px" height="20px" style="margin-top:7px"/> 259 </html:link> 260 </td> 261 </tr> 262 </table> 263 </logic:present> 264 </div> 265 </div> 266 <div id="corpsPage"> 267 <div id="title"> 268 <%-- le titre de la page --%> 269 <h1><tiles:insert attribute="bodytitle"/></h1> 270 </div> 271 <div id="txt"> 272 <%-- le corps de la page --%> 273 <tiles:insert attribute="body"/> 274 </div> 275 </div> 276 </div> 277 </div> 278 279 280 <div id="pageFooter"> 281 <table width="100%" style="color:white;font-size: 12px"> 282 <tr><td align="left">© 2010-2011 <html:link href="http://www.sedoo.fr" target="help" titleKey="app.linksedoo">Sedoo</html:link> / CNRS 283 </td><td align="center"><bean:message key="app.infonavig"/> 284 </td><td align="right"><i><bean:message key="app.lastModified"/> : <bean:write name="lastModified"/></i> 285 </td></tr> 286 </table> 287 <%--div id="copyright"> 288 © 2010-2011 Sedoo / CNRS 289 </div> 290 <div id="datestamp"> 291 <bean:message key="app.lastModified"/> : <bean:write name="lastModified"/> 292 </div--%> 293 </div> 271 <logic:present name="SES_USER" scope="session"> 272 <table> 273 <tr> 274 <td height="40px" valign="middle" style="font-size: 13px; color: white"> 275 <bean:write name="SES_USER" property="prenom"/> <bean:write name="SES_USER" property="nom"/> 276 <logic:equal name="SES_USER" property="roles" value="coordinateur"> 277 (<bean:message key="app.admin"/>) 278 </logic:equal> 279 </td> 280 <td valign="top" width="40px"> 281 <html:link page="/Disconnect.do"> 282 <html:img page="/resources/images/utils/logout.gif" titleKey="app.disconnect" 283 altKey="app.disconnect" 284 onmouseover="this.src='${chemin}/resources/images/utils/logout2.gif'" 285 onmouseout="this.src='${chemin}/resources/images/utils/logout.gif'" 286 width="20px" height="20px" style="margin-top:7px"/> 287 </html:link> 288 </td> 289 </tr> 290 </table> 291 </logic:present> 292 </div> 293 </div> 294 <div id="corpsPage"> 295 <div id="title"> 296 <%-- le titre de la page --%> 297 <h1><tiles:insert attribute="bodytitle"/></h1> 298 </div> 299 <div id="txt"> 300 <%-- le corps de la page --%> 301 <tiles:insert attribute="body"/> 302 </div> 303 </div> 304 </div> 305 </div> 306 307 308 <div id="pageFooter"> 309 <table width="100%" style="color:white;font-size: 12px"> 310 <tr> 311 <td align="left">© 2010-2011 <html:link href="http://www.sedoo.fr" target="help" 312 titleKey="app.linksedoo">Sedoo</html:link> / CNRS 313 </td> 314 <td align="center"><bean:message key="app.infonavig"/> 315 </td> 316 <td align="right"><i><bean:message key="app.lastModified"/> : <bean:write name="lastModified"/></i> 317 </td> 318 </tr> 319 </table> 320 <%--div id="copyright"> 321 © 2010-2011 Sedoo / CNRS 322 </div> 323 <div id="datestamp"> 324 <bean:message key="app.lastModified"/> : <bean:write name="lastModified"/> 325 </div--%> 326 </div> 294 327 295 328
Note: See TracChangeset
for help on using the changeset viewer.