source: tapas/web/resources/templates/templateBackoffice.jsp @ 409

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

backoffice

File size: 5.4 KB
Line 
1<%@ page contentType="text/html;charset=UTF-8" language="java" %>
2<%@ page import="com.ether.user.UserRole" %>
3<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
4<%@ taglib prefix="tiles" uri="/WEB-INF/tlds/struts-tiles.tld" %>
5<%@ taglib prefix="ether" tagdir="/WEB-INF/tags" %>
6<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
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="">
17
18    <ether:htmlCss cssFile="button"/>
19    <ether:htmlCss cssFile="complexButton"/>
20    <ether:htmlCss cssFile="TwitterLogin/front"/>
21    <ether:htmlCss cssFile="mainEther"/>
22    <ether:htmlCss cssFile="tapas"/>
23    <ether:htmlCss cssFile="backoffice"/>
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="TwitterLogin/javascripts/jquery.tipsy"/>
33
34    <ether:htmlJsp jspFile="templateBackoffice_script"/>
35
36    <tiles:insert attribute="insertCss"/>
37    <tiles:insert attribute="insertJsOrJsp"/>
38</HEAD>
39
40<BODY>
41
42<%-- ************************************************************************************************************** --%>
43<%-- *************************************************** LOGO ETHER *********************************************** --%>
44<%-- ************************************************************************************************************** --%>
45<div id="linkLogoEther" class="containerLinkLogoEther"></div>
46
47<div id="logoEther" class="containerLogoEther">
48    <a href="http://ether.ipsl.jussieu.fr" target="help"><img src="resources/images/logo_Ether.jpg" width="80px" height="80px"/></a>
49</div>
50
51
52<%-- ************************************************************************************************************** --%>
53<%-- **************************************************** WRAPPER ************************************************* --%>
54<%-- ************************************************************************************************************** --%>
55<div class="pageWrapper">
56
57    <%-- ****************** TITLE & TOOLS ****************** --%>
58    <div id="title_tools" class="containerTapas">
59        <div id="title"></div>
60
61        <div id="tools" align="right">
62            <div id="loginModule" align="right"></div>
63        </div>
64
65    </div>
66
67    <%-- ****************** LOGO ****************** --%>
68    <div id="logo" class="containerLogo">
69        <a href="#"><img src="resources/images/logo_tapas.jpg" height="110px" width="110px"></a>
70    </div>
71
72    <%-- ****************** MENU ****************** --%>
73    <div id="menuBO" class="containerMenu"></div>
74
75    <%-- ****************** TITLE CONTENT ****************** --%>
76    <div id="titleContent" class="containerTitleContent"><tiles:insert attribute="bodytitle"/>
77        <div id="titleContentBorder" class="containerTitleContentBorder"></div>
78    </div>
79
80    <%-- ****************** CONTENT ****************** --%>
81    <div id="containerCenter" class="containerTapas containerCenter">
82        <tiles:insert attribute="body"/>
83    </div>
84
85    <%-- ****************** BOTTOM ****************** --%>
86    <div id="containerBottom" class="containerTapas containerBottom" align="right">
87        &copy; 2012 <a href="http://ether.ipsl.jussieu.fr" target="help">ETHER&nbsp;</a>/ CNRS
88    </div>
89
90</div>
91
92<script type="text/javascript">
93    var templateTexts = $A( "" );
94    templateTexts["app.home"] = '<spring:message code="label.home"/>';
95    templateTexts["bo.fulltitle"] = '<spring:message code="bo.fulltitle"/>';
96    templateTexts["bo.user"] = '<spring:message code="bo.user"/>';
97    templateTexts["bo.site"] = '<spring:message code="bo.site"/>';
98
99    // Needed texts if you use the library LoginButton.js
100    var loginTexts = $A( "" );
101    loginTexts["app.connexion"] = '<spring:message code="app.connexion"/>';
102    loginTexts["login"] = '<spring:message code="login"/>';
103    loginTexts["login.password"] = '<spring:message code="login.password"/>';
104    loginTexts["login.sign"] = '<spring:message code="login.sign"/>';
105    loginTexts["login.pwdForget"] = '<spring:message code="login.pwdForget"/>';
106    loginTexts["login.loginForget.help"] = '<spring:message code="login.loginForget.help"/>';
107    loginTexts["login.loginForget"] = '<spring:message code="login.loginForget"/>';
108    loginTexts["login.error.notFound"] = "<spring:message code='login.error.notFound'/>";
109    loginTexts["login.error.wrongPassword"] = "<spring:message code='login.error.wrongPassword'/>";
110    loginTexts["login.error.failed"] = "<spring:message code='login.error.failed'/>";
111    loginTexts["login.error.notAccepted"] = "<spring:message code='login.error.notAccepted'/>";
112    loginTexts["<%=UserRole.ADMINISTRATOR%>"] = '<spring:message code="app.administrator"/>';
113
114    var interfaceTemplate = new InterfaceTemplate();
115</script>
116
117<div style="visibility:hidden"><a href="http://apycom.com/">Apycom jQuery Menus</a></div>
118
119</BODY>
120</HTML>
Note: See TracBrowser for help on using the repository browser.