source: ether_statistics/web/resources/templates/templateBackoffice.jsp @ 569

Last change on this file since 569 was 569, checked in by vmipsl, 12 years ago

Nouveau projet

File size: 6.4 KB
Line 
1<%@ page language="java" import="com.medias.Context" %>
2<%@ page import="com.ether.user.UserRole" %>
3<%@ taglib uri="/WEB-INF/tlds/struts-tiles.tld" prefix="tiles" %>
4<%@ taglib uri="/WEB-INF/tlds/struts-html.tld" prefix="html" %>
5<%@ taglib uri="/WEB-INF/tlds/struts-bean.tld" prefix="bean" %>
6<%@ taglib uri="/WEB-INF/tlds/struts-logic.tld" prefix="logic" %>
7<%@ taglib prefix="ether" tagdir="/WEB-INF/tags" %>
8
9<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
10
11<HTML>
12<HEAD>
13    <meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
14    <META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE">
15
16    <title><tiles:getAsString name="title"/></title>
17    <link rel="shortcut icon" href="<html:rewrite page='/resources/images/megapoli/favicon.ico'/>">
18
19    <ether:htmlCss cssFile="apycom.com-4-steel-blue/menu"/>
20    <ether:htmlCss cssFile="button"/>
21    <ether:htmlCss cssFile="complexButton"/>
22    <ether:htmlCss cssFile="TwitterLogin/front"/>
23    <ether:htmlCss cssFile="ether"/>
24    <ether:htmlCss cssFile="megapoli"/>
25    <ether:htmlCss cssFile="backoffice"/>
26
27    <ether:htmlJs jsFile="library/jquery-1.4.2.min"/>
28    <ether:htmlJs jsFile="library/jquery.class"/>
29    <ether:htmlJs jsFile="library/jquery.protify-0.3"/>
30    <ether:htmlJs jsFile="classesForJQuery/etherHelper"/>
31    <ether:htmlJs jsFile="classesForJQuery/Button"/>
32    <ether:htmlJs jsFile="classesForJQuery/ComplexButton"/>
33    <ether:htmlJs jsFile="classesForJQuery/LoginButton"/>
34    <ether:htmlJs jsFile="apycom.com-4-steel-blue/menu"/>
35    <ether:htmlJs jsFile="TwitterLogin/javascripts/jquery.tipsy"/>
36
37    <ether:htmlJsp jspFile="templateBackoffice_script"/>
38
39    <tiles:insert attribute="insertCss"/>
40    <tiles:insert attribute="insertJsOrJsp"/>
41</HEAD>
42
43<BODY>
44
45<%-- ************************************************************************************************************** --%>
46<%-- *************************************************** LOGO ETHER *********************************************** --%>
47<%-- ************************************************************************************************************** --%>
48<div id="linkLogoEther" class="containerLinkLogoEther"></div>
49
50<div id="logoEther" class="containerLogoEther">
51    <html:link href="http://ether.ipsl.jussieu.fr" target="help"><img src="resources/images/logo_Ether.jpg" width="80px" height="80px"/></html:link>
52</div>
53
54
55<%-- ************************************************************************************************************** --%>
56<%-- **************************************************** WRAPPER ************************************************* --%>
57<%-- ************************************************************************************************************** --%>
58<div class="pageWrapper">
59
60    <%-- ****************** TITLE & TOOLS ****************** --%>
61    <div id="title_tools" class="containerMegapoli">
62        <div id="title"></div>
63
64        <div id="tools" align="right">
65            <div id="loginModule" align="right"></div>
66        </div>
67
68    </div>
69
70    <%-- ****************** LOGO ****************** --%>
71    <div id="logo" class="containerLogo">
72        <html:link href="http://megapoli.dmi.dk/" target="help" titleKey="app.linkmegapoli">
73            <html:img page="/resources/images/logo_Megapoli_white.png" height="110px" width="110px" altKey="app.home"/>
74        </html:link>
75    </div>
76
77    <%-- ****************** MENU ****************** --%>
78    <div id="menuBO" class="containerMenu"></div>
79
80    <%-- ****************** TITLE CONTENT ****************** --%>
81    <div id="titleContent" class="containerTitleContent"><tiles:insert attribute="bodytitle"/>
82        <div id="titleContentBorder" class="containerTitleContentBorder"></div>
83    </div>
84
85    <%-- ****************** CONTENT ****************** --%>
86    <div id="containerCenter" class="containerMegapoli containerCenter">
87        <tiles:insert attribute="body"/>
88    </div>
89
90    <%-- ****************** BOTTOM ****************** --%>
91    <div id="containerBottom" class="containerMegapoli containerBottom" align="right">
92        &copy; 2010-2011 <html:link href="http://ether.ipsl.jussieu.fr" target="help">ETHER&nbsp;</html:link>/ CNRS
93    </div>
94
95</div>
96
97<script type="text/javascript">
98    var templateTexts = $A( "" );
99    templateTexts["app.home"] = '<bean:message key="app.home"/>';
100    templateTexts["bo.fulltitle"] = '<bean:message key="bo.fulltitle"/>';
101    templateTexts["app.en"] = '<bean:message key="app.en"/>';
102    templateTexts["app.fr"] = '<bean:message key="app.fr"/>';
103    templateTexts["data.upload.metadata.contact.mail"] = '<bean:message key="data.upload.metadata.contact.mail"/>';
104    templateTexts["bo.user"] = '<bean:message key="bo.user"/>';
105    templateTexts["bo.site"] = '<bean:message key="bo.site"/>';
106    templateTexts["bo.mco"] = '<bean:message key="bo.mco"/>';
107    templateTexts["bo.data.insertion"] = '<bean:message key="bo.data.insertion"/>';
108    templateTexts["bo.simulation"] = '<bean:message key="bo.simulation"/>';
109
110    // Needed texts if you use the library LoginButton.js
111    var loginTexts = $A( "" );
112    loginTexts["app.connexion"] = '<bean:message key="app.connexion"/>';
113    loginTexts["login"] = '<bean:message key="login"/>';
114    loginTexts["login.password"] = '<bean:message key="login.password"/>';
115    loginTexts["login.sign"] = '<bean:message key="login.sign"/>';
116    loginTexts["login.pwdForget"] = '<bean:message key="login.pwdForget"/>';
117    loginTexts["login.loginForget.help"] = '<bean:message key="login.loginForget.help"/>';
118    loginTexts["login.loginForget"] = '<bean:message key="login.loginForget"/>';
119    loginTexts["login.error.notFound"] = "<bean:message key='login.error.notFound' arg0="<%=Context.getWebmaster( request )%>"/>";
120    loginTexts["login.error.wrongPassword"] = "<bean:message key='login.error.wrongPassword'/>";
121    loginTexts["login.error.failed"] = "<bean:message key='login.error.failed' arg0="<%=Context.getWebmaster( request )%>"/>";
122    loginTexts["login.error.notAccepted"] = "<bean:message key='login.error.notAccepted'/>";
123    loginTexts["<%=UserRole.ADMINISTRATOR%>"] = '<bean:message key="app.administrator"/>';
124    loginTexts["<%=UserRole.TECHNICIEN%>"] = '<bean:message key="app.technician"/>';
125    loginTexts["<%=UserRole.COORDINATOR%>"] = '<bean:message key="app.coordinator"/>';
126
127    var interfaceTemplate = new InterfaceTemplate();
128</script>
129
130<div style="visibility:hidden"><a href="http://apycom.com/">Apycom jQuery Menus</a></div>
131
132</BODY>
133</HTML>
Note: See TracBrowser for help on using the repository browser.