mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-07 01:54:22 +00:00
[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:
@@ -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>
|
||||
|
@@ -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)
|
||||
|
||||
|
Reference in New Issue
Block a user