source: ether_megapoli/trunk/web/resources/templates/templateMegapoli.jsp @ 254

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

extract

File size: 8.9 KB
Line 
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 prefix="ether" tagdir="/WEB-INF/tags" %>
7
8<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
9
10<HTML>
11<HEAD>
12    <meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
13    <META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE">
14
15    <title><tiles:getAsString name="title"/></title>
16    <link rel="shortcut icon" href="<html:rewrite page='/resources/images/megapoli/favicon.ico'/>">
17
18    <ether:htmlCss cssFile="apycom.com-4-steel-blue/menu"/>
19    <ether:htmlCss cssFile="button"/>
20    <ether:htmlCss cssFile="complexButton"/>
21    <ether:htmlCss cssFile="TwitterLogin/front"/>
22    <ether:htmlCss cssFile="ether"/>
23    <ether:htmlCss cssFile="megapoli"/>
24
25    <ether:htmlJs jsFile="library/jquery-1.4.2.min"/>
26    <ether:htmlJs jsFile="library/jquery.class"/>
27    <ether:htmlJs jsFile="library/jquery.protify-0.3"/>
28    <ether:htmlJs jsFile="classesForJQuery/etherHelper"/>
29    <ether:htmlJs jsFile="classesForJQuery/Button"/>
30    <ether:htmlJs jsFile="classesForJQuery/ComplexButton"/>
31    <ether:htmlJs jsFile="classesForJQuery/Slide"/>
32    <ether:htmlJs jsFile="apycom.com-4-steel-blue/menu"/>
33    <ether:htmlJs jsFile="TwitterLogin/javascripts/jquery.tipsy"/>
34
35    <ether:htmlResourceJsp jspFile="megapoliHead"/>
36
37    <tiles:insert attribute="insertCss"/>
38    <tiles:insert attribute="insertJsOrJsp"/>
39</HEAD>
40
41<BODY>
42<a name="top"></a>
43
44<bean:define type="java.lang.String" id="lastModified" value="<%=Context.getLastModified(request, application)%>"/>
45<bean:define type="java.lang.String" id="webmaster" value="<%=Context.getWebmaster(request)%>"/>
46
47<bean:define id="upload" value="upload"/>
48<bean:define id="access" value="access"/>
49
50<%-- ************************************************************************************************************** --%>
51<%-- *************************************************** LOGO ETHER *********************************************** --%>
52<%-- ************************************************************************************************************** --%>
53<div id="linkLogoEther" class="containerLinkLogoEther"></div>
54
55<div id="logoEther" class="containerLogoEther">
56    <html:link href="http://ether.ipsl.jussieu.fr" target="help"><img src="resources/images/logo_Ether.jpg" width="80px" height="80px"/></html:link>
57</div>
58
59<%-- ************************************************************************************************************** --%>
60<%-- **************************************************** WRAPPER ************************************************* --%>
61<%-- ************************************************************************************************************** --%>
62<div class="pageWrapper">
63
64    <%-- ****************** TITLE & TOOLS ****************** --%>
65    <div id="title_tools" class="containerMegapoli">
66        <div id="title"></div>
67
68        <div id="tools" align="right"></div>
69
70    </div>
71
72    <%-- ****************** LOGO ****************** --%>
73    <div id="logo" class="containerLogo">
74        <html:link href="http://megapoli.dmi.dk/" target="help" titleKey="app.linkmegapoli">
75            <html:img page="/resources/images/logo_Megapoli_white.png" height="110px" width="110px" altKey="app.home"/>
76        </html:link>
77    </div>
78
79    <%-- ****************** NAV ****************** --%>
80    <div id="nav" class="containerNav"><tiles:insert attribute="nav"/></div>
81
82    <%-- ****************** MENU ****************** --%>
83    <div id="menu" class="containerMenu">
84        <ul class="menu">
85            <li>
86                <html:link page="/data?methodName=viewCatalogResume" paramName="access" paramId="source">
87                    <span><bean:message key="data.access"/></span>
88                </html:link>
89                <div>
90                    <ul>
91                        <li><html:link page="/JeuxAccess.do"><span><bean:message key="data.access.jeux"/></span></html:link></li>
92                        <li><html:link page="/ParametresAccess.do"><span><bean:message key="data.access.param"/></span></html:link></li>
93                        <li><html:link page="/CapteursAccess.do"><span><bean:message key="data.access.capt"/></span></html:link></li>
94                        <li><html:link page="/PlateformesAccess.do"><span><bean:message key="data.access.plat"/></span></html:link></li>
95                    </ul>
96                </div>
97            </li>
98
99            <li>
100                <html:link page="/data?methodName=viewDataResume" paramName="access" paramId="source">
101                    <span><bean:message key="app.data"/></span>
102                </html:link>
103                <div id="menuData"></div>
104            </li>
105
106            <li class="last">
107                <html:link page="/visualization?methodName=view"><span><bean:message key="all.visualization"/></span></html:link>
108                <div>
109                    <ul>
110                        <li><html:link page="/visualization?methodName=viewParametersByPlateform"><span><bean:message key="data.visualization"/></span></html:link></li>
111                        <li><html:link page="/visualization?methodName=viewInWork"><span><bean:message key="simulation.visualization"/></span></html:link></li>
112                    </ul>
113                </div>
114            </li>
115
116        </ul>
117    </div>
118
119    <%-- ****************** TITLE CONTENT ****************** --%>
120    <div id="titleContent" class="containerTitleContent"><tiles:insert attribute="bodytitle"/>
121        <div id="titleContentBorder" class="containerTitleContentBorder"></div>
122    </div>
123
124    <%-- ****************** CONTENT ****************** --%>
125    <div id="containerCenter" class="containerMegapoli containerCenter">
126        <tiles:insert attribute="body"/>
127    </div>
128
129    <%-- ****************** BOTTOM ****************** --%>
130    <div id="containerBottom" class="containerMegapoli containerBottom" align="right">
131        &copy; 2010-2011 <html:link href="http://ether.ipsl.jussieu.fr" target="help">ETHER&nbsp;</html:link>/ CNRS
132        <%--<td align="center"><bean:message key="app.infonavig"/></td>--%>
133        <%--<td align="right"><i><bean:message key="app.lastModified"/> : <bean:write name="lastModified"/></i></td>--%>
134    </div>
135
136</div>
137
138<%-- ************************************************************************************************************** --%>
139<%-- **************************************************** SLIDES ************************************************** --%>
140<%-- ************************************************************************************************************** --%>
141<div id="creditSlide" class="containerSlide"></div>
142<div id="mentionSlide" class="containerSlide"></div>
143<div id="infoSlide" class="containerSlide"></div>
144
145<script type="text/javascript">
146    var templateTexts = $A( "" );
147    templateTexts["app.home"] = '<bean:message key="app.home"/>';
148    templateTexts["app.fulltitle"] = '<bean:message key="app.fulltitle"/>';
149    templateTexts["app.en"] = '<bean:message key="app.en"/>';
150    templateTexts["app.fr"] = '<bean:message key="app.fr"/>';
151    templateTexts["app.connexion"] = '<bean:message key="app.connexion"/>';
152    templateTexts["data.upload.metadata.contact.mail"] = '<bean:message key="data.upload.metadata.contact.mail"/>';
153    templateTexts["app.admin"] = '<bean:message key="app.admin"/>';
154    templateTexts["data.authentification.login"] = '<bean:message key="data.authentification.login"/>';
155    templateTexts["data.authentification.pwd"] = '<bean:message key="data.authentification.pwd"/>';
156    templateTexts["data.authentification.sign"] = '<bean:message key="data.authentification.sign"/>';
157    templateTexts["data.authentification.pwdForget"] = '<bean:message key="data.authentification.pwdForget"/>';
158    templateTexts["data.authentification.loginForget.help"] = '<bean:message key="data.authentification.loginForget.help"/>';
159    templateTexts["data.authentification.loginForget"] = '<bean:message key="data.authentification.loginForget"/>';
160    templateTexts["errors.logon.notFound"] = "<bean:message key='errors.logon.notFound' arg0="<%=Context.getWebmaster( request )%>"/>";
161    templateTexts["errors.logon.failed"] = "<bean:message key='errors.logon.failed' arg0="<%=Context.getWebmaster( request )%>"/>";
162    templateTexts["data.authentification"] = "<bean:message key="data.authentification"/>";
163    templateTexts["data.authentification.text"] = "<bean:message key="data.authentification.text"/>";
164    templateTexts["data.access.extract.short"] = '<bean:message key="data.access.extract.short"/>';
165    templateTexts["data.upload.short"] = '<bean:message key="data.upload.short"/>';
166
167    var interfaceTemplate = new InterfaceTemplate();
168</script>
169
170<div style="visibility:hidden"><a href="http://apycom.com/">Apycom jQuery Menus</a></div>
171
172</BODY>
173</HTML>
Note: See TracBrowser for help on using the repository browser.