- Timestamp:
- 11/24/11 17:32:33 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ether_megapoli/trunk/web/resources/templates/templateBackoffice.jsp
r247 r265 21 21 <ether:htmlCss cssFile="TwitterLogin/front"/> 22 22 <ether:htmlCss cssFile="ether"/> 23 <ether:htmlCss cssFile="megapoli"/> 23 24 <ether:htmlCss cssFile="backoffice"/> 24 25 … … 29 30 <ether:htmlJs jsFile="classesForJQuery/Button"/> 30 31 <ether:htmlJs jsFile="classesForJQuery/ComplexButton"/> 32 <ether:htmlJs jsFile="classesForJQuery/LoginButton"/> 31 33 <ether:htmlJs jsFile="apycom.com-4-steel-blue/menu"/> 32 34 <ether:htmlJs jsFile="TwitterLogin/javascripts/jquery.tipsy"/> … … 40 42 <BODY> 41 43 42 <bean:define type="java.lang.String" id="lastModified" value="<%=Context.getLastModified(request, application)%>"/>43 <bean:define type="java.lang.String" id="webmaster" value="<%=Context.getWebmaster(request)%>"/>44 45 <bean:define id="upload" value="upload"/>46 <bean:define id="access" value="access"/>47 48 44 <%-- ************************************************************************************************************** --%> 49 45 <%-- **************************************************** WRAPPER ************************************************* --%> … … 56 52 57 53 <div id="tools" align="right"> 58 <fieldset id="signin_menu"> 59 <html:form action="/LogonAccess"> 60 <label for="username"><bean:message key="data.authentification.login"/></label> 61 <input id="login" name="login" tabindex="4" type="text"> 62 63 <label for="password"><bean:message key="data.authentification.pwd"/></label> 64 <input id="pwd" name="pwd" tabindex="5" type="password"> 65 66 <p class="remember"> 67 <input id="signin_submit" value="Sign in" tabindex="6" type="submit"> 68 </p> 69 70 <p class="forgot"> 71 <a id="resend_password_link" href="mailto:${webmaster}?subject=[MEGAPOLI] password"><bean:message key="data.authentification.pwdForget"/></a> 72 </p> 73 74 <p class="forgot-username"> 75 <a id=forgot_username_link href="mailto:${webmaster}?subject=[MEGAPOLI] login" title='<bean:message key="data.authentification.loginForget.help"/>'><bean:message key="data.authentification.loginForget"/></a> 76 </p> 77 </html:form> 78 </fieldset> 54 <div id="loginModule" align="right"></div> 79 55 </div> 80 56 … … 92 68 93 69 <%-- ****************** MENU ****************** --%> 94 <div id="menu" class="containerMenu"> 95 <ul class="menu"> 96 <li> 97 <html:link page="/data?methodName=viewCatalogResume" paramName="access" paramId="source"> 98 <span><bean:message key="data.access"/></span> 99 </html:link> 100 <div> 101 <ul> 102 <li><html:link page="/JeuxAccess.do"><span><bean:message key="data.access.jeux"/></span></html:link></li> 103 <li><html:link page="/ParametresAccess.do"><span><bean:message key="data.access.param"/></span></html:link></li> 104 <li><html:link page="/CapteursAccess.do"><span><bean:message key="data.access.capt"/></span></html:link></li> 105 <li><html:link page="/PlateformesAccess.do"><span><bean:message key="data.access.plat"/></span></html:link></li> 106 </ul> 107 </div> 108 </li> 109 110 <li> 111 <html:link page="/data?methodName=viewDataResume"> 112 <span><bean:message key="app.data"/></span> 113 </html:link> 114 <div> 115 <ul> 116 <logic:notPresent name="SES_USER" scope="session"> 117 <li><html:link page="/InitLogonAccess.do" paramName="access" paramId="source"><span><bean:message key="data.access.extract.short"/></span></html:link></li> 118 <li><html:link page="/InitLogonAccess.do" paramName="upload" paramId="source"><span><bean:message key="data.upload.short"/></span></html:link></li> 119 </logic:notPresent> 120 <logic:present name="SES_USER" scope="session"> 121 <li><html:link page="/DataAccess.do"><span><bean:message key="data.access.extract.short"/></span></html:link></li> 122 <li><html:link page="/PrepareTree.do"><span><bean:message key="data.upload.short"/></span></html:link></li> 123 </logic:present> 124 </ul> 125 </div> 126 </li> 127 128 <li class="last"> 129 <html:link page="/visualization?methodName=view"><span><bean:message key="all.visualization"/></span></html:link> 130 <div> 131 <ul> 132 <li><html:link page="/visualization?methodName=viewParametersByPlateform"><span><bean:message key="data.visualization"/></span></html:link></li> 133 <li><html:link page="/visualization?methodName=viewInWork"><span><bean:message key="simulation.visualization"/></span></html:link></li> 134 </ul> 135 </div> 136 </li> 137 138 </ul> 139 </div> 70 <div id="menuBO" class="containerMenu"></div> 140 71 141 72 <%-- ****************** TITLE CONTENT ****************** --%> … … 152 83 <div id="containerBottom" class="containerMegapoli containerBottom" align="right"> 153 84 © 2010-2011 <html:link href="http://ether.ipsl.jussieu.fr" target="help">ETHER </html:link>/ CNRS 154 <%--<td align="center"><bean:message key="app.infonavig"/></td>--%>155 <%--<td align="right"><i><bean:message key="app.lastModified"/> : <bean:write name="lastModified"/></i></td>--%>156 85 </div> 157 86 … … 171 100 templateTexts["app.en"] = '<bean:message key="app.en"/>'; 172 101 templateTexts["app.fr"] = '<bean:message key="app.fr"/>'; 173 templateTexts["app.connexion"] = '<bean:message key="app.connexion"/>';174 102 templateTexts["data.upload.metadata.contact.mail"] = '<bean:message key="data.upload.metadata.contact.mail"/>'; 175 103 templateTexts["app.admin"] = '<bean:message key="app.admin"/>'; 104 105 // Needed texts if you use the library LoginButton.js 106 var loginTexts = $A( "" ); 107 loginTexts["app.connexion"] = '<bean:message key="app.connexion"/>'; 108 loginTexts["data.authentification.login"] = '<bean:message key="data.authentification.login"/>'; 109 loginTexts["data.authentification.pwd"] = '<bean:message key="data.authentification.pwd"/>'; 110 loginTexts["data.authentification.sign"] = '<bean:message key="data.authentification.sign"/>'; 111 loginTexts["data.authentification.pwdForget"] = '<bean:message key="data.authentification.pwdForget"/>'; 112 loginTexts["data.authentification.loginForget.help"] = '<bean:message key="data.authentification.loginForget.help"/>'; 113 loginTexts["data.authentification.loginForget"] = '<bean:message key="data.authentification.loginForget"/>'; 114 loginTexts["errors.logon.notFound"] = "<bean:message key='errors.logon.notFound' arg0="<%=Context.getWebmaster( request )%>"/>"; 115 loginTexts["errors.logon.failed"] = "<bean:message key='errors.logon.failed' arg0="<%=Context.getWebmaster( request )%>"/>"; 116 loginTexts["app.admin"] = '<bean:message key="app.admin"/>'; 176 117 177 118 var interfaceTemplate = new InterfaceTemplate();
Note: See TracChangeset
for help on using the changeset viewer.