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

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

refonte des pages medias _ upload
slides à gauche

File size: 8.7 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 id="upload" value="upload"/>
45<bean:define id="access" value="access"/>
46
47<%-- ************************************************************************************************************** --%>
48<%-- *************************************************** LOGO ETHER *********************************************** --%>
49<%-- ************************************************************************************************************** --%>
50<div id="linkLogoEther" class="containerLinkLogoEther"></div>
51
52<div id="logoEther" class="containerLogoEther">
53    <html:link href="http://ether.ipsl.jussieu.fr" target="help"><img src="resources/images/logo_Ether.jpg" width="80px" height="80px"/></html:link>
54</div>
55
56<%-- ************************************************************************************************************** --%>
57<%-- **************************************************** WRAPPER ************************************************* --%>
58<%-- ************************************************************************************************************** --%>
59<div class="pageWrapper">
60
61    <%-- ****************** TITLE & TOOLS ****************** --%>
62    <div id="title_tools" class="containerMegapoli">
63        <div id="title"></div>
64
65        <div id="tools" align="right"></div>
66
67    </div>
68
69    <%-- ****************** LOGO ****************** --%>
70    <div id="logo" class="containerLogo">
71        <html:link href="http://megapoli.dmi.dk/" target="help" titleKey="app.linkmegapoli">
72            <html:img page="/resources/images/logo_Megapoli_white.png" height="110px" width="110px" altKey="app.home"/>
73        </html:link>
74    </div>
75
76    <%-- ****************** NAV ****************** --%>
77    <div id="nav" class="containerNav"><tiles:insert attribute="nav"/></div>
78
79    <%-- ****************** MENU ****************** --%>
80    <div id="menu" class="containerMenu">
81        <ul class="menu">
82            <li>
83                <html:link page="/data?methodName=viewCatalogResume" paramName="access" paramId="source">
84                    <span><bean:message key="data.access"/></span>
85                </html:link>
86                <div>
87                    <ul>
88                        <li><html:link page="/JeuxAccess.do"><span><bean:message key="data.access.jeux"/></span></html:link></li>
89                        <li><html:link page="/ParametresAccess.do"><span><bean:message key="data.access.param"/></span></html:link></li>
90                        <li><html:link page="/CapteursAccess.do"><span><bean:message key="data.access.capt"/></span></html:link></li>
91                        <li><html:link page="/PlateformesAccess.do"><span><bean:message key="data.access.plat"/></span></html:link></li>
92                    </ul>
93                </div>
94            </li>
95
96            <li>
97                <html:link page="/data?methodName=viewDataResume" paramName="access" paramId="source">
98                    <span><bean:message key="app.data"/></span>
99                </html:link>
100                <div id="menuData"></div>
101            </li>
102
103            <li class="last">
104                <html:link page="/visualization?methodName=view"><span><bean:message key="all.visualization"/></span></html:link>
105                <div>
106                    <ul>
107                        <li><html:link page="/visualization?methodName=viewParametersByPlateform"><span><bean:message key="data.visualization"/></span></html:link></li>
108                        <li><html:link page="/visualization?methodName=viewInWork"><span><bean:message key="simulation.visualization"/></span></html:link></li>
109                    </ul>
110                </div>
111            </li>
112
113        </ul>
114    </div>
115
116    <%-- ****************** TITLE CONTENT ****************** --%>
117    <div id="titleContent" class="containerTitleContent"><tiles:insert attribute="bodytitle"/>
118        <div id="titleContentBorder" class="containerTitleContentBorder"></div>
119    </div>
120
121    <%-- ****************** CONTENT ****************** --%>
122    <div id="containerCenter" class="containerMegapoli containerCenter">
123        <tiles:insert attribute="body"/>
124    </div>
125
126    <%-- ****************** BOTTOM ****************** --%>
127    <div id="containerBottom" class="containerMegapoli containerBottom" align="right">
128        &copy; 2010-2011 <html:link href="http://ether.ipsl.jussieu.fr" target="help">ETHER&nbsp;</html:link>/ CNRS
129    </div>
130
131</div>
132
133<%-- ************************************************************************************************************** --%>
134<%-- **************************************************** SLIDES ************************************************** --%>
135<%-- ************************************************************************************************************** --%>
136<div id="creditSlide" class="containerSlide"></div>
137<div id="mentionSlide" class="containerSlide"></div>
138<div id="infoSlide" class="containerSlide"></div>
139
140<script type="text/javascript">
141    var templateTexts = $A( "" );
142    templateTexts["app.home"] = '<bean:message key="app.home"/>';
143    templateTexts["app.fulltitle"] = '<bean:message key="app.fulltitle"/>';
144    templateTexts["app.en"] = '<bean:message key="app.en"/>';
145    templateTexts["app.fr"] = '<bean:message key="app.fr"/>';
146    templateTexts["app.connexion"] = '<bean:message key="app.connexion"/>';
147    templateTexts["data.upload.metadata.contact.mail"] = '<bean:message key="data.upload.metadata.contact.mail"/>';
148    templateTexts["app.admin"] = '<bean:message key="app.admin"/>';
149    templateTexts["data.authentification.login"] = '<bean:message key="data.authentification.login"/>';
150    templateTexts["data.authentification.pwd"] = '<bean:message key="data.authentification.pwd"/>';
151    templateTexts["data.authentification.sign"] = '<bean:message key="data.authentification.sign"/>';
152    templateTexts["data.authentification.pwdForget"] = '<bean:message key="data.authentification.pwdForget"/>';
153    templateTexts["data.authentification.loginForget.help"] = '<bean:message key="data.authentification.loginForget.help"/>';
154    templateTexts["data.authentification.loginForget"] = '<bean:message key="data.authentification.loginForget"/>';
155    templateTexts["errors.logon.notFound"] = "<bean:message key='errors.logon.notFound' arg0="<%=Context.getWebmaster( request )%>"/>";
156    templateTexts["errors.logon.failed"] = "<bean:message key='errors.logon.failed' arg0="<%=Context.getWebmaster( request )%>"/>";
157    templateTexts["data.authentification"] = "<bean:message key="data.authentification"/>";
158    templateTexts["data.authentification.text"] = "<bean:message key="data.authentification.text"/>";
159    templateTexts["data.access.extract.short"] = '<bean:message key="data.access.extract.short"/>';
160    templateTexts["data.upload.short"] = '<bean:message key="data.upload.short"/>';
161
162    templateTexts["app.credits"] = '<bean:message key="app.credits"/>';
163    templateTexts["app.mentions"] = '<bean:message key="app.mentions"/>';
164    templateTexts["app.infos"] = '<bean:message key="app.infos"/>';
165
166    var interfaceTemplate = new InterfaceTemplate();
167</script>
168
169<div style="visibility:hidden"><a href="http://apycom.com/">Apycom jQuery Menus</a></div>
170
171</BODY>
172</HTML>
Note: See TracBrowser for help on using the repository browser.