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 | <%@ taglib prefix="ether" tagdir="/WEB-INF/tags" %> |
---|
8 | |
---|
9 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
---|
10 | |
---|
11 | <HTML> |
---|
12 | <HEAD> |
---|
13 | <meta http-equiv="content-type" content="text/html; charset=iso-8859-1"> |
---|
14 | <META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE"> |
---|
15 | |
---|
16 | <title><tiles:getAsString name="title"/></title> |
---|
17 | <link rel="shortcut icon" href="<html:rewrite page='/resources/images/megapoli/favicon.ico'/>"> |
---|
18 | |
---|
19 | |
---|
20 | <ether:htmlCss cssFile="blueprint-css/blueprint/src/grid"/> |
---|
21 | <ether:htmlCss cssFile="ether"/> |
---|
22 | <ether:htmlCss cssFile="megapoli"/> |
---|
23 | |
---|
24 | |
---|
25 | <tiles:insert attribute="insertCss"/> |
---|
26 | <tiles:insert attribute="insertJsOrJsp"/> |
---|
27 | |
---|
28 | </HEAD> |
---|
29 | |
---|
30 | <BODY> |
---|
31 | |
---|
32 | <%-- VARIABLES A NE PAS TOUCHER !!! --%> |
---|
33 | <bean:define type="java.lang.String" id="lastModified" value="<%=Context.getLastModified(request, application)%>"/> |
---|
34 | <bean:define type="java.lang.String" id="lang" value="<%=Context.getLangue(request)%>"/> |
---|
35 | <bean:define type="java.lang.String" id="webmaster" value="<%=Context.getWebmaster(request)%>"/> |
---|
36 | <bean:define type="java.lang.String" id="chemin" value="<%=request.getContextPath()%>"/> |
---|
37 | <bean:define type="java.lang.String" |
---|
38 | id="relativePageUri"><%=Context.getRelativePath( request )%>?<%=request.getQueryString()%> |
---|
39 | </bean:define> |
---|
40 | |
---|
41 | |
---|
42 | <div class="pageWrapper"> |
---|
43 | |
---|
44 | <%--*************************************************************--%> |
---|
45 | <%--**************************** TOP *************************** --%> |
---|
46 | <%--*************************************************************--%> |
---|
47 | <div id="containerTop" class="containerTop span-24"> |
---|
48 | |
---|
49 | <div id="title_tools" class="title_tools span-24"> |
---|
50 | <div id="title" class="span-17" align="center"> |
---|
51 | <h0><bean:message key="app.fulltitle"/></h0> |
---|
52 | </div> |
---|
53 | |
---|
54 | <div id="tools" class="span-7 last" align="right"> |
---|
55 | <div class="span-1 colborder"><html:link page="/index.jsp"><h4><bean:message key="app.home"/></h4> |
---|
56 | </html:link></div> |
---|
57 | |
---|
58 | <div class="span-1 colborder"> |
---|
59 | <logic:notEqual name="lang" value="en"> |
---|
60 | <html:link page="/English.do" paramName="relativePageUri" paramId="requestUri" |
---|
61 | titleKey="app.en"><h4><bean:message key="app.en"/></h4></html:link> |
---|
62 | </logic:notEqual> |
---|
63 | <logic:equal name="lang" value="en"> |
---|
64 | <html:link page="/French.do" paramName="relativePageUri" paramId="requestUri" titleKey="app.fr"> |
---|
65 | <h4><bean:message key="app.fr"/></h4></html:link> |
---|
66 | </logic:equal> |
---|
67 | </div> |
---|
68 | |
---|
69 | <div class="span-1 colborder"><html:link page="/index.jsp"><h4><bean:message key="app.connexion"/></h4> |
---|
70 | </html:link></div> |
---|
71 | |
---|
72 | <div class="span-1 last"> |
---|
73 | <html:link href="mailto:${webmaster}?subject=[MEGAPOLI]"> |
---|
74 | <h4><html:img page="/resources/images/utils/enveloppe.jpg" titleKey="app.webmaster" |
---|
75 | altKey="app.webmaster" width="17px" height="15px"/></h4> |
---|
76 | </html:link> |
---|
77 | </div> |
---|
78 | </div> |
---|
79 | </div> |
---|
80 | |
---|
81 | <div id="logo" class="logo span-8"> |
---|
82 | <html:link href="http://megapoli.dmi.dk/" target="help" titleKey="app.linkmegapoli"> |
---|
83 | <html:img page="/resources/images/logo_Megapoli.png" height="100px" width="100px" |
---|
84 | altKey="app.home"/> |
---|
85 | </html:link> |
---|
86 | </div> |
---|
87 | |
---|
88 | <div id="menu" class="span-13" align="left"> |
---|
89 | <bean:define id="upload" value="upload"/> |
---|
90 | <bean:define id="access" value="access"/> |
---|
91 | |
---|
92 | <div id="menuMetaData" class="span-5"> |
---|
93 | <html:link page="/data/catalogResume.jsp" paramName="access" paramId="source"> |
---|
94 | <h2><bean:message key="data.access"/></h2> |
---|
95 | </html:link> |
---|
96 | |
---|
97 | <html:link page="/JeuxAccess.do"><h3> - <bean:message key="data.access.jeux"/></h3> |
---|
98 | </html:link> |
---|
99 | <html:link page="/ParametresAccess.do"><h3> - <bean:message key="data.access.param"/></h3> |
---|
100 | </html:link> |
---|
101 | <html:link page="/CapteursAccess.do"><h3> - <bean:message key="data.access.capt"/></h3> |
---|
102 | </html:link> |
---|
103 | <html:link page="/PlateformesAccess.do"><h3> - <bean:message key="data.access.plat"/></h3> |
---|
104 | </html:link> |
---|
105 | </div> |
---|
106 | |
---|
107 | <div id="menuData" class="span-4"> |
---|
108 | <h2><bean:message key="app.data"/></h2> |
---|
109 | |
---|
110 | <logic:notPresent name="SES_USER" scope="session"> |
---|
111 | <html:link page="/InitLogonAccess.do" paramName="access" paramId="source"><h3> |
---|
112 | - <bean:message key="data.access.extract"/></h3></html:link> |
---|
113 | </logic:notPresent> |
---|
114 | <logic:present name="SES_USER" scope="session"> |
---|
115 | <html:link page="/DataAccess.do"><h3> - <bean:message key="data.access.extract"/></h3> |
---|
116 | </html:link> |
---|
117 | </logic:present> |
---|
118 | |
---|
119 | <logic:notPresent name="SES_USER" scope="session"> |
---|
120 | <html:link page="/InitLogon.do" paramName="upload" paramId="source"><h3> - <bean:message |
---|
121 | key="data.upload"/></h3></html:link> |
---|
122 | </logic:notPresent> |
---|
123 | <logic:present name="SES_USER" scope="session"> |
---|
124 | <html:link page="/PrepareTree.do"><h3> - <bean:message key="data.upload"/></h3> |
---|
125 | </html:link> |
---|
126 | </logic:present> |
---|
127 | </div> |
---|
128 | |
---|
129 | <div id="menuVisualization" class="span-4 last"> |
---|
130 | <html:link page="/visualization?methodName=view"><h2><bean:message key="all.visualization"/></h2> |
---|
131 | </html:link> |
---|
132 | |
---|
133 | <html:link page="/visualization?methodName=viewParametersByPlateform"><h3> - <bean:message |
---|
134 | key="data.visualization"/></h3></html:link> |
---|
135 | <html:link page="/visualization/inWork.jsp"><h3> - <bean:message |
---|
136 | key="simulation.visualization"/></h3></html:link> |
---|
137 | </div> |
---|
138 | </div> |
---|
139 | </div> |
---|
140 | |
---|
141 | <%--*************************************************************--%> |
---|
142 | <%--************************ NAVIGATION ************************ --%> |
---|
143 | <%--*************************************************************--%> |
---|
144 | <div id="nav" class="nav span-24"><tiles:insert attribute="nav"/> </div> |
---|
145 | |
---|
146 | |
---|
147 | <%--*************************************************************--%> |
---|
148 | <%--************************** CENTER ************************** --%> |
---|
149 | <%--*************************************************************--%> |
---|
150 | <div id="containerCenter" class="containerCenter span-24 last"> |
---|
151 | <h1><tiles:insert attribute="bodytitle"/></h1> |
---|
152 | |
---|
153 | <tiles:insert attribute="body"/> |
---|
154 | </div> |
---|
155 | |
---|
156 | |
---|
157 | <%--*************************************************************--%> |
---|
158 | <%--*************************** BOTTOM ************************* --%> |
---|
159 | <%--*************************************************************--%> |
---|
160 | <div id="containerBottom" class="containerBottom span-24 last"> |
---|
161 | <table width="100%" style="color:white;font-size: 12px"> |
---|
162 | <tr> |
---|
163 | <td align="left">© 2010-2011 <html:link href="http://www.ipsl.fr" target="help" |
---|
164 | titleKey="app.linkIPSL">IPSL</html:link> / CNRS |
---|
165 | </td> |
---|
166 | <td align="center"><bean:message key="app.infonavig"/></td> |
---|
167 | <td align="right"> |
---|
168 | <i><bean:message key="app.lastModified"/> : <bean:write name="lastModified"/></i> |
---|
169 | </td> |
---|
170 | </tr> |
---|
171 | </table> |
---|
172 | </div> |
---|
173 | |
---|
174 | </div> |
---|
175 | |
---|
176 | </BODY> |
---|
177 | </HTML> |
---|