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_Ether.jpg"/> |
---|
17 | |
---|
18 | <ether:htmlCss cssFile="apycom.com-5-red/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-5-red/menu"/> |
---|
37 | |
---|
38 | <jsp:include page="templateEther_script.jsp"/> |
---|
39 | |
---|
40 | <tiles:insert attribute="insertCss"/> |
---|
41 | <tiles:insert attribute="insertJsOrJsp"/> |
---|
42 | </HEAD> |
---|
43 | |
---|
44 | <BODY> |
---|
45 | |
---|
46 | <%-- ************************************************************************************************************** --%> |
---|
47 | <%-- **************************************************** WRAPPER ************************************************* --%> |
---|
48 | <%-- ************************************************************************************************************** --%> |
---|
49 | <div class="pageWrapper"> |
---|
50 | |
---|
51 | <%-- ****************** TITLE & TOOLS ****************** --%> |
---|
52 | <div id="title_tools" class="containerTapas"> |
---|
53 | <div id="title" class="containerTitle"><spring:message code="app.fulltitle"/></div> |
---|
54 | |
---|
55 | <div id="tools" align="right"> |
---|
56 | <div id="loginModule" align="right"></div> |
---|
57 | </div> |
---|
58 | |
---|
59 | </div> |
---|
60 | |
---|
61 | <%-- ****************** LOGO ****************** --%> |
---|
62 | <div id="logo" class="containerLogo"> |
---|
63 | <a href="#"><img src="resources/images/logo_tapas.jpg" height="110px" width="110px"></a> |
---|
64 | </div> |
---|
65 | |
---|
66 | <%-- ****************** NAV ****************** --%> |
---|
67 | <div id="nav" class="containerNav"><tiles:insert attribute="nav"/></div> |
---|
68 | |
---|
69 | <%-- ****************** MENU ****************** --%> |
---|
70 | <div id="menu" class="containerMenu"> |
---|
71 | <ul class="menu"> |
---|
72 | <li><a href="data?methodName=viewForm" class="parent"><span>Formulaire</span></a> |
---|
73 | |
---|
74 | <div> |
---|
75 | <ul> |
---|
76 | <li><a href="#" class="parent"><span>Sub Item 1</span></a> |
---|
77 | |
---|
78 | <div> |
---|
79 | <ul> |
---|
80 | <li><a href="#"><span>Sub Item 1.1</span></a></li> |
---|
81 | <li><a href="#"><span>Sub Item 1.2</span></a></li> |
---|
82 | <li><a href="#"><span>Sub Item 1.3</span></a></li> |
---|
83 | </ul> |
---|
84 | </div> |
---|
85 | </li> |
---|
86 | <li><a href="#"><span>Sub Item 2</span></a></li> |
---|
87 | <li><a href="#"><span>Sub Item 3</span></a></li> |
---|
88 | </ul> |
---|
89 | </div> |
---|
90 | </li> |
---|
91 | <li><a href="#" class="parent"><span>Product Info</span></a> |
---|
92 | |
---|
93 | <div> |
---|
94 | <ul> |
---|
95 | <li><a href="#" class="parent"><span>Sub Item 1</span></a> |
---|
96 | |
---|
97 | <div> |
---|
98 | <ul> |
---|
99 | <li><a href="#"><span>Sub Item 1.1</span></a></li> |
---|
100 | <li><a href="#"><span>Sub Item 1.2</span></a></li> |
---|
101 | </ul> |
---|
102 | </div> |
---|
103 | </li> |
---|
104 | <li><a href="#"><span>Sub Item 3</span></a></li> |
---|
105 | <li><a href="#"><span>Sub Item 4</span></a></li> |
---|
106 | </ul> |
---|
107 | </div> |
---|
108 | </li> |
---|
109 | <li><a href="#"><span>Help</span></a></li> |
---|
110 | </ul> |
---|
111 | </div> |
---|
112 | |
---|
113 | <%-- ****************** TITLE CONTENT ****************** --%> |
---|
114 | <div id="titleContent" class="containerTitleContent"><tiles:insert attribute="bodytitle"/> |
---|
115 | <div id="titleContentBorder" class="containerTitleContentBorder"></div> |
---|
116 | </div> |
---|
117 | |
---|
118 | <%-- ****************** CONTENT ****************** --%> |
---|
119 | <div id="containerCenter" class="containerTapas containerCenter"> |
---|
120 | <tiles:insert attribute="body"/> |
---|
121 | </div> |
---|
122 | |
---|
123 | <%-- ****************** BOTTOM ****************** --%> |
---|
124 | <div id="containerBottom" class="containerTapas containerBottom" align="right"> |
---|
125 | © 2012 <a href="http://ether.ipsl.jussieu.fr" target="help">ETHER </a>/ CNRS |
---|
126 | </div> |
---|
127 | </div> |
---|
128 | |
---|
129 | <div style="visibility:hidden"><a href="http://apycom.com/">Apycom jQuery Menus</a></div> |
---|
130 | |
---|
131 | |
---|
132 | <script type="text/javascript"> |
---|
133 | var templateTexts = $A( "" ); |
---|
134 | templateTexts["<%=WebException.WebCode.USER_ALREADY_EXISTS%>"] = "<spring:message code="USER_ALREADY_EXISTS"/>"; |
---|
135 | |
---|
136 | // Needed texts if you use the library LoginButton.js |
---|
137 | var loginTexts = $A( "" ); |
---|
138 | loginTexts["app.connexion"] = '<spring:message code="app.connexion"/>'; |
---|
139 | loginTexts["login"] = '<spring:message code="login"/>'; |
---|
140 | loginTexts["login.password"] = '<spring:message code="login.password"/>'; |
---|
141 | loginTexts["login.sign"] = '<spring:message code="login.sign"/>'; |
---|
142 | loginTexts["login.pwdForget"] = '<spring:message code="login.pwdForget"/>'; |
---|
143 | loginTexts["login.loginForget"] = '<spring:message code="login.loginForget"/>'; |
---|
144 | loginTexts["login.loginForget.help"] = '<spring:message code="login.loginForget.help"/>'; |
---|
145 | loginTexts["login.inscription"] = '<spring:message code="login.inscription"/>'; |
---|
146 | loginTexts["login.error.notFound"] = "<spring:message code='login.error.notFound'/>"; |
---|
147 | loginTexts["login.error.wrongPassword"] = "<spring:message code='login.error.wrongPassword'/>"; |
---|
148 | loginTexts["login.error.failed"] = "<spring:message code='login.error.failed'/>"; |
---|
149 | loginTexts["login.error.notAccepted"] = "<spring:message code='login.error.notAccepted'/>"; |
---|
150 | loginTexts["login.text"] = "<spring:message code='login.text'/>"; |
---|
151 | |
---|
152 | loginTexts["<%=UserRole.ADMINISTRATOR%>"] = '<spring:message code="label.role.administrator"/>'; |
---|
153 | loginTexts["<%=UserRole.USER%>"] = '<spring:message code="label.role.user"/>'; |
---|
154 | |
---|
155 | var interfaceTemplate = new InterfaceTemplate(); |
---|
156 | </script> |
---|
157 | |
---|
158 | </BODY> |
---|
159 | </HTML> |
---|