| <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> |
| <%@ page language="java" import="javax.servlet.jsp.PageContext" %> |
| <!DOCTYPE html> |
| <html> |
| <head> |
| <title>OPENCERT Login Page</title> |
| <style> |
| <%@ include file="css/opencerttheme-jsp.css"%> |
| </style> |
| |
| <script> |
| window.onload = function() { |
| var input = document.getElementById("j_username").focus(); |
| } |
| </script> |
| </head> |
| |
| <body class="mainBody"> |
| <div class="topPanel"> |
| <img src="VAADIN/themes/opencerttheme/images/opencertLogo.png"></img> |
| </div> |
| <div class="welcomeHeader"> |
| Welcome to OPENCERT Platform |
| </div> |
| |
| <div class="messagesPanel"> |
| <c:if test="${not empty param.err}"> |
| <div class="messageException"><c:out value="${SPRING_SECURITY_LAST_EXCEPTION.message}"/></div> |
| </c:if> |
| <c:if test="${not empty param.out}"> |
| <div class="messageOK">You have logged out successfully.</div> |
| </c:if> |
| <c:if test="${not empty param.time}"> |
| <div class="messageNotOK">You have been logged out due to inactivity.</div> |
| </c:if> |
| </div> |
| |
| <div class="formSection"> |
| <form id="form" action="j_spring_security_check" method="POST"> |
| <div class="fieldRow"> |
| <span class="fieldLabel">Username:</span> |
| <span><input type="text" name="j_username" id="j_username" value=""/></span> |
| </div> |
| <div class="fieldRow"> |
| <span class="fieldLabel">Password:</span> |
| <span><input type="password" name="j_password" value=""/></span> |
| </div> |
| <div class="rememberMeLabel"> |
| <input type='checkbox' name='_spring_security_remember_me'/> |
| Remember me on this computer. |
| </div> |
| <div> |
| <input class="loginButton" value="Login" name="submit" type="submit"/> |
| </div> |
| </form> |
| </div> |
| </body> |
| </html> |