<title>
<s:property value="%{getText(#request.title)}"/>
</title>
- <link href=<s:url value="/skin/default.css"/> rel="stylesheet" type="text/css">
+ <link href=<s:url value="/skin/default.css"/> rel="stylesheet" type="text/css"/>
+ <link href=<s:url value="/css/cupertino/jquery-ui-1.9.0.custom.css"/> rel="stylesheet"/>
+ <script src=<s:url value="/js/jquery-1.8.2.js"/>></script>
+ <script src=<s:url value="/js/jquery-ui-1.9.0.custom.js"/>></script>
</head>
<body>
<title>
<s:property value="%{getText(#request.title)}"/>
</title>
- <link href=<s:url value="/skin/default.css"/> rel="stylesheet" type="text/css">
+ <link href=<s:url value="/skin/default.css"/> rel="stylesheet" type="text/css"/>
+ <link href=<s:url value="/css/cupertino/jquery-ui-1.9.0.custom.css"/> rel="stylesheet"/>
+ <script src=<s:url value="/js/jquery-1.8.2.js"/>></script>
+ <script src=<s:url value="/js/jquery-ui-1.9.0.custom.js"/>></script>
</head>
<body>
<title>
<s:property value="%{getText(#request.title)}"/>
</title>
- <link href=<s:url value="/skin/default.css"/> rel="stylesheet" type="text/css">
+ <link href=<s:url value="/skin/default.css"/> rel="stylesheet" type="text/css"/>
+ <link href=<s:url value="/css/cupertino/jquery-ui-1.9.0.custom.css"/> rel="stylesheet"/>
+ <script src=<s:url value="/js/jquery-1.8.2.js"/>></script>
+ <script src=<s:url value="/js/jquery-ui-1.9.0.custom.js"/>></script>
</head>
<body>
<title>
<tiles:insertAttribute name="title" ignore="true" />
</title>
- <link href=<s:url value="/skin/default.css"/> rel="stylesheet" type="text/css">
+ <link href=<s:url value="/skin/default.css"/> rel="stylesheet" type="text/css"/>
+ <link href=<s:url value="/css/cupertino/jquery-ui-1.9.0.custom.css"/> rel="stylesheet"/>
+ <script src=<s:url value="/js/jquery-1.8.2.js"/>></script>
+ <script src=<s:url value="/js/jquery-ui-1.9.0.custom.js"/>></script>
</head>
-<body> <!-- onLoad="document.login.username.focus();" -->
+<body>
<!-- Menu-bar -->
<tiles:insertAttribute name="menu_bar" ignore="true" />
-<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
+<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
+ pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<% String menu = request.getParameter("backMenu"); // Last active menu
-%>
-<s:set var="menu"><%=menu%></s:set>
-
+<script>
+$(document).ready(function () {
+ $("#login #username").focus();
+});
+</script>
<div id=article-box>
- <div id=section>
- <s:text name="title.login" />
- </div>
- <table width=100% border="0" cellpadding="0" cellspacing="0">
- <tr height=10>
- <td></td>
- </tr>
- <tr>
- <td align=center><s:form action="login" namespace="/">
- <tr class="error">
- <td colspan=2><s:text name="%{errorCode}" /></td>
- </tr>
- <s:set var="valid">
- <s:text name="menu.login" />
- </s:set>
- <s:textfield name="username" key="field.username" required="true" />
- <s:password name="password" key="field.password" />
- <s:hidden name="backMenu" value="%{menu}" />
- <s:submit type="button" value="%{valid}" />
- </s:form></td>
- </tr>
- <tr height=10>
- <td></td>
- </tr>
- </table>
+<div id=section><s:text name="title.login" /></div>
+<table width=100% border="0" cellpadding="0" cellspacing="0">
+ <tr height=10>
+ <td></td>
+ </tr>
+ <tr>
+ <td align=center><s:form id="login" action="login" namespace="/">
+ <tr class="error">
+ <td colspan=2><s:text name="%{errorCode}" /></td>
+ </tr>
+ <s:set var="valid">
+ <s:text name="menu.login" />
+ </s:set>
+ <s:textfield id="username" name="username" key="field.username" required="true" />
+ <s:password name="password" key="field.password" />
+ <s:hidden name="backMenu" value="%{#parameters.backMenu}" />
+ <s:submit type="button" value="%{valid}" />
+ </s:form></td>
+ </tr>
+ <tr height=10>
+ <td></td>
+ </tr>
+</table>
</div>
\ No newline at end of file