1 | <%@ page import="com.ether.user.UserRole" %> |
---|
2 | <%@ page import="com.ether.WebException" %> |
---|
3 | <%@ page contentType="text/html;charset=UTF-8" language="java" %> |
---|
4 | <%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %> |
---|
5 | <%@ taglib prefix="tiles" uri="/WEB-INF/tlds/struts-tiles.tld" %> |
---|
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" type="image/x-icon" href="resources/images/logo_tapas.gif"/> |
---|
17 | |
---|
18 | <ether:htmlCss cssFile="apycom.com-4-blue-violet/menu"/> |
---|
19 | <ether:htmlCss cssFile="jquery-ui-1.8.16.custom/jquery-ui-1.8.16.custom"/> |
---|
20 | <ether:htmlCss cssFile="button"/> |
---|
21 | <ether:htmlCss cssFile="complexButton"/> |
---|
22 | <ether:htmlCss cssFile="TwitterLogin/front"/> |
---|
23 | <ether:htmlCss cssFile="jquery-ui-1.8.16.custom/jquery-ui-1.8.16.custom"/> |
---|
24 | <ether:htmlCss cssFile="mainEther"/> |
---|
25 | <ether:htmlCss cssFile="tapas"/> |
---|
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="TwitterLogin/javascripts/jquery.tipsy"/> |
---|
35 | <ether:htmlJs jsFile="library/jquery-ui-1.8.16.custom/js/jquery-ui-1.8.16.custom.min"/> |
---|
36 | <ether:htmlJs jsFile="apycom.com-8-orange-red/menu"/> |
---|
37 | <jsp:include page="templateEther_script.jsp"/> |
---|
38 | |
---|
39 | <tiles:insert attribute="insertCss"/> |
---|
40 | <tiles:insert attribute="insertJsOrJsp"/> |
---|
41 | |
---|
42 | |
---|
43 | </HEAD> |
---|
44 | |
---|
45 | |
---|
46 | |
---|
47 | <BODY> |
---|
48 | |
---|
49 | <%-- ************************************************************************************************************** --%> |
---|
50 | <%-- **************************************************** WRAPPER ************************************************* --%> |
---|
51 | <%-- ************************************************************************************************************** --%> |
---|
52 | <div class="pageWrapper"> |
---|
53 | |
---|
54 | <%-- ****************** TITLE & TOOLS ****************** --%> |
---|
55 | <div id="title_tools" class="containerTapas"> |
---|
56 | <div id="title" class="containerTitle"> <spring:message code="app.fulltitle"/></div> |
---|
57 | <div id="title" class="containerTitle2"><a href="http://www.pole-ether.fr" target="_blank"><img src="resources/images/logo_ether.jpg" height="40px" width="40px"></a></div> |
---|
58 | |
---|
59 | <div id="tools" align="right"> |
---|
60 | <div id="loginModule" align="right"></div> |
---|
61 | </div> |
---|
62 | |
---|
63 | </div> |
---|
64 | |
---|
65 | <%-- ****************** LOGO ****************** --%> |
---|
66 | <div id="logo" class="containerLogo"> |
---|
67 | <a href="#"><img src="resources/images/logo_tapas.gif" height="82px" width="86px"></a> |
---|
68 | </div> |
---|
69 | |
---|
70 | <%-- ****************** NAV ****************** --%> |
---|
71 | <!--<div id="nav" class="containerNav"><tiles:insert attribute="nav"/></div>--> |
---|
72 | |
---|
73 | <%-- ****************** MENU ****************** --%> |
---|
74 | <div id="menu" class="containerMenu"> |
---|
75 | |
---|
76 | <ul class="menu"> |
---|
77 | <!--<li><a href="http://ether.ipsl.jussieu.fr" class="parent" target="_blank"><img width=25 height="25" src="resources/images/logo_ether.jpg"></a></li>--> |
---|
78 | |
---|
79 | <li><a href="#" onClick="openHome();" class="parent"><span><spring:message code="title.home"/></span></a></li> |
---|
80 | |
---|
81 | <li id="liamenu"><a href="data?methodName=viewForm" id="amenu" class="parent"><span><spring:message code="title.form"/></span></a></li> |
---|
82 | |
---|
83 | <li><a href="#" onclick="openLegals();"><span><spring:message code="title.legals"/></span></a></li> |
---|
84 | |
---|
85 | </ul> |
---|
86 | </div> |
---|
87 | |
---|
88 | <%-- ****************** TITLE CONTENT ****************** --%> |
---|
89 | |
---|
90 | <div id="titleContent" class="containerTitleContent"><tiles:insert attribute="bodytitle"/> |
---|
91 | |
---|
92 | </div> |
---|
93 | |
---|
94 | <%-- ****************** CONTENT ****************** --%> |
---|
95 | <div id="containerCenter" class="containerTapas containerCenter"> |
---|
96 | <tiles:insert attribute="body"/> |
---|
97 | </div> |
---|
98 | |
---|
99 | <%-- ****************** BOTTOM ****************** --%> |
---|
100 | <div id="containerBottom" class="containerTapas containerBottom" align="right"> |
---|
101 | © 2012-2014 <a href="http://ether.ipsl.jussieu.fr" target="help">ETHER </a>/ CNRS |
---|
102 | </div> |
---|
103 | </div> |
---|
104 | |
---|
105 | <div style="visibility:hidden"><a href="http://apycom.com/">Apycom jQuery Menus</a></div> |
---|
106 | |
---|
107 | |
---|
108 | <script type="text/javascript"> |
---|
109 | var templateTexts = $A( "" ); |
---|
110 | templateTexts["<%=WebException.WebCode.USER_ALREADY_EXISTS%>"] = "<spring:message code="USER_ALREADY_EXISTS"/>"; |
---|
111 | |
---|
112 | // Needed texts if you use the library LoginButton.js |
---|
113 | var loginTexts = $A( "" ); |
---|
114 | loginTexts["app.connexion"] = '<spring:message code="app.connexion"/>'; |
---|
115 | loginTexts["login"] = '<spring:message code="login"/>'; |
---|
116 | loginTexts["login.password"] = '<spring:message code="login.password"/>'; |
---|
117 | loginTexts["login.sign"] = '<spring:message code="login.sign"/>'; |
---|
118 | loginTexts["login.pwdForget"] = '<spring:message code="login.pwdForget"/>'; |
---|
119 | loginTexts["login.loginForget"] = '<spring:message code="login.loginForget"/>'; |
---|
120 | loginTexts["login.loginForget.help"] = '<spring:message code="login.loginForget.help"/>'; |
---|
121 | loginTexts["login.inscription"] = '<spring:message code="login.inscription"/>'; |
---|
122 | loginTexts["login.error.notFound"] = "<spring:message code='login.error.notFound'/>"; |
---|
123 | loginTexts["login.error.wrongPassword"] = "<spring:message code='login.error.wrongPassword'/>"; |
---|
124 | loginTexts["login.error.failed"] = "<spring:message code='login.error.failed'/>"; |
---|
125 | loginTexts["login.error.notAccepted"] = "<spring:message code='login.error.notAccepted'/>"; |
---|
126 | loginTexts["login.text"] = "<spring:message code='login.text'/>"; |
---|
127 | |
---|
128 | loginTexts["<%=UserRole.ADMINISTRATOR%>"] = '<spring:message code="label.role.administrator"/>'; |
---|
129 | loginTexts["<%=UserRole.USER%>"] = '<spring:message code="label.role.user"/>'; |
---|
130 | |
---|
131 | var interfaceTemplate = new InterfaceTemplate(); |
---|
132 | |
---|
133 | function openLegals() { |
---|
134 | location.href="project?methodName=mentionsl_"+interfaceTemplate.language; |
---|
135 | } |
---|
136 | |
---|
137 | function openHome() { |
---|
138 | location.href="project?methodName=home_"+interfaceTemplate.language; |
---|
139 | } |
---|
140 | |
---|
141 | </script> |
---|
142 | |
---|
143 | </BODY> |
---|
144 | </HTML> |
---|