55 lines
1.7 KiB
Plaintext
55 lines
1.7 KiB
Plaintext
<%@ page language="java" contentType="text/html; charset=UTF-8"
|
|
pageEncoding="UTF-8"%>
|
|
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
|
<html>
|
|
<head>
|
|
<%@ include file="/views/common.jsp" %>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
<title>Insert title here</title>
|
|
<script src="${ctx }/js/common/jquery-1.8.3.js" type="text/javascript"></script>
|
|
<script src="${ctx }/js/common/plugins/jui/jquery-ui-1.9.2.min.js" type="text/javascript"></script>
|
|
<script type="text/javascript">
|
|
$(function() {
|
|
$('button').button({
|
|
icons: {
|
|
primary: 'ui-icon-key'
|
|
}
|
|
});
|
|
});
|
|
</script>
|
|
</head>
|
|
<body>
|
|
|
|
<c:if test="${not empty param.error}">
|
|
<h2 id="error" class="alert alert-error">用户名或密码错误!!!</h2>
|
|
</c:if>
|
|
<c:if test="${not empty param.timeout}">
|
|
<h2 id="error" class="alert alert-error">未登录或超时!!!</h2>
|
|
</c:if>
|
|
|
|
<div style="text-align: center;">
|
|
<h2>工作流引擎Activiti演示项目</h2>
|
|
</div>
|
|
<hr />
|
|
<form action="${ctx }/user.do/login.do" method="get">
|
|
<table>
|
|
<tr>
|
|
<td width="200" style="text-align: right;">用户名:</td>
|
|
<td><input id="username" name="username" class="login-input" placeholder="用户名" /></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="text-align: right;">密码:</td>
|
|
<td><input id="password" name="password" type="password" class="login-input" /></td>
|
|
</tr>
|
|
<tr>
|
|
<td> </td>
|
|
<td>
|
|
<button type="submit">登录Demo</button>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</form>
|
|
<hr />
|
|
</body>
|
|
</html> |