source: ether_megapoli/trunk/web/resources/templates/template2.jsp @ 155

Last change on this file since 155 was 155, checked in by vmipsl, 13 years ago

Import medias files and cleanup

  • Property svn:executable set to *
File size: 10.6 KB
Line 
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"%>
7
8<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
9
10
11<html>
12<head>
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        <meta http-equiv="refresh" content="6; URL=./index.jsp">
17        <link rel="stylesheet" type="text/css" href="<html:rewrite page='/styles/medias_new.css'/>">
18        <link rel="stylesheet" type="text/css" href="<html:rewrite page='/styles/megapoli.css'/>">
19        <link rel="shortcut icon" href="<html:rewrite page='/images/megapoli/favicon.ico'/>">
20        <script src="<html:rewrite page='/scripts/maj.js'/>"></script>
21        <script src="<html:rewrite page='/scripts/ajax.js'/>"></script>
22        <script src="<html:rewrite page='/scripts/scw.js'/>"></script>
23        <script type="text/javascript">
24        <!--
25        var popup;
26       
27        function popupWindow (url, name, configuration)
28        {
29                popup = window.open (url, name, configuration);
30        }
31       
32        function closePopupWindow ()
33        {
34                popup.close ();
35        }
36        -->
37        </script>
38</head>
39
40<body>
41        <a name="top"></a>
42
43<%-- VARIABLES A NE PAS TOUCHER !!! --%>
44        <bean:define type="java.lang.String" id="today" value="<%=Context.getSimpleDate()%>"/>
45        <bean:define type="java.lang.String" id="lastModified" value="<%=Context.getLastModified(request, application)%>"/>
46        <bean:define type="java.lang.String" id="racine" value="<%=Context.getWebroot(request)%>"/>
47        <bean:define type="java.lang.String" id="relativePageUri" value="<%=Context.getRelativePageURI(request)%>"/>
48        <bean:define type="java.lang.String" id="lang" value="<%=Context.getLangue(request)%>"/>
49        <bean:define type="java.lang.String" id="webmaster" value="<%=Context.getWebmaster(request)%>"/>
50        <bean:define type="java.lang.String" id="chemin" value="<%=request.getContextPath()%>"/>
51       
52<div id="container">
53    <div id="pageHeader">
54      <%-- le logo --%>
55     
56        <%-- Le titre gï¿œnï¿œral du site --%>
57        <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--%>
58                <bean:message key="app.fulltitle"/>
59        </h2>
60        </div>
61
62
63 <div id="pageMiddle"> 
64    <div id="pageMenu">
65      <div id="util">
66       
67        <html:link page="/index.jsp">
68                        <html:img page="/images/utils/home.jpg" titleKey="app.home" altKey="app.home"/>
69                </html:link>
70       
71        <html:link href="mailto:${webmaster}?subject=[MEGAPOLI]">
72                        <html:img page="/images/utils/enveloppe.jpg" titleKey="app.webmaster" altKey="app.webmaster"/>
73                </html:link>
74
75        <%--html:link page="/sitemap/sitemap.jsp">
76                <html:img page="/images/utils/sitemap.png" titleKey="app.sitemap" altKey="app.sitemap"/>
77                </html:link--%>
78        <%-- Internationalisation --%>
79                <logic:notEqual name="lang" value="en">
80                        <html:link page="/English.do" paramName="relativePageUri" paramId="requestUri" titleKey="app.en">
81                                <html:img page="/images/utils/gb.png" alt="gb"/>
82                        </html:link>
83                </logic:notEqual>
84                <logic:equal name="lang" value="en">
85                        <html:link page="/French.do" paramName="relativePageUri" paramId="requestUri" titleKey="app.fr">
86                                <html:img page="/images/utils/fr.png" alt="fr"/>
87                        </html:link>
88                </logic:equal>
89               
90                <%-- le lien pour se dï¿œconnecter de l'application --%>
91                <%--logic:present name="SES_USER" scope="session">
92                        <html:link page="/Disconnect.do">
93                                <html:img page="/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'"/>
94                        </html:link>
95                </logic:present--%>
96      </div>
97     
98      <div id="plan">
99        <%-- le menu --%>
100                          <%--div id="menuItem">
101                                <html:link page="/projet/projet.jsp">
102                                        <h3>&nbsp;&nbsp;&nbsp;<bean:message key="projet"/></h3>
103                                </html:link>
104                                        <ul>
105                                                <li><html:link page="/projet/introduction.jsp">
106                                                        <bean:message key="projet.intro"/>
107                                                </html:link></li>
108                                                <li><html:link page="/projet/objectifs.jsp">
109                                                        <bean:message key="projet.objectifs"/>
110                                                </html:link></li>
111                                                <li><html:link page="/projet/mesures.jsp">
112                                                        <bean:message key="projet.mesures"/>
113                                                </html:link></li>
114                                        </ul>
115                                </div--%>
116                       
117                          <%--div id="menuItem">
118                                <html:link page="/projet/projet.jsp">
119                                        <h3>&nbsp;&nbsp;&nbsp;<bean:message key="projet"/></h3>
120                                </html:link>
121                                        <ul>
122                                                <li> <html:link page="/index.jsp">
123                                                        <bean:message key="app.home"/>
124                                                </html:link></li>
125                                                <li><html:link href="mailto:${webmaster}?subject=[MEGAPOLI]">
126                                                        <html:img page="/images/utils/mailto.png" titleKey="app.webmaster" altKey="app.webmaster"/>
127                                                </html:link></li>
128                                                <logic:present name="SES_USER" scope="session">
129                                                <li>
130                                                        <html:link page="/Disconnect.do">
131                                                                <bean:message key="app.disconnect"/>
132                                                        </html:link>
133                                                </li>
134                                                </logic:present>
135                                        </ul>
136                                </div--%>
137
138                                <div id="menuItem">
139                                        <%--html:link page="/data/data.jsp">
140                                                <h3>&nbsp;&nbsp;&nbsp;<bean:message key="data"/></h3>
141                                        </html:link--%>
142                                        <bean:define id="upload" value="upload"/>
143                                        <bean:define id="access" value="access"/>
144                                        <ul>
145                                                <li><html:link page="/data/access/access.jsp" paramName="access" paramId="source">
146                                                        <bean:message key="data.access"/>
147                                                        </html:link>
148                                                </li>
149                                                <li>&nbsp;&nbsp;&nbsp;&gt;&nbsp;
150                                                        <%--html:link page="/data/access/jeux.jsp" paramName="access" paramId="source"--%>
151                                                        <html:link page="/JeuxAccess.do">
152                                                        <bean:message key="data.access.jeux"/>
153                                                        </html:link>
154                                                </li>
155                                                <li>&nbsp;&nbsp;&nbsp;&gt;&nbsp;
156                                                        <html:link page="/ParametresAccess.do">
157                                                        <bean:message key="data.access.param"/>
158                                                        </html:link>
159                                                </li>
160                                                <li>&nbsp;&nbsp;&nbsp;&gt;&nbsp;
161                                                        <html:link page="/CapteursAccess.do">
162                                                        <bean:message key="data.access.capt"/>
163                                                        </html:link>
164                                                </li>
165                                                <li>&nbsp;&nbsp;&nbsp;&gt;&nbsp;
166                                                        <html:link page="/PlateformesAccess.do">
167                                                        <bean:message key="data.access.plat"/>
168                                                        </html:link>
169                                                </li>
170                                                <li><br/>
171                                                        <logic:notPresent name="SES_USER" scope="session">
172                                                                <html:link page="/InitLogonAccess.do" paramName="access" paramId="source">
173                                                                        <bean:message key="data.access.extract"/>
174                                                                </html:link>
175                                                        </logic:notPresent>
176                                                        <logic:present name="SES_USER" scope="session">
177                                                                <html:link page="/DataAccess.do">
178                                                                        <bean:message key="data.access.extract"/>
179                                                                </html:link>
180                                                        </logic:present>
181                                                </li>
182                                                <li><br/>
183                                                        <logic:notPresent name="SES_USER" scope="session">
184                                                                <html:link page="/InitLogon.do" paramName="upload" paramId="source">
185                                                                        <bean:message key="data.upload"/>
186                                                                </html:link>
187                                                        </logic:notPresent>
188                                                        <logic:present name="SES_USER" scope="session">
189                                                                <html:link page="/PrepareTree.do">
190                                                                        <bean:message key="data.upload"/>
191                                                                </html:link>
192                                                        </logic:present>
193                                                </li>
194                                        </ul>
195                                </div>
196                                <table width="100%">
197                                        <tr><td align="center">
198                                                <html:link href="http://megapoli.dmi.dk/" target="help" titleKey="app.linkmegapoli">
199                                                        <html:img page="/images/megapoli/megapoli_small.jpg" altKey="app.home"/>
200                                                </html:link>
201                                        </td></tr>
202                                </table>
203                                <%--div id="menuItem">
204                                        <html:link page="/partenaires/partenaires.jsp">
205                                                <h3>&nbsp;&nbsp;&nbsp;<bean:message key="partenaires"/></h3>
206                                        </html:link>
207                                        <ul>
208                                                <li><html:link page="/partenaires/scientifiques.jsp">
209                                                        <bean:message key="partenaires.scientifiques"/>
210                                                </html:link></li>
211                                                <li><html:link page="/partenaires/institutionnels.jsp">
212                                                        <bean:message key="partenaires.institutionnels"/>
213                                                </html:link></li>
214                                        </ul>
215                                </div>
216                       
217                                <div id="menuItem">
218                                        <html:link page="/finance/finance.jsp">
219                                                <h3>&nbsp;&nbsp;&nbsp;<bean:message key="finance"/></h3>
220                                                </html:link>
221                                        </div--%>
222                               
223                               
224                                    <%--
225                                                  <div id="menuItem>
226                                                                        <html:link page="/actualites/actualites.jsp">
227                                                                        <h3>&nbsp;&nbsp;&nbsp;<bean:message key="app.actualites"/></h3>
228                                                </html:link>
229                                </div>
230                                --%>
231      </div>
232 <%-- Recherche : solution mnogosearch --%>
233   
234    </div>
235<%--
236          <div id="recherche"> 
237                <form method="get" action="/megapoli/cgi-bin/search.cgi">
238                        <bean:message key="app.search"/> : <INPUT TYPE="text" NAME="q" VALUE="" size="20">
239                </form>
240      </div> 
241--%>
242    <div id="pageContent">
243      <div id="nav">
244        <%-- la barre de navigation --%>
245        <div class="texte" style="float: left;">
246                <tiles:insert attribute="nav"/>
247        </div>
248        <div style="float: right; font-size: 13px">
249                <logic:present name="SES_USER" scope="session">
250                        <table>
251                        <tr><td height="40px" valign="middle" style="font-size: 13px; color: white">
252                        <bean:write name="SES_USER" property="prenom"/> <bean:write name="SES_USER" property="nom"/>
253                        <logic:equal name="SES_USER" property="roles" value="coordinateur">
254                                (<bean:message key="app.admin"/>)
255                        </logic:equal>
256                        </td>
257                        <td valign="top" width="40px">
258                        <html:link page="/Disconnect.do">
259                                <html:img page="/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"/>
260                        </html:link>
261                        </td>
262                        </tr>
263                        </table>
264                </logic:present>
265        </div>
266      </div>
267      <div id="corpsPage">
268              <div id="title">
269            <%-- le titre de la page --%>
270                <h1><tiles:insert attribute="bodytitle"/></h1>
271         </div>
272         <div id="txt">
273                <%-- le corps de la page --%>
274                <tiles:insert attribute="body"/>
275         </div>
276      </div>
277    </div>
278 </div> 
279
280
281        <div id="pageFooter">
282      <table width="100%" style="color:white;font-size: 12px">
283      <tr><td align="left">&copy; 2010-2011 <html:link href="http://www.sedoo.fr" target="help" titleKey="app.linksedoo">Sedoo</html:link> / CNRS
284      </td><td align="center"><bean:message key="app.infonavig"/>
285      </td><td align="right"><i><bean:message key="app.lastModified"/> : <bean:write name="lastModified"/></i>
286      </td></tr>
287      </table>
288      <%--div id="copyright">
289        &copy; 2010-2011 Sedoo / CNRS
290      </div>
291      <div id="datestamp">
292        <bean:message key="app.lastModified"/> : <bean:write name="lastModified"/>
293          </div--%>
294        </div>
295
296
297</div>
298
299</body>
300</html>
Note: See TracBrowser for help on using the repository browser.