Changeset 409 for tapas/web/resources/templates/templateBackoffice.jsp
- Timestamp:
- 03/14/12 14:52:29 (12 years ago)
- File:
-
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
tapas/web/resources/templates/templateBackoffice.jsp
r366 r409 1 <%@ page language="java" import="com.medias.Context" %>1 <%@ page contentType="text/html;charset=UTF-8" language="java" %> 2 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" %> 3 <%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %> 4 <%@ taglib prefix="tiles" uri="/WEB-INF/tlds/struts-tiles.tld" %> 7 5 <%@ taglib prefix="ether" tagdir="/WEB-INF/tags" %> 6 <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> 8 7 9 8 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> … … 15 14 16 15 <title><tiles:getAsString name="title"/></title> 17 <link rel="shortcut icon" href=" <html:rewrite page='/resources/images/megapoli/favicon.ico'/>">16 <link rel="shortcut icon" href=""> 18 17 19 <ether:htmlCss cssFile="apycom.com-4-steel-blue/menu"/>20 18 <ether:htmlCss cssFile="button"/> 21 19 <ether:htmlCss cssFile="complexButton"/> 22 20 <ether:htmlCss cssFile="TwitterLogin/front"/> 23 <ether:htmlCss cssFile=" ether"/>24 <ether:htmlCss cssFile=" megapoli"/>21 <ether:htmlCss cssFile="mainEther"/> 22 <ether:htmlCss cssFile="tapas"/> 25 23 <ether:htmlCss cssFile="backoffice"/> 26 24 … … 32 30 <ether:htmlJs jsFile="classesForJQuery/ComplexButton"/> 33 31 <ether:htmlJs jsFile="classesForJQuery/LoginButton"/> 34 <ether:htmlJs jsFile="apycom.com-4-steel-blue/menu"/>35 32 <ether:htmlJs jsFile="TwitterLogin/javascripts/jquery.tipsy"/> 36 33 … … 49 46 50 47 <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>48 <a href="http://ether.ipsl.jussieu.fr" target="help"><img src="resources/images/logo_Ether.jpg" width="80px" height="80px"/></a> 52 49 </div> 53 50 … … 59 56 60 57 <%-- ****************** TITLE & TOOLS ****************** --%> 61 <div id="title_tools" class="container Megapoli">58 <div id="title_tools" class="containerTapas"> 62 59 <div id="title"></div> 63 60 … … 70 67 <%-- ****************** LOGO ****************** --%> 71 68 <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> 69 <a href="#"><img src="resources/images/logo_tapas.jpg" height="110px" width="110px"></a> 75 70 </div> 76 71 … … 84 79 85 80 <%-- ****************** CONTENT ****************** --%> 86 <div id="containerCenter" class="container MegapolicontainerCenter">81 <div id="containerCenter" class="containerTapas containerCenter"> 87 82 <tiles:insert attribute="body"/> 88 83 </div> 89 84 90 85 <%-- ****************** BOTTOM ****************** --%> 91 <div id="containerBottom" class="container MegapolicontainerBottom" align="right">92 © 201 0-2011 <html:link href="http://ether.ipsl.jussieu.fr" target="help">ETHER </html:link>/ CNRS86 <div id="containerBottom" class="containerTapas containerBottom" align="right"> 87 © 2012 <a href="http://ether.ipsl.jussieu.fr" target="help">ETHER </a>/ CNRS 93 88 </div> 94 89 … … 97 92 <script type="text/javascript"> 98 93 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"/>'; 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"/>'; 106 98 107 99 // Needed texts if you use the library LoginButton.js 108 100 var loginTexts = $A( "" ); 109 loginTexts["app.connexion"] = '<bean:message key="app.connexion"/>'; 110 loginTexts["login"] = '<bean:message key="login"/>'; 111 loginTexts["login.password"] = '<bean:message key="login.password"/>'; 112 loginTexts["login.sign"] = '<bean:message key="login.sign"/>'; 113 loginTexts["login.pwdForget"] = '<bean:message key="login.pwdForget"/>'; 114 loginTexts["login.loginForget.help"] = '<bean:message key="login.loginForget.help"/>'; 115 loginTexts["login.loginForget"] = '<bean:message key="login.loginForget"/>'; 116 loginTexts["login.error.notFound"] = "<bean:message key='login.error.notFound' arg0="<%=Context.getWebmaster( request )%>"/>"; 117 loginTexts["login.error.wrongPassword"] = "<bean:message key='login.error.wrongPassword'/>"; 118 loginTexts["login.error.failed"] = "<bean:message key='login.error.failed' arg0="<%=Context.getWebmaster( request )%>"/>"; 119 loginTexts["login.error.notAccepted"] = "<bean:message key='login.error.notAccepted'/>"; 120 loginTexts["<%=UserRole.ADMINISTRATOR%>"] = '<bean:message key="app.administrator"/>'; 121 loginTexts["<%=UserRole.TECHNICIEN%>"] = '<bean:message key="app.technician"/>'; 122 loginTexts["<%=UserRole.COORDINATOR%>"] = '<bean:message key="app.coordinator"/>'; 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"/>'; 123 113 124 114 var interfaceTemplate = new InterfaceTemplate();
Note: See TracChangeset
for help on using the changeset viewer.