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