source: ether_megapoli/trunk/web/data/logonAccess.jsp @ 161

Last change on this file since 161 was 161, checked in by vmipsl, 13 years ago

Import medias files and cleanup

File size: 2.7 KB
Line 
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<%--<html>
12<head>
13        <logic:present name="SES_USER">
14                <title><bean:message key="data.access.download"/></title>
15        </logic:present>
16
17        <logic:notPresent name="SES_USER">
18                <title><bean:message key="data.access.authentification"/></title>
19        </logic:notPresent>
20
21        <meta http-equiv="content-type" content="text/html; charset=UTF-8">
22        <link rel="stylesheet" type="text/css" href="<html:rewrite page='/styles/medias_new.css'/>">
23        <link rel="stylesheet" type="text/css" href="<html:rewrite page='/styles/megapoli.css'/>">
24</head>
25
26
27<body>
28--%>
29
30        <bean:define type="java.lang.String" id="relativePath" value="<%=Context.getRelativePath(request)%>"/>
31
32        <tiles:put name="nav" value='<%=relativePath+"/nav.jsp"%>'/>
33
34        <tiles:put name="title" type="string">
35                <bean:message key="app.title"/> - <bean:message key="data.authentification"/>
36        </tiles:put>
37
38        <tiles:put name="bodytitle" type="string">
39        <%--logic:present name="SES_USER">
40                <bean:message key="data.download"/>
41        </logic:present>
42        <logic:notPresent name="SES_USER"--%>
43                <bean:message key="data.authentification"/>
44        <%--/logic:notPresent--%>
45        </tiles:put>
46
47        <tiles:put name="body" type="string">
48                <bean:message key="data.authentification.intro"/>
49                <div id="errors"><html:errors/></div>
50                <hr/>
51               
52<%--            <logic:present name="SES_USER"> 
53                        <html:link href="/megapoli/SendFileToClient.do" onclick="javascript:setTimeout('window.close ()', 5000);"><bean:message key="data.access.downloading"/></html:link>
54                </logic:present> --%>
55               
56<%--            <logic:notPresent name="SES_USER"> --%>
57                        <div id="login">
58                                <html:form action="/LogonAccess">
59                                        <table>
60                                                <tr>
61                                                        <td><bean:message key="data.authentification.login"/> : </td>
62                                                        <td><html:text property="login"/></td>
63                                                </tr>
64                                                <tr>
65                                                        <td><bean:message key="data.authentification.pwd"/> : </td>
66                                                        <td><html:password property="pwd"/></td>
67                                                </tr>
68                                                <tr>
69                                                        <td>&nbsp;</td>
70                                                        <td align="right">
71                                                                <html:submit><bean:message key="app.submit"/></html:submit>
72                                                                <html:cancel><bean:message key="app.cancel"/></html:cancel>
73                                                        </td>                                           
74                                                </tr>
75                                        </table>
76                                </html:form>
77                        </div>
78<%--            </logic:notPresent> --%>
79
80<%-- </body> --%>
81        </tiles:put>
82</tiles:insert>
Note: See TracBrowser for help on using the repository browser.