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

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

loginModule

File size: 8.8 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/LoginButton"/>
32    <ether:htmlJs jsFile="classesForJQuery/Slide"/>
33    <ether:htmlJs jsFile="apycom.com-4-steel-blue/menu"/>
34    <ether:htmlJs jsFile="TwitterLogin/javascripts/jquery.tipsy"/>
35
36    <ether:htmlResourceJsp jspFile="megapoliHead"/>
37
38    <tiles:insert attribute="insertCss"/>
39    <tiles:insert attribute="insertJsOrJsp"/>
40</HEAD>
41
42<BODY>
43<a name="top"></a>
44
45<bean:define id="upload" value="upload"/>
46<bean:define id="access" value="access"/>
47
48<%-- ************************************************************************************************************** --%>
49<%-- *************************************************** LOGO ETHER *********************************************** --%>
50<%-- ************************************************************************************************************** --%>
51<div id="linkLogoEther" class="containerLinkLogoEther"></div>
52
53<div id="logoEther" class="containerLogoEther">
54    <html:link href="http://ether.ipsl.jussieu.fr" target="help"><img src="resources/images/logo_Ether.jpg" width="80px" height="80px"/></html:link>
55</div>
56
57<%-- ************************************************************************************************************** --%>
58<%-- **************************************************** WRAPPER ************************************************* --%>
59<%-- ************************************************************************************************************** --%>
60<div class="pageWrapper">
61
62    <%-- ****************** TITLE & TOOLS ****************** --%>
63    <div id="title_tools" class="containerMegapoli">
64        <div id="title"></div>
65
66        <div id="tools" align="right">
67            <div id="loginModule" align="right"></div>
68        </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    </div>
133
134</div>
135
136<%-- ************************************************************************************************************** --%>
137<%-- **************************************************** SLIDES ************************************************** --%>
138<%-- ************************************************************************************************************** --%>
139<div id="creditSlide" class="containerSlide"></div>
140<div id="mentionSlide" class="containerSlide"></div>
141<div id="infoSlide" class="containerSlide"></div>
142
143<script type="text/javascript">
144    var templateTexts = $A( "" );
145    templateTexts["app.home"] = '<bean:message key="app.home"/>';
146    templateTexts["app.fulltitle"] = '<bean:message key="app.fulltitle"/>';
147    templateTexts["app.en"] = '<bean:message key="app.en"/>';
148    templateTexts["app.fr"] = '<bean:message key="app.fr"/>';
149    templateTexts["data.upload.metadata.contact.mail"] = '<bean:message key="data.upload.metadata.contact.mail"/>';
150    templateTexts["data.access.extract.short"] = '<bean:message key="data.access.extract.short"/>';
151    templateTexts["data.upload.short"] = '<bean:message key="data.upload.short"/>';
152
153    templateTexts["app.credits"] = '<bean:message key="app.credits"/>';
154    templateTexts["app.mentions"] = '<bean:message key="app.mentions"/>';
155    templateTexts["app.infos"] = '<bean:message key="app.infos"/>';
156
157    // Needed texts if you use the library LoginButton.js
158    var loginTexts = $A( "" );
159    loginTexts["app.connexion"] = '<bean:message key="app.connexion"/>';
160    loginTexts["data.authentification.login"] = '<bean:message key="data.authentification.login"/>';
161    loginTexts["data.authentification.pwd"] = '<bean:message key="data.authentification.pwd"/>';
162    loginTexts["data.authentification.sign"] = '<bean:message key="data.authentification.sign"/>';
163    loginTexts["data.authentification.pwdForget"] = '<bean:message key="data.authentification.pwdForget"/>';
164    loginTexts["data.authentification.loginForget.help"] = '<bean:message key="data.authentification.loginForget.help"/>';
165    loginTexts["data.authentification.loginForget"] = '<bean:message key="data.authentification.loginForget"/>';
166    loginTexts["errors.logon.notFound"] = "<bean:message key='errors.logon.notFound' arg0="<%=Context.getWebmaster( request )%>"/>";
167    loginTexts["errors.logon.failed"] = "<bean:message key='errors.logon.failed' arg0="<%=Context.getWebmaster( request )%>"/>";
168    loginTexts["app.admin"] = '<bean:message key="app.admin"/>';
169    loginTexts["data.authentification.text"] = "<bean:message key="data.authentification.text"/>";
170
171    var interfaceTemplate = new InterfaceTemplate();
172</script>
173
174<div style="visibility:hidden"><a href="http://apycom.com/">Apycom jQuery Menus</a></div>
175
176</BODY>
177</HTML>
Note: See TracBrowser for help on using the repository browser.