wisemapping-open-source/wise-webapp/src/main/webapp/jsp/login.jsp

67 lines
2.5 KiB
Plaintext
Raw Normal View History

2012-04-05 05:01:51 +02:00
<%--@elvariable id="isHsql" type="boolean"--%>
2012-04-05 05:01:51 +02:00
<%@ include file="/jsp/init.jsp" %>
<div id="loginContent">
2012-05-19 06:19:55 +02:00
<div class="loginNews">
<h1>What is New: </h1>
<ul>
<li>Links Between Nodes</li>
<li>FreeMind 0.9 Update</li>
<li>Improved HTML 5.0 Support</li>
2012-05-19 06:19:55 +02:00
<li>Firefox 12 officially supported</li>
</ul>
</div>
2012-05-19 06:19:55 +02:00
<div id="login" class="fform">
<h1>
<spring:message code="SIGN_IN"/>
</h1>
2012-05-19 06:19:55 +02:00
<c:if test="${not empty param.login_error}">
<c:choose>
<c:when test="${param.login_error == 3}">
<spring:message code="USER_INACTIVE"/>
</c:when>
<c:otherwise>
<spring:message code="LOGIN_ERROR"/>
</c:otherwise>
</c:choose>
</c:if>
<form action="<c:url value='/c/j_spring_security_check'/>" method="POST">
2012-05-19 06:19:55 +02:00
<fieldset>
<label for="email">
<spring:message code="EMAIL"/>
<input type='email' tabindex="1" id="email" name='j_username' required="required"/>
2012-05-19 06:19:55 +02:00
<label for="password"><spring:message code="PASSWORD"/></label>
<input type='password' tabindex="2" id="password" name='j_password' required="required"/>
<div class="form-inline">
<input type="submit" class="btn btn-primary" value="<spring:message code="SIGN_IN"/>" data-toggle="button">&nbsp;&nbsp;&nbsp;
<input type="checkbox" id="rememberme" name="_spring_security_remember_me"/>
<label for="rememberme"><spring:message code="REMEMBER_ME"/></label>
</div>
</fieldset>
</form>
2012-05-19 06:19:55 +02:00
<a href="<c:url value="/c/forgotPassword.htm"/>"><spring:message code="FORGOT_PASSWORD"/></a>
</div>
</div>
<div id="register">
<b><spring:message code="NOT_READY_A_USER"/></b>
<spring:message code="NOT_READY_A_USER_MESSAGE"/>
2012-04-15 13:00:51 +02:00
<a href="c/userRegistration.htm">
<spring:message code="JOIN_NOW"/>
</a>
</div>
<c:if test="${isHsql== 'true'}">
2012-04-05 05:01:51 +02:00
<div style="padding:10px;background-color: #E0EFFF; border-radius: 5px 5px 5px 5px;border-style:solid;border-color:gray">
<img src="../images/info.png" style="margin:0 4px" alt="info">
<spring:message code="NO_PRODUCTION_DATABASE_CONFIGURED"/>&nbsp;<a
2012-04-05 05:01:51 +02:00
href="http://www.wisemapping.org/documentation/configu">here</a>.
</div>
</c:if>