]> SALOME platform Git repositories - tools/siman.git/blob - Workspace/Siman/WebContent/login.jsp
Salome HOME
searchForm.jsp is not used.
[tools/siman.git] / Workspace / Siman / WebContent / login.jsp
1 <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
2 <%@ taglib prefix="s" uri="/struts-tags"%>
3 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
4
5 <%  String menu = request.getParameter("backMenu");      // Last active menu
6 %>
7 <s:set var="menu"><%=menu%></s:set>
8
9 <div id=article-box>
10         <div id=section>
11                 <s:text name="title.login" />
12         </div>
13         <table width=100% border="0" cellpadding="0" cellspacing="0">
14                 <tr height=10>
15                         <td></td>
16                 </tr>
17                 <tr>
18                         <td align=center><s:form action="login" namespace="/">
19                                         <tr class="error">
20                                                 <td colspan=2><s:text name="%{errorCode}" /></td>
21                                         </tr>
22                                         <s:set var="valid">
23                                                 <s:text name="menu.login" />
24                                         </s:set>
25                                         <s:textfield name="username" key="field.username" required="true" />
26                                         <s:password name="password" key="field.password" />
27                                         <s:hidden name="backMenu" value="%{menu}" />
28                                         <s:submit type="button" value="%{valid}" />
29                                 </s:form></td>
30                 </tr>
31                 <tr height=10>
32                         <td></td>
33                 </tr>
34         </table>
35 </div>