1 | <%@ page import="com.medias.Context" contentType="text/html; charset=UTF-8"%> |
---|
2 | <%@ page language="java" contentType="text/html; charset=UTF-8"%> |
---|
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"%> |
---|
7 | <%@ taglib uri="/WEB-INF/tlds/struts-nested.tld" prefix="nested"%> |
---|
8 | |
---|
9 | <tiles:insert page="/resources/templates/template.jsp" flush="true"> |
---|
10 | |
---|
11 | <bean:define type="java.lang.String" id="relativePath" value="<%=Context.getRelativePath(request)%>"/> |
---|
12 | |
---|
13 | <tiles:put name="nav" value='<%=relativePath+"/nav.jsp"%>'/> |
---|
14 | |
---|
15 | <tiles:put name="title" type="string"> |
---|
16 | <bean:message key="app.title"/> - <bean:message key="data.authentification"/> |
---|
17 | </tiles:put> |
---|
18 | |
---|
19 | <tiles:put name="bodytitle" type="string"> |
---|
20 | <bean:message key="data.authentification"/> |
---|
21 | </tiles:put> |
---|
22 | |
---|
23 | <tiles:put name="body" type="string"> |
---|
24 | <bean:message key="data.authentification.intro"/> |
---|
25 | <logic:present name="<%=org.apache.struts.Globals.ERROR_KEY%>"> |
---|
26 | <div id="errors"><html:errors/></div> |
---|
27 | </logic:present> |
---|
28 | |
---|
29 | <hr/> |
---|
30 | <div id="login"> |
---|
31 | <html:form action="/Logon"> |
---|
32 | <table> |
---|
33 | <tr> |
---|
34 | <td><bean:message key="data.authentification.login"/> : </td> |
---|
35 | <td><html:text property="login"/></td> |
---|
36 | <%-- <td> </td> --%> |
---|
37 | </tr> |
---|
38 | <tr> |
---|
39 | <td><bean:message key="data.authentification.pwd"/> : </td> |
---|
40 | <td><html:password property="pwd"/></td> |
---|
41 | <%-- <td> </td> --%> |
---|
42 | </tr> |
---|
43 | <tr> |
---|
44 | <%-- <td> </td> --%> |
---|
45 | <td> </td> |
---|
46 | <td align="right"> |
---|
47 | <html:submit><bean:message key="app.submit"/></html:submit> |
---|
48 | <html:cancel><bean:message key="app.cancel"/></html:cancel> |
---|
49 | </td> |
---|
50 | </tr> |
---|
51 | </table> |
---|
52 | </html:form> |
---|
53 | </div> |
---|
54 | </tiles:put> |
---|
55 | </tiles:insert> |
---|