[DS-561] On login screen, keyboard input focus should be set to the first field (E-mail Address) so you don't have to use the mouse (JSPUI)

git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5585 9c30dcfa-912a-0410-8fc2-9e0234be79fd
This commit is contained in:
Andrea Bollini
2010-10-24 11:57:39 +00:00
parent 3dff1180db
commit a44931df72
2 changed files with 10 additions and 4 deletions

View File

@@ -48,27 +48,30 @@
<table class="miscTable" align="center" width="70%">
<tr>
<td class="evenRowEvenCol">
<form method="post" action="<%= request.getContextPath() %>/password-login">
<form name="loginform" id="loginform" method="post" action="<%= request.getContextPath() %>/password-login">
<p><strong><a href="<%= request.getContextPath() %>/register"><fmt:message key="jsp.components.login-form.newuser"/></a></strong></p>
<p><fmt:message key="jsp.components.login-form.enter"/></p>
<table border="0" cellpadding="5" align="center">
<tr>
<td class="standard" align="right"><label for="tlogin_email"><strong><fmt:message key="jsp.components.login-form.email"/></strong></label></td>
<td><input type="text" name="login_email" id="tlogin_email" /></td>
<td><input type="text" name="login_email" id="tlogin_email" tabindex="1" /></td>
</tr>
<tr>
<td class="standard" align="right"><label for="tlogin_password"><strong><fmt:message key="jsp.components.login-form.password"/></strong></label></td>
<td><input type="password" name="login_password" id="tlogin_password" /></td>
<td><input type="password" name="login_password" id="tlogin_password" tabindex="2" /></td>
</tr>
<tr>
<td align="center" colspan="2">
<input type="submit" name="login_submit" value="<fmt:message key="jsp.components.login-form.login"/>" />
<input type="submit" name="login_submit" value="<fmt:message key="jsp.components.login-form.login"/>" tabindex="3" />
</td>
</tr>
</table>
</form>
<script type="text/javascript">
document.loginform.login_email.focus();
</script>
<p><a href="<%= request.getContextPath() %>/forgot"><fmt:message key="jsp.components.login-form.forgot"/></a></p></td>
</tr>
</table>

View File

@@ -1,5 +1,8 @@
1.7.0
=====
(Oleksandr Sytnyk)
- [DS-561] On login screen, keyboard input focus should be set to the first field (E-mail Address) so you don't have to use the mouse (JSPUI)
(Yin Yin Latt)
- [DS-588] Patch for SFX (OpenURL resolver)