mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-07 01:54:22 +00:00
Basic layout for password-login
This commit is contained in:
@@ -13,34 +13,28 @@
|
||||
|
||||
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt"
|
||||
prefix="fmt" %>
|
||||
|
||||
<table class="miscTable" align="center" width="70%">
|
||||
<tr>
|
||||
<td class="evenRowEvenCol">
|
||||
<form name="loginform" id="loginform" method="post" action="<%= request.getContextPath() %>/password-login">
|
||||
<div class="panel-body">
|
||||
<form name="loginform" class="form" 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" 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" 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"/>" tabindex="3" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<div class="row">
|
||||
<label class="col-md-2" for="tlogin_email"><fmt:message key="jsp.components.login-form.email"/></label>
|
||||
<input class="col-md-3" type="text" name="login_email" id="tlogin_email" tabindex="1" />
|
||||
</div>
|
||||
<div class="row">
|
||||
<label class="col-md-2" for="tlogin_password"><fmt:message key="jsp.components.login-form.password"/></label>
|
||||
<input class="col-md-3" type="password" name="login_password" id="tlogin_password" tabindex="2" />
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<input type="submit" class="btn btn-success pull-right" name="login_submit" value="<fmt:message key="jsp.components.login-form.login"/>" tabindex="3" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<p class="col-md-12"><a href="<%= request.getContextPath() %>/forgot"><fmt:message key="jsp.components.login-form.forgot"/></a></p></td>
|
||||
</div>
|
||||
</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>
|
||||
</div>
|
@@ -19,19 +19,11 @@
|
||||
|
||||
<%@ page import="javax.servlet.jsp.jstl.fmt.LocaleSupport" %>
|
||||
|
||||
<dspace:layout navbar="off" locbar="off" titlekey="jsp.login.password.title" nocache="true">
|
||||
|
||||
<table border="0" width="90%">
|
||||
<tr>
|
||||
<td align="left">
|
||||
<%-- <h1>Log In to DSpace</h1> --%>
|
||||
<h1><fmt:message key="jsp.login.password.heading"/></h1>
|
||||
</td>
|
||||
<td align="right" class="standard">
|
||||
<dspace:popup page="<%= LocaleSupport.getLocalizedMessage(pageContext, \"help.index\") + \"#login\"%>"><fmt:message key="jsp.help"/></dspace:popup>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<dspace:include page="/components/login-form.jsp" />
|
||||
<dspace:layout navbar="default" locbar="off" titlekey="jsp.login.password.title" nocache="true">
|
||||
<div class="panel panel-primary">
|
||||
<div class="panel-heading"><fmt:message key="jsp.login.password.heading"/>
|
||||
<span class="pull-right"><dspace:popup page="<%= LocaleSupport.getLocalizedMessage(pageContext, \"help.index\") + \"#login\"%>"><fmt:message key="jsp.help"/></dspace:popup></span>
|
||||
</div>
|
||||
<dspace:include page="/components/login-form.jsp" />
|
||||
</div>
|
||||
</dspace:layout>
|
||||
|
Reference in New Issue
Block a user