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

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

login

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